{"uid":"cap_a1aaY078NJ5GCO6soJv1r","slug":"fx-rates-ecb-latest-exchange-rate-3b119917","name":"FX Rates ECB – Latest Exchange Rate","description":"Latest ECB reference exchange rate for a currency pair, with the inverse and the fixing date.","url":"https://fx-ecb.x402tookit.com/fx-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"],"type":"string"},"queryParams":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Base currency, e.g. USD"},"quote":{"type":"string","description":"Quote currency, e.g. EUR"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"base":{"type":["null","string"]},"rate":{"type":["null","number"]},"quote":{"type":["null","string"]},"source":{"type":["null","string"]},"inverse":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"fixingDate":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zq31PlZoDDU6sNeOC22az","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest ECB reference exchange rate for a currency pair, including the inverse rate and the fixing date.","exampleAgentPrompt":"What's the latest ECB reference exchange rate for USD to EUR — include the inverse rate and the date it was fixed?","exampleUseCases":[{"title":"Live FX rate for invoice pricing","prompt":"What is the current ECB reference rate for GBP to EUR, and what's the inverse? I need the official fixing date too."},{"title":"Checking ECB rate for compliance reporting","prompt":"Pull the latest ECB official exchange rate for USD against CHF — I need the fixing date and the inverse rate for my compliance report."},{"title":"Currency rate display in a finance dashboard","prompt":"Get me the ECB reference rate for JPY to EUR right now, with the inverse and when the rate was last fixed."}],"resultDescription":"Returns a JSON object with the exchange rate (rate), inverse rate (inverse), base and quote currency codes, the ECB fixing date (fixingDate), source URL, attribution, and optionally a summary, disclaimer, and degraded flag if data quality is reduced.","failureModes":["Unsupported currency code — ECB only publishes rates for 30 currencies; requests for others will return an error or null","Weekend/holiday dates — ECB does not publish rates on weekends or holidays; the API may return the most recent available rate","Invalid base or quote parameter — missing or malformed currency codes result in validation errors","Rate temporarily unavailable — if the ECB has not yet published the daily fixing, the response may be degraded or null"],"whenToPreferThis":"Use this endpoint when you need the authoritative, official ECB daily reference exchange rate for a currency pair — ideal for compliance, financial reporting, invoicing, or any use case requiring a trusted central bank source rather than a live market rate. Prefer this over commercial FX APIs when regulatory or official sourcing matters. Note it covers only the 30 ECB-published currencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:14.189Z","isFirstParty":false,"canonicalSlug":"fx-rates-ecb-latest-exchange-rate-3b119917"}