{"uid":"cap_XMv_anfX9VfpAKZ5Ugk1t","slug":"one-engine-z-score-calculator-f7f6417e","name":"ONE Engine Z-Score Calculator","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/numeric/z-score/t9?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["values"],"properties":{"max":{"type":"number"},"min":{"type":"number"},"size":{"type":"integer"},"digits":{"type":"integer"},"factor":{"type":"number"},"offset":{"type":"number"},"values":{"type":"array","description":"Finite numbers, maximum 1000"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018","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.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w19Vpyb-aFR6hw9d1_-yx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes z-scores (standard scores) for an array of numeric values, with optional scaling and offsetting controls.","exampleAgentPrompt":"Can you calculate the z-scores for these values: [12, 45, 7, 89, 23, 56, 34, 78, 11, 67]? Round the results to 3 decimal places.","exampleUseCases":[{"title":"Outlier detection in sensor data","prompt":"I have these temperature readings from my IoT sensors: [22.1, 21.8, 23.0, 45.7, 22.5, 21.9, 22.3] — can you compute z-scores so I can flag any readings that are more than 2 standard deviations from the mean? Give me 2 decimal places."},{"title":"Normalizing student test scores","prompt":"I need to standardize these exam scores so I can compare students across different test versions: [55, 72, 68, 91, 44, 83, 77, 60, 88, 50]. Can you calculate z-scores for them, rounded to 3 digits?"},{"title":"Financial return comparison","prompt":"Compare these monthly portfolio returns by converting them to z-scores: [0.032, -0.015, 0.087, 0.004, -0.042, 0.061, 0.019]. Round to 4 decimal places so I can see which months were statistical outliers."}],"resultDescription":"Returns a JSON object containing the z-scores for each input value, computed as (value - mean) / standard deviation. May include the computed mean, standard deviation, and the transformed array of standardized scores. Optional parameters allow clamping (min/max), controlling decimal precision (digits), and applying a scale factor and offset to the output scores.","failureModes":["Empty or missing 'values' array returns a validation error","Array exceeds 1000 elements triggers a size limit error","Non-finite numbers (NaN, Infinity) in the array cause computation failure","All values identical (zero standard deviation) may return NaN or division-by-zero error","Payment failure via x402 returns HTTP 402 before computation occurs"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call z-score computation without standing up your own statistical infrastructure. Ideal for AI agents that occasionally need statistical normalization as part of a larger pipeline — the $0.018 USDC per-call pricing makes it economical for low-to-moderate volume. Prefer this over general-purpose math APIs when you specifically need z-score standardization with optional output clamping and scaling built in.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:08.813Z","isFirstParty":false,"canonicalSlug":"one-engine-z-score-calculator-f7f6417e"}