{"uid":"cap_ECeTx_f9LLbboMopN2Y9_","slug":"basic-utils-agent-statistics-median-896cec1f","name":"Basic Utils Agent – Statistics Median","description":"A versatile utility agent offering calculator, statistics, datetime, and unit conversion services.","url":"https://basic-utils-agent.up.railway.app/statistics/median","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"number"},"description":"List of numeric values for statistical analysis. Maximum length: 10000"}}},"responseSchema":{"type":"json","example":{"median":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KeaTnWIXlArRj3TQC3YQT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the median value from a list of up to 10,000 numeric values.","exampleAgentPrompt":"Can you find the median of these numbers: 4, 7, 2, 9, 1, 5, 8, 3, 6?","exampleUseCases":[{"title":"Grading distribution midpoint","prompt":"I have these student test scores: 55, 62, 71, 75, 78, 82, 85, 90, 95, 100 — what's the median score?"},{"title":"Sales data central value","prompt":"Here are last month's daily sales figures: 340, 520, 480, 610, 290, 700, 455, 380, 510 — can you find the median so I know the typical day?"},{"title":"Sensor readings anomaly baseline","prompt":"I've collected these temperature sensor readings over the past hour: 21.3, 22.1, 19.8, 23.5, 21.7, 20.4, 22.8, 21.0, 19.5, 24.2 — what's the median reading?"}],"resultDescription":"Returns a JSON object with a single field 'median' containing the computed median value of the submitted numeric array. For odd-length arrays this is the middle value; for even-length arrays it is the average of the two middle values.","failureModes":["Empty array submitted — may return an error or undefined result","Array exceeds 10,000 elements — may be rejected or truncated","Non-numeric values in the array — schema validation failure","Malformed JSON request body — 400 Bad Request","Service unavailable on Railway — 502 or timeout"],"whenToPreferThis":"Choose this endpoint when you need a fast, reliable median calculation on a numeric array of up to 10,000 values and want to offload the computation rather than run it locally. Particularly useful within agent workflows where statistical descriptive metrics are needed on the fly without spinning up a data science stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:18.644Z","isFirstParty":false}