{"uid":"cap_qFxhxlFwqll8iq9Z3Clik","slug":"ecb-foreign-exchange-rates-api-efd96dd5","name":"ECB Foreign Exchange Rates API","description":"Official ECB foreign exchange reference rates for about 30 currencies, today or on any past date since 1999, from any base, with amount conversion Official ECB foreign exchange reference rates for about 30 currencies, today or on any past date since 1999, from any base currency, with optional amount conversion. Query: ?base=USD&symbols=EUR,GBP,JPY&date=2024-01-02&amount=250","url":"https://api.x-402.online/v1/fx/rates?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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PyYIYdRooKIM4R-Mj-tmg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official ECB foreign exchange reference rates for ~30 currencies for today or any historical date since 1999, with optional amount conversion from any base currency","exampleAgentPrompt":"What are the official ECB exchange rates for EUR, GBP, and JPY against USD today, and how much would 250 USD convert to in each of those currencies?","exampleUseCases":[{"title":"Historical currency conversion for accounting","prompt":"What was the official ECB exchange rate for EUR and GBP against USD on January 2, 2024, and how much would 250 USD have been worth in each currency on that date?"},{"title":"Multi-currency travel budget estimate","prompt":"I'm planning a trip and have 1000 USD — using today's ECB rates, how much is that in EUR, GBP, and JPY?"},{"title":"Daily forex rate monitoring for reporting","prompt":"Pull today's official ECB reference rates for EUR, CHF, and SEK with USD as the base so I can update our daily FX report."}],"resultDescription":"Returns a JSON object containing the base currency, the date of the rates, and a map of target currency codes to their exchange rates. If an amount was specified, also includes the converted values in each target currency. Rates are sourced from the European Central Bank's official daily reference rates.","failureModes":["Invalid currency code returns an error or omits that currency from results","Dates before 1999 are out of range and will return an error","Dates in the future return no data or fall back to the latest available rate","Unsupported base currency may not be directly quoted by ECB","Missing required query parameters may return a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need authoritative, official ECB foreign exchange reference rates — especially for compliance, accounting, or financial reporting use cases where the ECB rate is specifically required. It's ideal for historical lookups back to 1999 and supports multi-currency responses in a single call. Prefer this over generic FX APIs when official European Central Bank sourcing matters, or when you need a specific past date's rate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:46:38.042Z","isFirstParty":false,"canonicalSlug":"ecb-foreign-exchange-rates-api-efd96dd5"}