{"uid":"cap_WTOx8er_cqN3eDNY2DTRt","slug":"numora-moving-average-calculator-6d3f31a5","name":"Numora Moving Average Calculator","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://numormo.vercel.app/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":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TqO_KiderpBN8jydCL8sA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes simple (SMA), exponential (EMA), or weighted (WMA) moving averages over a numeric data array with a specified window size","exampleAgentPrompt":"Calculate a 14-period exponential moving average (EMA) on this closing price series: [150.2, 152.1, 149.8, 153.4, 155.0, 154.3, 156.7, 157.2, 158.0, 159.5, 160.1, 161.3, 162.0, 163.4, 164.2].","exampleUseCases":[{"title":"Stock price trend smoothing","prompt":"Compute a 20-period SMA on these daily closing prices so I can identify the trend: [210, 212, 208, 215, 217, 214, 219, 221, 218, 222, 225, 223, 220, 226, 228, 230, 227, 229, 231, 233, 235, 234, 236, 238, 240]."},{"title":"Sensor data noise reduction","prompt":"I have 15 noisy temperature readings from a sensor — can you apply a 5-point weighted moving average (WMA) to smooth them out? The readings are: [72.1, 73.5, 71.8, 74.2, 73.9, 75.1, 74.7, 76.3, 75.8, 77.0, 76.5, 78.1, 77.6, 79.2, 78.8]."},{"title":"Weekly sales momentum tracking","prompt":"Calculate a 4-week exponential moving average on these weekly revenue figures so I can track momentum: [12000, 13500, 11800, 14200, 15100, 14700, 16300, 15900, 17200, 16800, 18000, 17500]."}],"resultDescription":"Returns a JSON object with a 'success' boolean, a 'result' object containing the computed moving average values (typically an array of averaged outputs aligned to the input series), and a 'computation' string describing what was calculated in human-readable form.","failureModes":["Missing required 'data' array or 'window' integer returns a validation error","Window size larger than data array length may return an error or empty result","Non-numeric values in the data array may cause computation failure","Invalid 'type' enum value (not sma/ema/wma) causes rejection","Empty data array returns an error"],"whenToPreferThis":"Choose this endpoint when you need server-side, dependency-free moving average computation without setting up a local math library. Ideal for AI agents that need on-demand statistical smoothing in pipelines where installing numpy/pandas is not feasible. Supports SMA, EMA, and WMA variants in a single call, making it versatile for financial, scientific, and IoT use cases. Use over generic computation services when you want a specialized, pay-per-use math API with no setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:46:13.237Z","isFirstParty":false}