{"uid":"cap_gv9yC_fJlHeA2PzlZXGJb","slug":"vextorium-ecb-historical-exchange-rates-a3ab4a4b","name":"Vextorium ECB Historical Exchange Rates","description":"Historical ECB euro reference exchange rate for any date since 1999 and conversion between any two published currencies.","url":"https://api.vextorium.com/v1/ecb-rates-history?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":["date"],"properties":{"a":{"type":"string","description":"Target currency (default USD)"},"date":{"type":"string","description":"Date YYYY-MM-DD"},"from":{"type":"string","description":"Source currency (default EUR)"},"amount":{"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","null"],"properties":{"a":{"type":["string","null"]},"from":{"type":["string","null"]},"note":{"type":["string","null"]},"type":{"type":["number","null"]},"amount":{"type":["number","null"]},"result":{"type":["number","null"]},"source":{"type":["string","null"]},"reference_date":{"type":["string","null"]},"requested_date":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"a":"USD","from":"EUR","note":"If the date is a holiday or weekend, the last previous published day is used.","type":1.0686,"amount":100,"result":106.86,"source":"European Central Bank - euro reference exchange rates","reference_date":"2024-06-14","requested_date":"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_rgQQU7sPiuCMDkgRnFijb","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 European Central Bank's official euro reference exchange rate (and optional currency conversion result) for a specified historical date.","exampleAgentPrompt":"What was the ECB's official exchange rate from EUR to USD on June 14, 2024? And if I had 100 euros, how much would that have been in dollars?","exampleUseCases":[{"title":"Historical invoice currency reconciliation","prompt":"I need to reconcile an invoice from our German supplier dated March 5, 2024 — they billed us 2500 EUR. What was the official ECB rate to convert that to USD on that date, and what's the dollar amount?"},{"title":"Backtesting FX exposure for financial report","prompt":"For our Q1 2024 financial report, what was the ECB euro reference rate against GBP on January 31, 2024? I need the official published rate, not a market estimate."},{"title":"Cross-currency payment audit","prompt":"We made a payment on November 10, 2023 and need to verify the EUR to CHF rate that the ECB published that day. Can you look that up and tell me what 5000 EUR converted to in Swiss francs?"}],"resultDescription":"Returns a JSON object with the source currency (from), target currency (a), the ECB rate (type), the amount queried, the converted result, the requested date, the actual reference date used (last business day if holiday/weekend), and a note explaining date adjustment behavior, plus the official ECB source label.","failureModes":["Missing required 'date' field returns validation error","Date before ECB data availability returns no rate found","Invalid currency code returns null or error","Weekend/holiday dates return the last available business day's rate (not an error — noted in response)","Malformed date format (not YYYY-MM-DD) may cause parse failure"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative ECB euro reference rates for a specific historical date — especially for financial reporting, compliance, auditing, or accounting that requires the official ECB-published rate rather than a market mid-rate or bank rate. It handles non-business days gracefully by falling back to the last published rate. Prefer this over generic FX APIs when EUR-denominated official rates are specifically required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:46:23.289Z","isFirstParty":false,"canonicalSlug":"vextorium-ecb-historical-exchange-rates-a3ab4a4b"}