{"uid":"cap_JdiLBkN2PC85JgB4lmftZ","slug":"openverbs-statistics-summary-2b9b77ba","name":"OpenVerbs Statistics Summary","description":"Full descriptive summary of a numeric sample: count, sum, min/max/range, mean, median, mode(s), variance, standard deviation and the quartiles (q1/q3/iqr). Set sample=true for the sample variance/stdev (÷ n-1) instead of the population form (÷ n).","url":"https://stats.openverbs.com/v1/summary","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"number"},"maxItems":100000,"minItems":1,"description":"The numeric sample."},"sample":{"type":"boolean","description":"Use sample variance/stdev (÷ n-1). Default false (population)."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9s86VdHKaU7U5iefA6akw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes descriptive statistics (mean, variance, standard deviation, etc.) for a numeric array using population or sample formulas","exampleAgentPrompt":"Calculate the mean, variance, and standard deviation for this dataset — [12.4, 15.1, 9.8, 22.0, 17.5, 11.3] — using sample statistics (divided by n-1).","exampleUseCases":[{"title":"Analyzing student test score spread","prompt":"I have a list of student exam scores: [55, 62, 70, 74, 81, 85, 88, 91, 95, 100]. Can you compute the sample mean and standard deviation for me so I can see how spread out the grades are?"},{"title":"Quality control variance check","prompt":"We measured the diameter of 20 widgets from the production line: [10.01, 9.98, 10.02, 10.00, 9.97, 10.03, 10.01, 9.99, 10.00, 10.02, 9.98, 10.01, 10.00, 9.99, 10.03, 10.01, 10.02, 9.97, 10.00, 10.01]. Run a population statistics summary on these numbers so we can check our process consistency."},{"title":"Financial return distribution summary","prompt":"Here are 12 monthly portfolio returns as percentages: [2.1, -0.8, 3.4, 1.2, -1.5, 4.0, 0.5, 2.7, -0.3, 1.8, 3.1, 0.9]. Give me the sample mean and standard deviation so I can evaluate the volatility."}],"resultDescription":"A statistical summary object containing computed metrics for the provided numeric array, including mean, count, variance, and standard deviation. Results reflect either population (÷n) or sample (÷n-1) formulas depending on the 'sample' flag.","failureModes":["Empty data array (minItems:1 violated) returns validation error","Array exceeds 100,000 items (maxItems:100000 violated) returns rejection","Non-numeric values in the array cause schema validation failure","Missing required 'data' property returns 400-level error","Insufficient USDC balance or x402 payment failure prevents execution"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use statistical summary of a numeric dataset without setting up your own computation infrastructure. Ideal for agents that need on-demand descriptive statistics for up to 100,000 numbers with explicit control over population vs. sample formulas. Prefer this over general-purpose code execution when you want a single deterministic API call rather than running custom scripts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:19.686Z","isFirstParty":false}