{"uid":"cap_tQxLDWc9TZOWHq-hfzrVC","slug":"numora-statistics-sampling-api-9dc6dd7c","name":"Numora Statistics Sampling API","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numormor.netlify.app/api/statistics/sampling","method":"POST","headers":{},"bodySchema":{"type":"object","required":["n","data"],"properties":{"n":{"type":"integer"},"data":{"type":"array"},"method":{"enum":["simple","systematic","bootstrap"],"type":"string"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"10.0000","medianCents":"10.0000","p90Cents":"10.0000","minCents":"10.0000","maxCents":"10.0000","p95Cents":"10.0000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d3JSUsYQaEA4ToCrz9Mo4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs statistical sampling computations on a dataset, selecting n samples using a specified sampling method","exampleAgentPrompt":"Use Numora's sampling endpoint to draw a random sample of 20 items from this dataset [12, 45, 7, 89, 34, 56, 23, 67, 90, 11, 44, 78, 3, 55, 28, 61, 99, 17, 42, 83, 5, 71, 36, 50, 14, 68, 29, 95, 8, 52] using simple random sampling.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a result object containing the selected sample elements, and a human-readable computation string describing what sampling operation was performed and its output.","failureModes":["Missing required field 'n' or 'data' returns validation error","n larger than dataset size may cause error or require with-replacement sampling","Invalid sampling method string may return error or fall back to default","Empty data array returns error","Payment failure via x402 returns 402 status before computation occurs"],"whenToPreferThis":"Choose this endpoint when you need pure mathematical statistical sampling with zero external dependencies and no data leaving your context except to a simple computation API. Ideal for AI agents that need deterministic, auditable sampling on arrays of numbers or values without relying on a full statistics library or language runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:02.292Z","isFirstParty":false}