{"uid":"cap_v1VA8Qf6DfyCMVr4_yd_h","slug":"math-and-statistics-descriptive-statistics-d182fe01","name":"Math and Statistics – Descriptive Statistics","description":"Descriptive statistics for a list of numbers: mean, median, mode, spread, quartiles, outliers, skewness and kurtosis.","url":"https://math-stats.x402tookit.com/stats-describe?utm_source=zero.xyz","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","required":["values"],"properties":{"values":{"type":"string","description":"Numbers separated by commas, spaces or semicolons (2 to 500)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"q1":{"type":["null","number"]},"q3":{"type":["null","number"]},"iqr":{"type":["null","number"]},"max":{"type":["null","number"]},"min":{"type":["null","number"]},"sum":{"type":["null","number"]},"asOf":{"type":["null","string"]},"mean":{"type":["null","number"]},"count":{"type":["null","number"]},"modes":{"type":["array","null"],"items":{"type":"number"}},"range":{"type":["null","number"]},"median":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"outliers":{"type":["array","null"],"items":{"type":"number"}},"sdSample":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"sdPopulation":{"type":["null","number"]},"outlierFences":{"type":["null","object"],"properties":{"low":{"type":["null","number"]},"high":{"type":["null","number"]}}},"skewnessSample":{"type":["null","number"]},"varianceSample":{"type":["null","number"]},"standardErrorMean":{"type":["null","number"]},"variancePopulation":{"type":["null","number"]},"excessKurtosisSample":{"type":["null","number"]},"coefficientOfVariationPct":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yVM1uk3afaJQn_cCigczW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes descriptive statistics for a list of numbers: mean, median, mode, spread, quartiles, outliers, skewness, and kurtosis.","exampleAgentPrompt":"Can you give me a full descriptive stats summary — mean, median, quartiles, outliers, skewness — for these numbers: 12, 15, 14, 10, 18, 22, 9, 14, 16, 100?","exampleUseCases":[{"title":"Detecting outliers in sensor readings","prompt":"I have a batch of temperature sensor readings: 21.1, 21.4, 20.9, 21.2, 21.0, 45.7, 20.8, 21.3. Can you compute the descriptive stats and tell me which values are outliers?"},{"title":"Summarizing student exam scores","prompt":"Here are the exam scores for my class: 55, 62, 70, 74, 78, 80, 83, 85, 88, 90, 91, 95, 98. Get me the mean, median, standard deviation, and quartiles so I can understand the distribution."},{"title":"Checking dataset skewness before modeling","prompt":"Before I fit a regression model I need to know if this variable is skewed — here are the values: 1.2, 1.5, 1.3, 1.8, 2.1, 3.4, 5.9, 12.3, 0.9, 1.1. Can you run descriptive stats including skewness and kurtosis?"}],"resultDescription":"Returns a JSON object with count, sum, min, max, range, mean, median, mode(s), Q1, Q3, IQR, sample/population variance, sample/population standard deviation, standard error of the mean, coefficient of variation (%), skewness (sample), excess kurtosis (sample), outlier fences (low/high), and a list of detected outliers, plus a human-readable summary string.","failureModes":["Fewer than 2 or more than 500 values provided — API rejects input","Non-numeric tokens in the values string — parse error returned","Single unique value provided — mode and some spread metrics may be null","Network timeout or payment failure (x402) — no result returned"],"whenToPreferThis":"Use this endpoint when you need a comprehensive one-shot descriptive statistics profile for a numeric list — especially when you want outlier detection, skewness, and kurtosis alongside basic central tendency and spread metrics. Prefer it over manual computation or general-purpose code execution when speed and a structured JSON response are needed. If you only need a t-test, correlation, or confidence interval, use the sibling endpoints on this platform instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:43.819Z","isFirstParty":false,"canonicalSlug":"math-and-statistics-descriptive-statistics-d182fe01"}