{"uid":"cap_PJLkrj-2En9tKpHn57lOX","slug":"delx-commerce-arithmetic-mean-calculator-a5f8b947","name":"Delx Commerce — Arithmetic Mean 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/mean?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."}}},"responseSchema":{"type":"json","example":{"mean":6,"count":5,"schema":"delx/mean/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_MWmmnUv73rdyFmOjwyHZe","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 arithmetic mean (average) of a list of up to 10,000 numeric values, returning the result with count metadata.","exampleAgentPrompt":"Calculate the mean of these numbers for me: 4, 8, 15, 16, 23, 42.","exampleUseCases":[{"title":"Average sensor readings from IoT devices","prompt":"I have a batch of temperature readings from my sensors — 72.1, 68.4, 74.3, 70.0, 69.8 — can you calculate the mean temperature across all of them?"},{"title":"Find average product rating score","prompt":"I've got a list of customer ratings for my product: 3, 5, 4, 2, 5, 4, 3, 5 — what's the average score?"},{"title":"Compute mean financial return","prompt":"Calculate the average monthly return for me given these percentages: 1.2, -0.5, 2.3, 0.8, 1.5, -0.2, 3.1, 0.9."}],"resultDescription":"Returns a JSON object with the computed arithmetic mean as a number, the count of values processed, and a schema identifier ('delx/mean/v1') for verifiable result provenance.","failureModes":["Empty array input returns an error (minItems: 1 required)","Array exceeding 10,000 elements is rejected (maxItems: 10000 cap)","Non-numeric values in array cause validation failure","Payment failure via x402 prevents endpoint access","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use arithmetic mean computation without setting up a data science library or service, especially in agent workflows that already use x402 micropayments on Base or Solana. Ideal for lightweight statistical summarization of up to 10k numeric samples with verifiable delivery and no signup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:55.928Z","isFirstParty":false,"canonicalSlug":"delx-commerce-arithmetic-mean-calculator-a5f8b947"}