{"uid":"cap_rbY1-Vs4k-1y2fkYB-H7b","slug":"ecb-currency-rates-00f32333","name":"ECB Currency Rates","description":"European Central Bank daily reference exchange rates for about 30 major currencies, from any base currency, latest or for a past date. Rates update once per working day; the response states which day.","url":"https://onchaincheck.dev/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":{"base":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 4217 base currency, default USD"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Past date YYYY-MM-DD; latest if omitted"},"symbols":{"type":"string","pattern":"^[A-Za-z]{3}(,[A-Za-z]{3})*$","description":"Comma-separated target currencies; all if omitted"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-22","rates":{"CAD":1.4034,"EUR":0.89246,"GBP":0.74761},"source":"European Central Bank reference rates via frankfurter.dev"}},"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_YUEwIxdK_wXMEDsGIoBPE","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 European Central Bank daily reference exchange rates for ~30 major currencies from any base currency, for the latest date or a specified past date.","exampleAgentPrompt":"What are today's ECB reference rates for EUR, GBP, and JPY using USD as the base currency?","exampleUseCases":[{"title":"Historical invoice currency conversion","prompt":"What was the official ECB exchange rate from USD to EUR on 2024-03-15? I need to match it for an invoice reconciliation."},{"title":"Multi-currency dashboard snapshot","prompt":"Pull the latest ECB reference rates for EUR, GBP, CHF, JPY, and CAD all relative to USD so I can update my currency dashboard."},{"title":"Travel budget estimation","prompt":"What's the current ECB rate for USD to Thai Baht and USD to Japanese Yen? I'm planning trip costs and want official rates."}],"resultDescription":"A JSON object containing the base currency code, the effective date of the rates, and a map of target currency codes to their exchange rate values relative to the base, plus a source attribution string confirming ECB reference rates.","failureModes":["Invalid base currency code (not a 3-letter ISO 4217 code) returns an error","Requested date falls on a weekend or ECB holiday with no rate available","Requested date is in the future (no rates published yet)","Requested target currency not covered by ECB (~30 major currencies only)","Date format does not match YYYY-MM-DD pattern"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative ECB daily reference rates rather than real-time mid-market or broker rates. Ideal for financial reporting, compliance, invoice reconciliation, or any use case requiring a single official daily rate. Not suitable for intraday trading or real-time tick data needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:26:38.070Z","isFirstParty":false,"canonicalSlug":"ecb-currency-rates-00f32333"}