{"uid":"cap_72Vyo5H4-Uf8CR4l_knAT","slug":"signaldesk-ai-percentile-calculator-03f859b2","name":"SignalDesk AI Percentile Calculator","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/stats/percentile?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},"maxItems":1000,"minItems":1,"description":"Up to 1000 finite observations."},"percentile":{"type":"number","maximum":100,"minimum":0,"description":"Percentile 0..100."}}},"responseSchema":{"type":"json","example":{"value":7.5,"method":"R-7 linear interpolation"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bsHPBHR_7xVZ9MiMqGeie","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a percentile value from a list of numeric observations using R-7 linear interpolation","exampleAgentPrompt":"What is the 95th percentile of these response times: [120, 340, 210, 890, 450, 670, 130, 980, 310, 560, 720, 440]?","exampleUseCases":[{"title":"P99 latency from API traces","prompt":"I have a list of API response times in milliseconds — [45, 78, 120, 340, 210, 890, 450, 670, 130, 980] — can you calculate the 99th percentile so I know my worst-case latency?"},{"title":"Salary benchmark for job offer","prompt":"Here are the salaries for similar roles I found: [85000, 92000, 78000, 110000, 95000, 102000, 88000, 76000, 99000]. What's the 75th percentile so I can see where the offer of $97,000 stands?"},{"title":"Grade distribution cutoff","prompt":"I have these student test scores: [55, 62, 71, 80, 88, 91, 45, 73, 66, 83, 90, 77, 59, 85, 94]. What's the 80th percentile cutoff so I can set the A-grade threshold?"}],"resultDescription":"Returns a JSON object with a 'value' field containing the computed percentile as a number (using R-7 linear interpolation, the same method used by R, Excel, and NumPy by default), and a 'method' field confirming the interpolation algorithm used.","failureModes":["Empty or missing 'values' array returns a validation error","More than 1000 items in the array exceeds the maxItems limit and is rejected","Values outside the range -1e15 to 1e15 fail schema validation","Percentile outside 0-100 range returns a validation error","Non-finite numbers (NaN, Infinity) in the values array may be rejected","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a statistically rigorous percentile calculation (R-7 linear interpolation, consistent with R, Excel, NumPy) on up to 1,000 observations without standing up your own compute. It is especially useful in agent pipelines where you want a paid, metered, reliable computation call rather than running local statistics code. Prefer it for performance monitoring (p95/p99 latency), grading, benchmarking, or any scenario where you need a single precise percentile rather than a full distribution summary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:08.601Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-percentile-calculator-03f859b2"}