{"uid":"cap_tkRVcwEWv7gj1Q470nYkt","slug":"ecb-euro-reference-exchange-rates-currency-conversion-0a5fefcb","name":"ECB Euro Reference Exchange Rates & Currency Conversion","description":"Official European Central Bank euro reference exchange rates (about 30 currencies) and currency conversion between any two of them, with reference date.","url":"https://api.vextorium.com/divisas-bce-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{"a":{"type":"string","description":"Target currency (omit to get all rates)"},"de":{"type":"string","description":"Source currency, e.g. EUR"},"importe":{"type":"number"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"a":{"type":["string","null"]},"de":{"type":["string","null"]},"base":{"type":["string","null"]},"nota":{"type":["string","null"]},"tipo":{"type":["number","null"]},"tipos":{"type":["object","null"],"description":"All rates against 'base' (only when 'a' is omitted)","additionalProperties":{"type":"number"}},"fuente":{"type":["string","null"]},"importe":{"type":["number","null"]},"resultado":{"type":["number","null"]},"fecha_referencia":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"a":"USD","de":"EUR","tipo":1.1403,"importe":100,"resultado":114.03,"fecha_referencia":"2026-09-25"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_4LhUpyW55FV8ED9bBK57z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest European Central Bank official euro reference rates for ~30 currencies, and optionally converts an amount between any two of those currencies.","exampleAgentPrompt":"What's the official ECB euro reference rate for converting 1,200 EUR to USD today? Give me the converted amount and the reference date.","exampleUseCases":[{"title":"Invoice conversion for cross-border billing","prompt":"I'm billing a UK client €3,500 for consulting work — what's the official ECB rate for EUR to GBP today, and how much is that in pounds? I need the reference date too for the invoice."},{"title":"Snapshot of all ECB euro rates","prompt":"Can you pull all the current ECB official euro reference rates for me? I want to see every currency they publish today in one go."},{"title":"Multi-currency expense report reconciliation","prompt":"I have a travel expense of 800 euros — what does that come out to in Swiss francs using the official European Central Bank rate, and what date is the rate from?"}],"resultDescription":"Returns a JSON object with: the source currency (de), target currency (a), base currency (base), the exchange rate (tipo), the converted amount (resultado), the original amount (importe), the ECB reference date (fecha_referencia), the source label (fuente), any notes (nota), and — when no target currency is specified — a map of all ~30 ECB rates (tipos).","failureModes":["Unsupported currency code returns null or error — ECB only covers ~30 currencies","Missing required body fields (type, method, bodyType) cause request failure","ECB data may not update on weekends or public holidays, so fecha_referencia may lag","Malformed amount (non-numeric importe) causes computation failure","Rate temporarily unavailable if ECB has not yet published the day's fixing"],"whenToPreferThis":"Choose this endpoint when you need the authoritative, official ECB euro reference rate rather than a commercial FX rate or mid-market approximation. Ideal for compliance, invoicing, accounting, and regulatory contexts where the ECB fixing is the required standard. Also use when you need a full snapshot of all ~30 ECB-published rates in a single call. Prefer the sibling historical endpoint when a past date's rate is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:44:54.267Z","isFirstParty":false,"canonicalSlug":"ecb-euro-reference-exchange-rates-currency-conversion-0a5fefcb"}