{"uid":"cap_bCx1wW1e6wqDS8tapdKjn","slug":"ecb-currency-exchange-rates-5e26f856","name":"ECB Currency Exchange Rates","description":"Currency exchange rates from the European Central Bank: euro reference rates for 29 currencies plus EUR (USD, GBP, JPY, CHF, CNY...), latest or any day in the last 90 days, with cross rates for any base and optional amount conversion (e.g. 100 USD to EUR). Use for invoicing, pricing and reporting. Reference rates, not transaction rates. Source: ECB; free at ecb.europa.eu. Signed receipt.","url":"https://api.stablecoingateways.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"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"base":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"Base currency (ISO 4217), default EUR"},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Rate date YYYY-MM-DD within the last 90 days; default latest"},"amount":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Optional amount to convert"},"symbols":{"type":"string","description":"Comma-separated ISO 4217 codes; default all"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","receipt"],"properties":{"data":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"base":{"type":"string"},"note":{"type":"string"},"rates":{"type":"object","properties":{"EUR":{"type":"number"},"GBP":{"type":"number"},"JPY":{"type":"number"}}},"source":{"type":"string"},"window":{"type":"array","items":{"type":"string"}},"rate_date":{"type":"string"},"provenance":{"type":"object","description":"Additive evidence block (sg-provenance/1): per-fact source, retrieval time, limits; no score or verdict. Full schema in OpenAPI."},"requested_date":{},"cross_rates_derived":{"type":"boolean"}},"description":"ECB reference rates for the base currency on the rate date, optional converted amounts"},"receipt":{"type":"object","required":["v","endpoint_id","ts","price","tx_hash","request_hash","response_hash","log_seq","sig"],"properties":{"evidence":{"type":"object","description":"Signed evidence (see llms.txt)"}},"description":"Ed25519-signed receipt; verify free at POST /v1/verify-receipt. New receipts also carry a signed `evidence` object."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"base":"USD","note":"ECB reference rates are for information only and are not transaction rates.","rates":{"EUR":0.89015489,"GBP":0.74617233,"JPY":157.87787075},"source":"European Central Bank euro foreign exchange reference rates. Source: ECB. This informat...","window":["2026-07-24"],"rate_date":"2026-10-21","requested_date":null,"cross_rates_derived":true},"receipt":{"v":1,"ts":"2026-10-22T09:00:00Z","sig":"hex","price":{"asset":"USDC","amount":"1000","network":"eip155:84532"},"log_seq":1,"tx_hash":"0x..","endpoint_id":"fx-reference-rates-v1","request_hash":"hex","response_hash":"hex"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vmr2PLsz15IC-jo4HY5qq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches European Central Bank euro reference rates for up to 30 currencies, with optional cross-rate calculation and amount conversion, for any date within the last 90 days.","exampleAgentPrompt":"What's the ECB reference rate for converting 500 USD to EUR today? I need the official rate for an invoice I'm preparing.","exampleUseCases":[{"title":"Invoice currency conversion for billing","prompt":"I need to bill a client in EUR but my costs are in GBP — what's today's ECB reference rate for GBP to EUR, and what would 2500 GBP convert to?"},{"title":"Historical FX rate for financial reporting","prompt":"Pull the ECB reference rates for USD, CHF, and JPY against EUR on 2024-09-15 — I need these for a quarterly financial report."},{"title":"Multi-currency pricing check","prompt":"Get me the latest ECB rates for EUR, GBP, CNY, and JPY all relative to USD so I can update our international pricing sheet."}],"resultDescription":"Returns a JSON object with the base currency, rate date, a map of target currency codes to exchange rate values (as floats), a note clarifying these are reference rates not transaction rates, a 'cross_rates_derived' boolean flag, and a signed Ed25519 receipt containing endpoint ID, timestamp, price paid, transaction hash, and request/response hashes for verification.","failureModes":["Date outside 90-day window returns an error — only dates within the last 90 days are supported","Invalid or unsupported currency code (not among ECB's 29 currencies) returns an error or omits that currency","Weekend or ECB non-trading day may return the most recent available rate date rather than the exact requested date","Malformed date format (not YYYY-MM-DD) causes a validation error","Payment failure via x402 protocol results in 402 response before data is returned"],"whenToPreferThis":"Choose this endpoint when you need official ECB euro reference rates for invoicing, financial reporting, or pricing — especially when an auditable signed receipt is required. Prefer it over generic FX APIs when ECB provenance matters (e.g. EU regulatory compliance, VAT invoicing). Not suitable for live trading rates or rates older than 90 days.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T13:19:01.599Z","isFirstParty":false,"canonicalSlug":"ecb-currency-exchange-rates-5e26f856"}