{"uid":"cap_nf2wTl6HIXdu6o0w5hG94","slug":"supplied-rate-currency-conversion-rolling-mean-report-2e765f44","name":"Supplied-Rate Currency Conversion Rolling Mean Report","description":"Supplied-rate currency conversion - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Supplied-rate currency conversion. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-finance-fx-conversion-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["source_amount","target_per_source_rate"],"properties":{"source_amount":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"},"target_per_source_rate":{"type":"number","default":1.25,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0}},"additionalProperties":false},"default":[{"source_amount":100,"target_per_source_rate":1.25},{"source_amount":110.00000000000001,"target_per_source_rate":1.375},{"source_amount":100,"target_per_source_rate":1.25},{"source_amount":110.00000000000001,"target_per_source_rate":1.375}],"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_gNMMb4aydyOHlJORaBchK","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":"Calculates trailing full-window rolling means over a series of supplied-rate currency conversion observations, preserving gaps for invalid rows, and returns results as JSON with formula, units, and limitations.","exampleAgentPrompt":"Calculate the rolling mean report for my currency conversion data using a window of 3: rows are [{source_amount: 100, target_per_source_rate: 1.25}, {source_amount: 110, target_per_source_rate: 1.375}, {source_amount: 120, target_per_source_rate: 1.5}, {source_amount: 130, target_per_source_rate: 1.625}] — I want the trailing full-window means with the formula and units explained.","exampleUseCases":[{"title":"Smoothing weekly FX conversion rates","prompt":"I have 10 weeks of EUR-to-USD conversion data with weekly source amounts and exchange rates — can you compute a rolling mean with a window of 4 so I can see the smoothed trend? Here are the rows: [{source_amount:1000,target_per_source_rate:1.08},{source_amount:1050,target_per_source_rate:1.09},{source_amount:980,target_per_source_rate:1.07},{source_amount:1100,target_per_source_rate:1.10},{source_amount:1200,target_per_source_rate:1.11},{source_amount:950,target_per_source_rate:1.06},{source_amount:1300,target_per_source_rate:1.12},{source_amount:1150,target_per_source_rate:1.09},{source_amount:1250,target_per_source_rate:1.13},{source_amount:1400,target_per_source_rate:1.14}]."},{"title":"Detecting trend in monthly cross-border payments","prompt":"I've recorded monthly payment amounts and exchange rates for 6 months of USD-to-GBP transfers. Can you run a rolling mean report with a window of 2 on this data: [{source_amount:5000,target_per_source_rate:0.79},{source_amount:5200,target_per_source_rate:0.80},{source_amount:4800,target_per_source_rate:0.78},{source_amount:5500,target_per_source_rate:0.81},{source_amount:5300,target_per_source_rate:0.80},{source_amount:6000,target_per_source_rate:0.82}]? I want the formula and units in the output too."},{"title":"Evaluating supplier invoices with fluctuating FX","prompt":"I have 8 supplier invoices paid in different months, each with a source amount in USD and the exchange rate used to JPY. Please calculate a trailing rolling mean with a window of 3 for these: [{source_amount:2000,target_per_source_rate:149.5},{source_amount:2100,target_per_source_rate:150.2},{source_amount:1950,target_per_source_rate:148.8},{source_amount:2200,target_per_source_rate:151.0},{source_amount:2300,target_per_source_rate:151.5},{source_amount:2050,target_per_source_rate:149.9},{source_amount:2400,target_per_source_rate:152.1},{source_amount:2150,target_per_source_rate:150.7}] — and flag any gaps where the mean couldn't be computed."}],"resultDescription":"A JSON object containing the trailing full-window rolling mean values for each observation in the supplied series, along with the mathematical formula used, units of measurement, and documented limitations (e.g. gaps preserved where the window cannot be fully satisfied by valid rows).","failureModes":["Fewer than 2 rows provided — minimum row count not met","Window size exceeds number of rows — insufficient data for any full-window mean","source_amount or target_per_source_rate out of allowed bounds — validation error","target_per_source_rate set to zero or negative — exclusiveMinimum violation","More than 200 rows submitted — exceeds maxItems limit","Malformed JSON body — request parsing failure"],"whenToPreferThis":"Choose this endpoint when you have a user-supplied series of currency conversion observations (source amounts and exchange rates) and need statistically smoothed rolling mean values rather than raw figures. It is ideal when you want the formula, units, and limitations documented in the output, and when no live market data feed is needed — only computation over supplied historical or hypothetical data. Prefer it over generic statistics APIs when the domain is specifically currency conversion and you need the full-window trailing mean semantics with gap preservation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:32.599Z","isFirstParty":false,"canonicalSlug":"supplied-rate-currency-conversion-rolling-mean-report-2e765f44"}