{"uid":"cap_5YLvLPaIllbDVg-XJVb56","slug":"historical-fiat-exchange-rates-api-9d12ee10","name":"Historical Fiat Exchange Rates API","description":"Historical fiat exchange rates for a given date (YYYY-MM-DD, back to 1999-01-04) and base currency; optionally restrict to specific targets.","url":"https://currency-api-production-4a8d.up.railway.app/rates/historical","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"base":{"type":"string","description":"Base currency ISO 4217 code, e.g. 'USD'. Defaults to USD if omitted."},"date":{"type":"string","description":"Date in YYYY-MM-DD format, back to 1999-01-04, e.g. '2024-01-15'."},"symbols":{"type":"array","items":{"type":"string"},"description":"Optional list of target currency codes to restrict the response, e.g. ['EUR', 'GBP']. Omit for all rates."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xDnYXU4Yq2NtO2y429LN9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical fiat currency exchange rates for a specified date (back to 1999-01-04) and base currency, sourced via ECB/Frankfurter","exampleAgentPrompt":"What were all the exchange rates against EUR on March 15 2022, going back to that specific date? I need the historical ECB rates — especially USD, GBP, and JPY.","exampleUseCases":[{"title":"Historical invoice reconciliation","prompt":"I have an invoice from August 3 2021 that was billed in EUR — what was the EUR to USD exchange rate on that exact date so I can reconcile it in our accounting system?"},{"title":"Research past currency crisis","prompt":"Can you pull the historical exchange rates for USD against TRY, ARS, and BRL on September 1 2018? I'm studying emerging market currency movements around that time."},{"title":"Travel expense reimbursement","prompt":"I need to convert some GBP expenses from my London trip on November 20 2023 back to USD — what was the GBP to USD exchange rate on that day according to ECB historical data?"}],"resultDescription":"Returns a JSON object containing the specified base currency, the queried date, and a map of target currency codes to their exchange rate values relative to the base on that date. If symbols are specified, only those currency pairs are returned; otherwise all available rates for that date are included.","failureModes":["Date before 1999-01-04 returns an error (data not available before ECB history begins)","Weekend or holiday dates may return no data or the most recent prior business day's rates","Invalid ISO 4217 currency code returns a 4xx error","Date format not matching YYYY-MM-DD causes a validation error","Unknown or unsupported currency in symbols list may result in partial or empty response"],"whenToPreferThis":"Choose this endpoint when you need exchange rates for a specific historical date rather than the current rate. It is ideal for financial reconciliation, auditing, expense reporting, or research requiring rates on a past date. For current/latest rates, prefer the sibling latest-rates endpoint. For currency conversion with amount calculation, prefer the conversion endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:30:33.668Z","isFirstParty":false}