{"uid":"cap_px1YQXWjeYov2Q90VtK0J","slug":"delx-commerce-percentile-calculator-cc4db7c4","name":"Delx Commerce Percentile Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/percentile?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"},"maxItems":10000,"minItems":1,"description":"Numeric samples for stats tools (mean/median/stdev/percentile). Cap 10k numbers."},"percentile":{"type":"number","maximum":100,"minimum":0,"description":"Optional percentile in 0–100 (e.g. 95 for p95). Handler default when omitted."}}},"responseSchema":{"type":"json","example":{"p":50,"count":5,"value":6,"schema":"delx/percentile/v1"}},"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_CRBmIvzIzid278UB9xNDf","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 the Nth percentile of a provided numeric dataset, returning the percentile value and sample count.","exampleAgentPrompt":"Calculate the 95th percentile of these response times in milliseconds: [120, 340, 210, 89, 450, 310, 670, 150, 280, 95] — I need the p95 value.","exampleUseCases":[{"title":"API latency p95 monitoring","prompt":"I have a list of API response times in milliseconds from the last hour: [45, 120, 89, 340, 210, 67, 890, 150, 230, 78, 410, 55]. Can you calculate the 95th percentile so I know my worst-case latency threshold?"},{"title":"Sales score distribution analysis","prompt":"Here are the sales scores for our 20 reps this quarter: [55, 72, 81, 63, 90, 44, 77, 68, 85, 92, 59, 71, 83, 66, 78, 88, 53, 74, 80, 95]. What's the 75th percentile score?"},{"title":"Finding median of measurement data","prompt":"I've got a batch of sensor readings: [3.2, 4.1, 2.8, 5.0, 3.9, 4.4, 3.6, 2.9, 4.7, 3.3]. What's the median value — the 50th percentile?"}],"resultDescription":"Returns a JSON object with the computed percentile value (`value`), the requested percentile rank (`p`), the count of input samples (`count`), and a schema identifier (`schema: 'delx/percentile/v1'`).","failureModes":["Empty array input — request rejected (minItems: 1 required)","Array exceeds 10,000 items — request rejected (maxItems: 10000)","Non-numeric values in array — parsing or validation error","Percentile out of 0–100 range — validation error","Payment failure or insufficient USDC balance — 402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-call percentile computation without account setup, especially inside an agent workflow that already handles x402 micropayments in USDC. Ideal for on-demand statistical analysis of numeric datasets up to 10,000 values, where reproducible, verifiable results and exact pricing matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.007Z","isFirstParty":false,"canonicalSlug":"delx-commerce-percentile-calculator-cc4db7c4"}