{"uid":"cap_43xBCLCG-t1919-n8TDIk","slug":"openverbs-statistics-percentile-calculator-7dc3d93a","name":"OpenVerbs Statistics Percentile Calculator","description":"Evaluate one or more percentiles (0–100) of a numeric sample using linear interpolation between order statistics (the R-7 / Excel PERCENTILE.INC method). 50 is the median, 25/75 the quartiles.","url":"https://stats.openverbs.com/v1/percentile","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","percentiles"],"properties":{"data":{"type":"array","items":{"type":"number"},"maxItems":100000,"minItems":1,"description":"The numeric sample."},"percentiles":{"type":"array","items":{"type":"number","maximum":100,"minimum":0},"maxItems":1000,"minItems":1,"description":"Percentiles to evaluate, each 0–100."}},"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_2I7gaTBtMpHxhsFzB9n4l","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 one or more percentile values from a numeric dataset","exampleAgentPrompt":"Calculate the 25th, 50th, 75th, and 95th percentiles for this dataset of response times: [120, 340, 89, 450, 210, 670, 95, 310, 505, 280].","exampleUseCases":[{"title":"API latency percentile analysis","prompt":"I have a list of API response times in milliseconds — [45, 120, 300, 89, 210, 670, 95, 310, 505, 280, 1200, 88, 400] — can you calculate the 50th, 90th, 95th, and 99th percentiles so I can understand my latency distribution?"},{"title":"Student grade distribution scoring","prompt":"Here are the exam scores for my class: [55, 72, 68, 90, 45, 83, 77, 61, 95, 88, 70, 52, 66, 79, 91]. What are the 25th, 50th, and 75th percentile scores so I can set grade cutoffs?"},{"title":"Sales outlier threshold detection","prompt":"I have daily sales numbers for the last quarter: [1200, 1450, 980, 2100, 1350, 1600, 870, 1900, 1750, 2300, 1100, 1400]. What's the 90th and 95th percentile value so I can flag unusually high sales days?"}],"resultDescription":"Returns the computed percentile values corresponding to each requested percentile in the input list, derived from the provided numeric sample data.","failureModes":["Empty data array — minimum 1 item required","Data array exceeds 100,000 items limit","Percentile value outside 0–100 range returns validation error","More than 1,000 percentile values requested in a single call","Non-numeric values in data array cause schema validation failure","Malformed JSON body returns 400 error","Payment not provided or insufficient USDC causes 402 response"],"whenToPreferThis":"Choose this endpoint when you need fast, accurate percentile computation on a numeric array without setting up a local statistics library or data pipeline. Ideal for agents that periodically analyze batches of metrics, grades, latencies, or financial figures and need percentile thresholds on demand. Supports up to 100,000 data points and up to 1,000 simultaneous percentile queries in a single call, making it efficient for comprehensive distribution analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:21.387Z","isFirstParty":false}