{"uid":"cap_GYitPV1n-IoOQjYFduXt9","slug":"one-engine-t10-moving-average-calculator-b73ace75","name":"ONE Engine T10 Moving Average 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/moving-average/t10?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.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_snSifdmsjm-KEil9UcemL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a T10 (10-period) moving average over a numeric array with optional normalization and transformation parameters.","exampleAgentPrompt":"Calculate the T10 moving average for these 20 weekly sales figures: [120, 135, 142, 128, 155, 163, 170, 145, 138, 160, 175, 182, 168, 155, 172, 185, 190, 178, 165, 200], using a window size of 10 and round results to 2 decimal places.","exampleUseCases":[{"title":"Smoothing financial price series","prompt":"I have a list of 50 daily closing prices for a stock — can you run a 10-period moving average over them to smooth out the noise? Here are the values: [102.3, 104.5, 103.1, 105.8, 107.2, 106.0, 108.4, 109.1, 107.5, 110.2, 111.8, 110.5, 112.3, 113.7, 112.1, 114.5, 116.0, 115.2, 117.8, 119.1, 118.4, 120.2, 121.5, 120.8, 122.3, 123.7, 122.5, 124.1, 125.8, 124.4, 126.0, 127.3, 126.1, 128.5, 129.8, 128.3, 130.1, 131.5, 130.2, 132.8, 134.1, 133.0, 135.2, 136.8, 135.5, 137.1, 138.4, 137.2, 139.5, 141.0]. Give me 2 decimal places."},{"title":"Sensor data noise reduction","prompt":"I've got temperature sensor readings from the last hour — 60 values in total — and they're really noisy. Can you apply a T10 moving average to smooth them out? Values: [22.1, 23.5, 21.8, 24.2, 22.9, 23.1, 25.0, 22.7, 23.8, 24.5, 23.2, 22.6, 24.8, 25.3, 23.9, 24.1, 22.8, 23.5, 25.1, 24.7, 23.3, 22.9, 24.0, 25.2, 23.8, 24.3, 22.5, 23.7, 25.4, 24.9, 23.1, 22.8, 24.6, 25.0, 23.4, 22.7, 24.1, 25.3, 23.9, 24.5, 22.6, 23.2, 25.1, 24.8, 23.5, 22.9, 24.3, 25.2, 23.7, 24.0, 22.8, 23.6, 25.4, 24.7, 23.3, 22.5, 24.2, 25.0, 23.8, 24.4], rounded to 1 decimal place."},{"title":"Normalizing web traffic trend","prompt":"Can you compute a T10 moving average on these 30 daily page view counts and normalize the output between 0 and 1? Values: [1500, 1620, 1480, 1700, 1850, 1760, 1900, 2050, 1980, 2100, 2200, 2150, 2300, 2250, 2400, 2350, 2500, 2450, 2600, 2550, 2700, 2650, 2800, 2750, 2900, 2850, 3000, 2950, 3100, 3050]. Set min to 0, max to 3500, and give me 3 decimal places."}],"resultDescription":"Returns a JSON object containing the smoothed moving average values computed over the input array using a T10 (10-period) window, potentially normalized or scaled according to the provided min, max, factor, offset, and digits parameters.","failureModes":["Input array exceeds 1000 element limit — request rejected","Non-finite numbers (NaN, Infinity) in values array — validation error","Insufficient values for the specified window size — partial or empty result","Payment failure via x402 protocol — 402 response before computation","Malformed JSON body — 400 bad request","Size integer out of valid range — computation error"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, pay-per-call moving average computation without managing infrastructure — ideal for autonomous agents that occasionally need to smooth numeric time series, normalize sensor data, or compute rolling averages in financial or analytics contexts. Prefer it over self-hosted solutions when minimizing setup overhead and paying only for actual usage matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:51.709Z","isFirstParty":false,"canonicalSlug":"one-engine-t10-moving-average-calculator-b73ace75"}