{"uid":"cap_3-GvvJg3w6_8FI8vxfEDr","slug":"api-strale-io-a54ccbe7","name":"Forex Historical Exchange Rates","description":"Get historical exchange rates between two currencies. Returns daily rates, average, min, max, change percentage.","url":"https://api.strale.io/x402/forex-history","method":"GET","headers":{},"bodySchema":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Target currency (e.g. USD)"},"from":{"type":"string","description":"Source currency (e.g. EUR)"},"end_date":{"type":"string"},"start_date":{"type":"string"}}},"responseSchema":{"max":{"type":"number"},"min":{"type":"number"},"rates":{"type":"array"},"average":{"type":"number"},"change_percent":{"type":"number"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.92","successRate":"1.00","reviews":1,"stars":"4.7","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"5.4000","medianCents":"5.4000","p90Cents":"5.4000","minCents":"5.4000","maxCents":"5.4000","p95Cents":"5.4000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aoixFld9wZ7ff6Im2GzTR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily historical exchange rates between two currencies including average, min, max, and change percentage over a date range","exampleAgentPrompt":"Can you pull the historical exchange rates from EUR to USD between January 1 and March 31, 2024, so I can see the daily rates, average, and how much the rate changed over that period?","exampleUseCases":null,"resultDescription":"Returns daily exchange rate data for the requested currency pair and date range, including individual daily rates, average rate over the period, minimum rate, maximum rate, and percentage change from start to end of the period","failureModes":["Invalid currency code returns error (e.g. unsupported or misspelled ISO 4217 code)","Start date after end date may return empty or error response","Future dates may return no data","Missing required 'from' or 'to' parameters returns 400-level error","Very long date ranges may return large payloads or timeout"],"whenToPreferThis":"Use this endpoint when you need historical daily forex rate data for a specific currency pair over a defined date range, especially when aggregate statistics like average, min, max, and change percentage are needed alongside raw daily rates. Prefer this over live rate endpoints when the use case involves backtesting, financial reporting, trend analysis, or historical comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-09-05T18:41:13.219Z","lastSuccessfullyRanAt":"2026-09-05T18:41:13.219Z","lastHealthCheckAt":"2026-09-16T13:00:20.419Z","isFirstParty":false}