{"uid":"cap_DDshQ07yNujVOtkPzhIoK","slug":"token-observed-price-change-rolling-mean-report-801ebe93","name":"Token Observed Price Change — Rolling Mean Report","description":"Token observed price change — Rolling mean report: Rolling mean report for Token observed price change. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-price-change-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["current_price","previous_price"],"properties":{"current_price":{"type":"number","default":1.2,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"previous_price":{"type":"number","default":1,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"current_price":1.2,"previous_price":1},{"current_price":1.32,"previous_price":1.1},{"current_price":1.2,"previous_price":1},{"current_price":1.32,"previous_price":1.1}],"maxItems":200,"minItems":2},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OWHp5EKgRPmiSHgIlxly_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a rolling mean of token price change ratios across a supplied window of current/previous price observation pairs","exampleAgentPrompt":"Calculate the rolling mean of price changes for these 4 token observations — current prices 1.2, 1.32, 1.2, 1.32 and previous prices 1.0, 1.1, 1.0, 1.1 — using a rolling window of 2.","exampleUseCases":[{"title":"Smoothing token volatility over recent trades","prompt":"I have 6 token price snapshots with current and previous prices — can you compute the rolling mean of the price changes using a window of 3 to smooth out the volatility?"},{"title":"Comparing price change trends across windows","prompt":"Run a rolling mean report on these 8 pairs of current and previous token prices with a window size of 4 so I can see how the average price change evolved over the series."},{"title":"Automated DeFi price drift monitoring","prompt":"Every hour I'm sending you the latest 10 current/previous token price observations — compute the rolling mean price change with a window of 5 each time so I can track drift in our DeFi pool token."}],"resultDescription":"A rolling mean report summarizing the average observed price change across the supplied token price observation pairs, calculated deterministically using the specified window size. Returns a bounded statistical result (not a live scan or trade signal) based solely on the caller-supplied data.","failureModes":["Fewer than 2 rows supplied — minimum row count not met","Window size exceeds number of rows supplied — invalid window configuration","current_price or previous_price is zero or negative — values must be strictly positive","More than 200 rows supplied — exceeds maxItems limit","Window integer outside 2–200 range — out-of-bounds parameter","Malformed row objects with missing required fields — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you have a pre-collected batch of token current/previous price pairs and need a deterministic, reproducible rolling mean calculation without any live market data access. It is purpose-built for smoothing token price change observations statistically, not for real-time feeds or trade signals. Prefer it over general statistics APIs when you need a cost-effective ($0.01 per call), single-purpose, bounded computation on up to 200 observations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:47:03.586Z","isFirstParty":false,"canonicalSlug":"token-observed-price-change-rolling-mean-report-801ebe93"}