{"uid":"cap_Kia_XavfQlCuc8QCtT238","slug":"kihustle-json-moving-average-1f6a2e5c","name":"KiHustle JSON Moving Average","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/nexus/api/v1/json-moving-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"type":"number"}},"window":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qX8vLcmLZftkjx0Btpjwi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a simple moving average over an array of numeric values using a specified window size","exampleAgentPrompt":"Calculate the moving average of these values [10, 20, 30, 40, 50, 60, 70] using a window size of 3.","exampleUseCases":[{"title":"Smooth stock price history","prompt":"Take these daily closing prices [142.5, 144.0, 143.2, 146.8, 148.1, 147.3, 150.2] and compute a 5-day moving average to smooth out the volatility."},{"title":"Rolling average for sensor data","prompt":"I've got a series of temperature readings [22.1, 23.4, 21.8, 24.2, 25.0, 23.7, 22.9, 24.5] from a sensor — can you apply a 3-point moving average to smooth the noise?"},{"title":"Trailing average for weekly metrics","prompt":"Here are our weekly revenue numbers [5200, 4800, 5100, 5600, 5300, 4900, 5400, 5700] — compute a 4-week rolling average so I can see the trend more clearly."}],"resultDescription":"Returns a JSON object with a 'result' field containing the processed moving average output and a 'status' field indicating success. The exact structure of the averaged values follows from the input array and window parameter.","failureModes":["Window size larger than input array length may produce empty or partial results","Non-numeric values in the array may cause processing errors","Missing required fields (values or window) will likely return a 400-level error","Very large arrays may exceed processing limits","Window size of 0 or negative integers may be rejected"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap ($0.002 per call) API call to compute a moving average over a numeric array without setting up local computation. It is suitable for lightweight financial, IoT sensor, or analytics smoothing tasks where a quick REST call is preferable to running custom code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:47:52.854Z","isFirstParty":false,"canonicalSlug":"kihustle-json-moving-average-1f6a2e5c"}