{"uid":"cap_3FklQ3TCdHZf8TumoNoKk","slug":"api-x402node-dev-48b0da98","name":"Historical Forex Rate Lookup (ECB via Frankfurter)","description":"Historical forex rate for a specific date (ECB data via Frankfurter). Returns rates for the requested date, going back to 1999. Use ?date=2024-01-15 and from=USD and to=EUR. Built for AI agents doing back-testing, audit, accounting reconciliation. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/finance/forex-hist?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Target format (required)"},"date":{"type":"string","description":"Date YYYY-MM-DD (optional)"},"from":{"type":"string","description":"Source format (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LcmTkk7q__VSM8pxs2shn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical foreign exchange rates for a specific date using European Central Bank data going back to 1999","exampleAgentPrompt":"What was the EUR to USD exchange rate on March 8, 2022? I need it for an accounting reconciliation.","exampleUseCases":null,"resultDescription":"Returns the historical exchange rate for the requested currency pair on the specified date, sourced from ECB data via Frankfurter, covering dates back to 1999. Includes the rate value, the base and target currencies, and the date.","failureModes":["Date before 1999 — ECB data not available that far back","Invalid currency code — unsupported or misspelled ISO 4217 code","Weekend or market holiday — ECB may not have a rate; endpoint may return nearest available date or error","Malformed date format — incorrect date string format","Network or upstream Frankfurter API outage"],"whenToPreferThis":"Use this endpoint when you need a point-in-time historical forex rate for a specific past date, especially for back-testing, audit trails, accounting reconciliation, or financial reporting. It covers ECB data from 1999 onward, making it ideal for long-range historical lookups without needing your own API key or a premium data subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:17:09.634Z","isFirstParty":false,"canonicalSlug":"api-x402node-dev-48b0da98"}