{"uid":"cap_8cS1yrR_mzlOsyl_XDL5T","slug":"eckari-ecb-fx-reference-rate-61d19dd6","name":"Eckari ECB FX Reference Rate","description":"European Central Bank euro foreign exchange reference rate for a pair - the official daily fix used for accounting, invoicing and reporting - latest or any date in the last 90 days. The ECB publishes EUR/XXX only, so inverse and cross rates are computed from the same fix and named in rate_derivation. One fix per TARGET working day, not a tradable market rate. Use when: Convert or report an amount at an official daily rate both sides of a contract can verify against the ECB.","url":"https://api.eckari.com/v1/fx/reference-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":["base","quote"],"properties":{"base":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 4217 code of the base currency. EUR is always available; other currencies must be in the ECB reference rate list for the selected date."},"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","description":"Optional ISO calendar date (YYYY-MM-DD) within the last 90 days. When the ECB published no fix on that date (a TARGET closing day), the latest prior fix is returned with a note."},"quote":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 4217 code of the quote currency. EUR is always available; other currencies must be in the ECB reference rate list for the selected date."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"base":"EUR","note":"no ECB fix published for today yet (weekend, TARGET closing day, or before the ~16:00 CET publication); the latest published fix is returned","rate":"1.159300","quote":"USD","rate_date":"2026-08-17","rate_kind":"reference","rate_derivation":"published","published_pairs_used":["EUR/USD"]},"meta":{"source":"ecb_fx","version":"2.1.0","freshness":"near_live","capability":"fx.reference_rate"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mWpeksMOBSWspfrYbLaVe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the official European Central Bank euro foreign exchange reference rate for a currency pair, either the latest fix or any date within the last 90 days","exampleAgentPrompt":"What is the official ECB euro reference rate for EUR to USD today? I need the verified daily fix for an invoice I'm issuing.","exampleUseCases":[{"title":"Invoicing with verified official rate","prompt":"I'm issuing a cross-border invoice from a EUR contract to a USD amount — what is the ECB official reference rate for EUR/USD today so both sides can verify the same number?"},{"title":"Historical rate for financial reporting","prompt":"I need the official ECB daily fix for EUR to GBP on August 15, 2025 to use in our quarterly financial report."},{"title":"Cross-rate lookup for non-EUR pair","prompt":"What's the ECB-derived reference rate between USD and JPY for last Friday, August 15, 2026? I know ECB only publishes EUR pairs so I need the computed cross rate."}],"resultDescription":"A JSON object containing the exchange rate (as a string decimal), the base and quote currency codes, the date the rate applies to, whether the rate was directly published by the ECB or derived as an inverse or cross rate, the published ECB pairs used in the calculation, an optional note explaining if the returned date differs from the requested date (e.g. weekend or TARGET closing day), and metadata including source, version, and freshness indicator.","failureModes":["Requested currency not in ECB reference rate list for that date — endpoint may return an error or empty result","Date outside the 90-day window — request rejected","Date is a weekend or TARGET closing day — the latest prior fix is returned with a note field explaining the substitution","ECB has not yet published the fix for the current day (before ~16:00 CET) — prior day fix returned with a note","Malformed ISO 4217 currency code (not exactly 3 letters) — validation error from schema","Non-TARGET working day requested — fallback rate returned transparently"],"whenToPreferThis":"Use this endpoint when you need an authoritative, verifiable, official exchange rate that both parties to a contract, invoice, or accounting entry can independently confirm against the ECB — not for live tradable rates or high-frequency pricing. Prefer this over market rate APIs when regulatory compliance, auditability, or official reporting is required. Ideal for EUR-centric accounting, EU cross-border invoicing, and any workflow where the rate source must be the ECB daily fix.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:46:09.573Z","isFirstParty":false,"canonicalSlug":"eckari-ecb-fx-reference-rate-61d19dd6"}