{"uid":"cap_ADaQme6Rwkt0CjvPXQ-Y2","slug":"ecb-fx-rates-api-x402-7ec43320","name":"ECB FX Rates API (x402)","description":"Pay-per-call data and web utilities for AI agents: web page to Markdown, SEO audit, email check, domain RDAP/DNS and mail security, ECB FX rates, time zones and business days, SEC EDGAR search and fundamentals, Federal Register, USAspending, weather and NWS alerts, VIN, NPI, ATS jobs. USDC on Base via x402, no sign-up.","url":"https://x402-data-api-x6da.onrender.com/v1/fx/rates?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"base":{"type":"string","description":"ISO 4217, default EUR"},"date":{"type":"string","description":"YYYY-MM-DD within last 90 days; uses the latest fixing on or before it"},"amount":{"type":"number","description":"default 1"},"symbols":{"type":"string","description":"comma list, default all"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"base":{"type":"string"},"date":{"type":"string"},"rates":{"type":"object","properties":{"EUR":{"type":"number"},"GBP":{"type":"number"},"JPY":{"type":"number"}}},"amount":{"type":"number"},"attribution":{"type":"string"},"requested_date":{},"eur_reference_rates":{"type":"object","properties":{"AUD":{"type":"number"},"BRL":{"type":"number"},"CAD":{"type":"number"},"CHF":{"type":"number"},"CNY":{"type":"number"},"CZK":{"type":"number"},"DKK":{"type":"number"},"GBP":{"type":"number"},"HKD":{"type":"number"},"HUF":{"type":"number"},"IDR":{"type":"number"},"ILS":{"type":"number"},"INR":{"type":"number"},"ISK":{"type":"number"},"JPY":{"type":"number"},"KRW":{"type":"number"},"MXN":{"type":"number"},"MYR":{"type":"number"},"NOK":{"type":"number"},"NZD":{"type":"number"},"PLN":{"type":"number"},"RON":{"type":"number"},"SEK":{"type":"number"},"TRY":{"type":"number"},"USD":{"type":"number"}}}}}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-23","rates":{"EUR":89.341553,"GBP":74.803895,"JPY":15680.335924},"amount":100,"attribution":"Source: ECB statistics (euro foreign exchange reference rates, https://www.ecb.europa.eu/stats/eurofxref/). Published for information purposes only; cross rates are derived from EUR rates.","requested_date":null,"eur_reference_rates":{"AUD":1.5939,"BRL":5.6485,"CAD":1.5665,"CHF":0.9227,"CNY":7.466,"CZK":24.327,"DKK":7.4748,"GBP":0.83728,"HKD":8.7793,"HUF":366.73,"IDR":20268.06,"ILS":3.4939,"INR":106.272,"ISK":136.2,"JPY":175.51,"KRW":1482.46,"MXN":21.0226,"MYR":4.5729,"NOK":10.4665,"NZD":1.9682,"PLN":4.3945,"RON":5.3492,"SEK":11.131,"TRY":55.6715,"USD":1.1193}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1EGzbLYyZkqRTA21gRIFO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns European Central Bank foreign exchange reference rates for a given base currency, date, and set of currency symbols, billed per call via USDC on Base.","exampleAgentPrompt":"What are the official ECB exchange rates for USD, GBP, and JPY as of yesterday, using EUR as the base currency?","exampleUseCases":[{"title":"Historical FX rate for compliance audit","prompt":"Pull the official ECB exchange rate for USD and GBP on March 15th — I need the EUR-based reference rates for a compliance report."},{"title":"Multi-currency portfolio valuation","prompt":"Get me today's ECB reference rates for AUD, CAD, CHF, and JPY so I can revalue my portfolio holdings in EUR terms."},{"title":"Currency conversion for invoice","prompt":"Using ECB rates, how much is 5000 USD worth in EUR and GBP right now? I need the official reference rate for an invoice I'm issuing."}],"resultDescription":"A JSON object containing the base currency, the effective rate date, an amount field, a rates map of requested symbols to their exchange rates (relative to the base), the full set of EUR reference rates from the ECB, and an attribution string crediting ECB statistics. Cross-rates are derived from EUR reference rates.","failureModes":["Date outside last 90 days returns an error or no data","Invalid ISO 4217 currency code returns an error","Unsupported symbol in comma list may be omitted or cause an error","Payment failure (insufficient USDC balance) returns HTTP 402","Rate not yet published for today (ECB publishes once daily around 16:00 CET) may return previous day's rate"],"whenToPreferThis":"Choose this endpoint when you need official ECB foreign exchange reference rates — particularly for compliance, accounting, or financial reporting where ECB authority matters. Prefer it over commercial FX APIs when official euro-area data is required, historical rates within the last 90 days are needed, or when you want a pay-per-call model without subscription sign-up via x402/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:48:32.180Z","isFirstParty":false,"canonicalSlug":"ecb-fx-rates-api-x402-7ec43320"}