{"uid":"cap_tdApZufhdAvKEjyvx718W","slug":"pennyrail-number-stats-mean-median-153cbf4d","name":"PennyRail Number Stats – Mean & Median","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/number.stats--mean-median","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"array"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_m67cKRfnnzXEpMNTDNMxI","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 descriptive statistics (mean and median) for a provided array of numbers","exampleAgentPrompt":"Can you calculate the mean and median for this list of numbers: [12, 45, 7, 23, 89, 34, 56, 11, 67, 30]?","exampleUseCases":[{"title":"Survey response score analysis","prompt":"I have a list of survey scores from 50 respondents — [72, 88, 91, 65, 77, 83, 60, 95, 70, 85, 78, 88, 62, 74, 80] — can you calculate the mean and median so I can understand the typical response?"},{"title":"Sales figure central tendency","prompt":"Here are our daily sales figures for the last two weeks: [1200, 1450, 980, 1700, 1350, 1600, 900, 1250, 1500, 1800, 1100, 1400, 1650, 1300]. What's the average and median daily sales?"},{"title":"Sensor reading normalization check","prompt":"I've got a batch of temperature sensor readings [22.1, 21.8, 23.4, 22.7, 21.5, 24.1, 22.9, 21.2, 23.0, 22.5] — can you give me the mean and median so I can check if the distribution looks normal?"}],"resultDescription":"Returns a JSON object containing computed statistical values including the mean (arithmetic average) and median (middle value) of the input numeric array. The response may also include additional descriptive statistics.","failureModes":["Empty input array returns an error or undefined result","Non-numeric values in the array may cause computation failure or be ignored","Missing required 'input' field returns a validation error","Payment failure (x402) blocks the request before computation","Very large arrays may time out depending on serverless execution limits"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use computation of mean and median for a numeric array without standing up your own statistics infrastructure. Ideal for lightweight agent workflows where you want to outsource basic statistical computation at $0.001 per call rather than embedding a math library. Best suited for one-off or low-frequency statistical lookups in agentic pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:56:42.098Z","isFirstParty":false}