{"uid":"cap_qGl9FuMyEkDjC7R8QWZm3","slug":"ecb-daily-fx-reference-rates-9d0bfa2c","name":"ECB Daily FX Reference Rates","description":"Daily euro FX reference rates from the European Central Bank. ?base (default EUR), ?quote for a single rate, ?date=YYYY-MM-DD for history (last 90 ECB business days; older dates 404). Non-EUR bases are cross-rates derived via EUR (quote-per-EUR ÷ base-per-EUR). Weekend/holiday dates resolve to the last published ECB day — the date field says which. Published ~16:00 CET on ECB business days; informational rates, not for transaction pricing.","url":"https://402utils.com/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":{"base":{"type":"string","description":"ISO 4217 base currency (default EUR)."},"date":{"type":"string","format":"date","description":"Historical date (YYYY-MM-DD), within the last 90 ECB business days."},"quote":{"type":"string","description":"ISO 4217 quote currency — returns a single `rate` instead of the full `rates` map."}},"description":"Query string only."}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["base","date","source","fetchedAt"],"properties":{"base":{"type":"string"},"date":{"type":"string","format":"date","description":"The effective ECB business day the rates belong to."},"rate":{"type":"number","description":"Present when `quote` was given."},"quote":{"type":"string","description":"Echoed when a single rate was requested."},"rates":{"type":"object","description":"Present when `quote` was omitted: currency → rate seen from `base`."},"source":{"type":"string","description":"Always \"ECB\" (European Central Bank reference rates)."},"fetchedAt":{"type":"string","format":"date-time","description":"When the data was fetched from the ECB."},"requestedDate":{"type":"string","format":"date","description":"Present when the requested date was a weekend/holiday and an earlier day was served."}}}}}}},"responseSchema":{"type":"json","example":{"base":"EUR","date":"2026-07-03","rate":1.1448,"quote":"USD","source":"ECB","fetchedAt":"2026-07-03T15:30:04.000Z"}},"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":{"p10Cents":"0.1000","medianCents":"0.1000","p90Cents":"0.1000","minCents":"0.1000","maxCents":"0.1000","p95Cents":"0.1000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_M79VpgdmPbsTVDx4z19cY","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 daily euro foreign exchange reference rates from the European Central Bank, supporting historical lookups and cross-rate calculations for any ISO 4217 currency pair.","exampleAgentPrompt":"What was the ECB official exchange rate for USD against EUR on 2024-12-10? Also give me the GBP rate for the same day.","exampleUseCases":null,"resultDescription":"A JSON object with the effective ECB business date, the base currency, and either a single numeric rate (when a quote currency was specified) or a map of all available currency rates relative to the base. Includes source ('ECB'), fetchedAt timestamp, and a requestedDate field if the requested date was a weekend or holiday and the prior ECB business day was substituted.","failureModes":["Date older than 90 ECB business days returns 404","Weekend or holiday date resolves silently to the last ECB published day (requestedDate field indicates the substitution)","Unsupported or unknown ISO 4217 currency code may return an error or missing rate","Rates are informational ECB reference rates, not live market or transaction rates — not suitable for real-time trading","ECB publishes around 16:00 CET; requests before publication on a given business day return the prior day's rates"],"whenToPreferThis":"Use this endpoint when you need the official ECB daily reference rate for EUR or any cross-rate derived via EUR, especially for compliance, reporting, or historical financial analysis within the last 90 ECB business days. Prefer this over live FX APIs when official, auditable central bank rates are required rather than real-time market prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:34:45.528Z","isFirstParty":false,"canonicalSlug":"ecb-daily-fx-reference-rates-9d0bfa2c"}