{"uid":"cap_BF37E-8li6pAvrokoLqkg","slug":"ecb-fx-rates-e5f31aac","name":"ECB FX Rates","description":"Use when an agent needs currency conversion at official European Central Bank reference rates for pricing, invoicing, travel budgets or accounting: ~30 currencies, latest or any day in the last 90 days, with the publication date used and exact decimal results. $0.01 USDC on Base; charged only on 2xx, never for invalid input.","url":"https://api.facts402.com/fx?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 4217 code, e.g. EUR"},"date":{"type":"string","format":"date","description":"Optional YYYY-MM-DD within the last 90 days"},"from":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"ISO 4217 code, e.g. USD"},"amount":{"type":"number","description":"Amount in the source currency","exclusiveMinimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vcSzVbVAx3vadwLQ4ECYy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an amount between ~30 currencies using official European Central Bank reference rates, for today or any date in the last 90 days.","exampleAgentPrompt":"Convert 750 US dollars to euros using the official ECB reference rate from last Friday, December 13th.","exampleUseCases":[{"title":"Invoice multi-currency pricing","prompt":"I need to convert 12,500 British pounds to euros using the official ECB rate from today so I can issue a compliant EU invoice."},{"title":"Travel budget planning","prompt":"How many Japanese yen would I get for 2,000 euros at the ECB reference rate? Use today's rate."},{"title":"Historical accounting reconciliation","prompt":"What was the official ECB exchange rate for USD to CHF on November 15th? I need to convert 8,400 dollars to Swiss francs at that exact rate for our quarterly books."}],"resultDescription":"Returns the exact converted amount in the target currency, the ECB reference rate applied, and the precise ECB publication date used for the conversion. Results are given as exact decimals suitable for accounting and invoicing use.","failureModes":["Unsupported currency code — ECB only covers ~30 major currencies; exotic or minor currencies will fail","Date out of range — only dates within the last 90 days are supported; older historical dates return an error","Invalid ISO 4217 code — malformed 3-letter codes are rejected","No ECB rate published for requested date — weekends and ECB non-publishing days may have no rate; API may return closest available date or an error","Amount of zero or negative — excluded by schema validation"],"whenToPreferThis":"Choose this endpoint when you need official, auditable ECB reference rates suitable for EU invoicing, financial reporting, or accounting compliance — not for live mid-market or interbank rates. Prefer this over general FX APIs when the ECB publication date matters for legal or tax purposes, or when you need historical rates up to 90 days back at official ECB precision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:56.103Z","isFirstParty":false,"canonicalSlug":"ecb-fx-rates-e5f31aac"}