{"uid":"cap_y1ZvK8e34cyyVqMgM6mMy","slug":"ecb-historical-euro-exchange-rate-currency-converter-05c573fd","name":"ECB Historical Euro Exchange Rate & Currency Converter","description":"Historical ECB euro reference exchange rate for any date since 1999 and conversion between any two published currencies.","url":"https://api.vextorium.com/bce-historico-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":["fecha"],"properties":{"a":{"type":"string","description":"Target currency (default USD)"},"de":{"type":"string","description":"Source currency (default EUR)"},"fecha":{"type":"string","description":"Date YYYY-MM-DD"},"importe":{"type":"number","description":"Amount to convert (default 1)"}}},"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"]},"nota":{"type":["string","null"]},"tipo":{"type":["number","null"]},"fuente":{"type":["string","null"]},"importe":{"type":["number","null"]},"resultado":{"type":["number","null"]},"fecha_pedida":{"type":["string","null"]},"fecha_referencia":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"a":"USD","de":"EUR","nota":"Si la fecha es festivo o fin de semana se usa el ultimo dia publicado anterior.","tipo":1.0686,"fuente":"Banco Central Europeo - tipos de cambio de referencia del euro","importe":100,"resultado":106.86,"fecha_pedida":"2024-06-14","fecha_referencia":"2024-06-14"}},"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_Tv4oPonUd1QNj6qeQA65J","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 ECB official euro reference exchange rate for a given date since 1999 and optionally converts an amount between any two published currencies.","exampleAgentPrompt":"What was the official ECB euro reference rate between EUR and USD on March 15 2021, and how much would 2500 EUR have been worth in USD on that date?","exampleUseCases":[{"title":"Historical invoice currency reconciliation","prompt":"I need to reconcile a supplier invoice — convert 8500 EUR to GBP using the official ECB reference rate from November 3 2022."},{"title":"Portfolio historical cost basis","prompt":"What was the ECB's official EUR to JPY exchange rate on July 10 2019? I need to figure out how much 50000 yen was worth in euros back then."},{"title":"Compliance report FX rate lookup","prompt":"Pull the official ECB euro reference rate for EUR to CHF on April 1 2020 — our compliance team needs the official rate for that date for an audit."}],"resultDescription":"Returns the ECB reference exchange rate (tipo) for the requested date, the actual reference date used (which may differ slightly if the requested date had no published rate), the source currency (de), target currency (a), the amount queried (importe), the converted result (resultado), and a note (nota) explaining any date adjustments or data caveats.","failureModes":["Date before 1999-01-04 (ECB data not available before euro launch) — returns null or error","Weekend or ECB holiday date — endpoint may return the nearest published rate with an adjusted reference date","Unsupported or misspelled currency code — returns null rate/result","Missing required 'fecha' field — request fails with validation error","Future date requested — no ECB rate published yet, returns null"],"whenToPreferThis":"Use this endpoint when you need the official ECB euro reference rate for a specific historical date, particularly for compliance, accounting, invoicing, or auditing purposes where the ECB rate is the authoritative source. Prefer this over live-rate APIs when working with past dates back to 1999, or when EUR is one of the currencies involved and official EU data is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:44:54.261Z","isFirstParty":false,"canonicalSlug":"ecb-historical-euro-exchange-rate-currency-converter-05c573fd"}