{"uid":"cap_sGGXlhx4gzEiSsPy2eosV","slug":"api-x402node-dev-4d73d8d3","name":"Descriptive Statistics Calculator","description":"Statistics calculator, mean median mode, standard deviation variance, quartiles, min max range, descriptive statistics, summary statistics, dataset analysis. Compute statistical measures: mean, median, mode, stddev, variance, min, max, range. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/math/stats","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"data":{"type":"string","description":"Data (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_exmZJYOG7pPmHtZt_Xi3T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes descriptive statistical measures (mean, median, mode, stddev, variance, quartiles, min, max, range) for a given dataset","exampleAgentPrompt":"Can you calculate the mean, median, mode, standard deviation, and quartiles for this dataset: [4, 7, 13, 2, 7, 9, 15, 7, 3, 11]?","exampleUseCases":[{"title":"Analyze sales performance metrics","prompt":"I need you to pull the quarterly revenue numbers and give me the mean, standard deviation, and quartiles so I can see how consistent our sales have been. Here are the numbers: [45000, 52000, 48000, 61000, 55000, 49000, 58000, 51000]."},{"title":"Assess student test score distribution","prompt":"Can you compute the full statistical summary for my class test scores including the median, mode, and range? This will help me understand if the grades are clustered or spread out. The scores are: [78, 85, 92, 78, 88, 91, 78, 82, 95, 87, 81]."},{"title":"Monitor website response time variability","prompt":"I need to understand the spread of our API response times to see if performance is stable. Can you calculate the mean, min, max, and standard deviation for these millisecond measurements: [120, 145, 128, 152, 135, 148, 131, 125, 160, 138, 142]?"}],"resultDescription":"Returns a JSON object containing computed statistical measures for the input dataset, including mean, median, mode, standard deviation, variance, min, max, range, and quartile values (Q1, Q2, Q3).","failureModes":["Empty or missing dataset returns a validation error","Non-numeric values in the array cause a parse/type error","Extremely large arrays may time out or exceed payload limits","Single-element arrays may return undefined values for variance/stddev"],"whenToPreferThis":"Use this endpoint when you need a comprehensive set of descriptive statistics computed in a single call, especially within an automated pipeline or agent workflow where paying per-call via x402 is acceptable. Prefer over custom code when you need quick, reliable statistical summaries without setting up a math library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:51:39.688Z","isFirstParty":false}