{"uid":"cap_On8JfiLi4AIeO-3B43zjz","slug":"signaldesk-ai-median-calculator-c649f0f3","name":"SignalDesk AI – Median 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/median?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."}}},"responseSchema":{"type":"json","example":{"median":2.5}},"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_4h4sEncsB2uZMYydNmw4r","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 statistical median from an array of up to 1000 numeric observations","exampleAgentPrompt":"What's the median of these numbers: 3, 7, 2, 9, 4, 1, 8, 5, 6?","exampleUseCases":[{"title":"Median salary from survey responses","prompt":"I have a list of salary responses from our company survey — 52000, 67000, 48000, 91000, 75000, 63000, 58000 — can you calculate the median salary for me?"},{"title":"Median load time for performance monitoring","prompt":"Here are page load times in milliseconds from our last test run: 312, 289, 445, 301, 388, 276, 502, 319 — what's the median load time?"},{"title":"Median product price analysis","prompt":"I need the median price across these product listings: 19.99, 24.99, 14.99, 49.99, 34.99, 29.99, 9.99 — can you find it for me?"}],"resultDescription":"Returns a JSON object with a single 'median' field containing the computed median value as a number (e.g. {\"median\": 2.5}). For odd-length arrays, this is the middle value; for even-length arrays, the average of the two middle values.","failureModes":["Empty array or missing 'values' field returns a validation error","Array exceeds 1000 items returns a rejection (maxItems constraint)","Values outside the allowed range (-1e15 to 1e15) are rejected","Non-numeric values in the array cause a schema validation failure","Payment failure (x402) results in a 402 response before computation"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid, serverless median computation over up to 1000 numeric values without running local code. Useful in agent pipelines where statistical summarization is needed as a discrete step and you want a reliable external computation rather than inline code execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:49.357Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-median-calculator-c649f0f3"}