{"uid":"cap_DAFp68LELrzuBNrAraktg","slug":"fx-reference-rates-ecb-b95127d7","name":"FX Reference Rates (ECB)","description":"Currency exchange rates from the European Central Bank's official euro reference rates: convert an amount from one ISO 4217 currency to up to 30 others, today or on any date in the last 90 days. Cross rates computed via EUR.","url":"https://fx-reference-rates.mick8511.workers.dev/rate?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Target currency or comma-separated list (max 30), e.g. GBP,JPY"},"date":{"type":"string","description":"Optional YYYY-MM-DD within the last 90 days; non-publication days use the most recent prior ECB date"},"from":{"type":"string","description":"Source currency, ISO 4217 code, e.g. USD"},"amount":{"type":"string","description":"Optional amount to convert (default 1)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":["GBP","JPY"],"date":"2026-10-14","from":"USD","note":"Latest available ECB reference rates (2026-10-14). ECB reference rates are published around 16:00 CET on TARGET working days. Cross rates are calculated via EUR.","rates":{"GBP":0.79324238,"JPY":149.82144},"amount":100,"source":"European Central Bank euro foreign exchange reference rates","converted":{"GBP":79.324238,"JPY":14982.144492},"disclaimer":"These reference rates are for information purposes only and are published free of charge by the ECB at https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html. Cross rates are calculated from ECB euro rates and are not official ECB rates.","source_url":"https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_26Ma-0ksAHX4oBcc1vYyM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts currency amounts between up to 30 ISO 4217 currencies using official European Central Bank euro reference rates, for today or any date in the last 90 days.","exampleAgentPrompt":"Using the ECB's official reference rates, convert 2500 USD to GBP, EUR, and JPY — use today's date and show me the converted amounts for each currency.","exampleUseCases":[{"title":"Invoice currency conversion for accounting","prompt":"I need to report this invoice in euros — it was 8400 USD. Can you convert that to EUR, GBP, and CHF using the official ECB rate from last Friday, October 11th?"},{"title":"Historical rate lookup for audit","prompt":"What was the official ECB exchange rate between USD and JPY on September 15th? I need the exact reference rate for our compliance report."},{"title":"Multi-currency travel budget estimate","prompt":"I'm budgeting a trip across Europe and Asia — can you convert 3000 USD into EUR, GBP, SEK, JPY, and THB using today's ECB reference rates so I can see what I'll have in each currency?"}],"resultDescription":"A JSON object containing the source currency, target currency list, the ECB reference date used, per-currency exchange rates, the converted amounts for the specified amount, a note about ECB publication schedule, and a disclaimer clarifying that cross rates are computed via EUR and are not directly published by the ECB.","failureModes":["Requested date is more than 90 days ago — endpoint returns an error or no data","Requested date falls on a weekend or ECB non-publication day — falls back to most recent prior ECB publication date","Invalid ISO 4217 currency code supplied — likely returns an error or omits the rate","More than 30 target currencies requested — rejected by schema validation","Currency not covered by ECB reference rates (e.g. exotic or unofficial currencies) — rate absent from response"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative exchange rates sourced directly from the European Central Bank — ideal for financial reporting, compliance, auditing, or any use case requiring a trusted institutional rate rather than a commercial or real-time mid-market rate. It supports batch conversion to up to 30 currencies in a single call and historical lookups up to 90 days back, making it efficient for multi-currency invoicing or budgeting. Prefer alternatives if you need real-time tick data, rates older than 90 days, or currencies not published by the ECB.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T12:37:13.552Z","isFirstParty":false,"canonicalSlug":"fx-reference-rates-ecb-b95127d7"}