{"uid":"cap_LC8Ov85842uK20XNYoLhI","slug":"numora-moving-average-computation-bd283079","name":"Numora Moving Average Computation","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numorapoi.orbonomy.xyz/api/statistics/moving-average","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data","window"],"properties":{"data":{"type":"array"},"type":{"enum":["sma","ema","wma"],"type":"string"},"window":{"type":"integer"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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_9TU_zAukD3AVcWhxfcqzk","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 moving averages (simple, exponential, or other types) over a numeric data array using a specified window size","exampleAgentPrompt":"Calculate a 7-day simple moving average on this sales data: [120, 135, 142, 128, 155, 160, 148, 172, 165, 180, 190, 175, 188, 200].","exampleUseCases":null,"resultDescription":"Returns a JSON object with success=true, a result object containing the computed moving average values (array of smoothed values aligned to the window), and a human-readable computation string describing what was calculated.","failureModes":["Missing required 'data' field returns validation error","Missing required 'window' field returns validation error","Window size larger than data array length may return error or empty result","Invalid type string for moving average type may return error or default behavior","Non-numeric values in data array may cause computation failure","Payment not included or insufficient USDC causes 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need server-side moving average computation without setting up local math libraries, especially in agent workflows requiring micropayment-gated pure math. Ideal for smoothing time series, financial price data, or sensor readings with a fixed window size. Prefer this over general-purpose code execution when you need a zero-dependency, fast, deterministic result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:54:54.290Z","isFirstParty":false}