Overview
Use when an agent needs the ECB euro reference rate for a currency pair on a date (default latest), optionally converting an amount (max 1e9, 6 decimals). 29 currencies + EUR from 1999-01-04. Inverse/cross rates via EUR are calculated here and rounded (rate 10 significant digits, converted 6 decimals). Information only; original data free at ecb.europa.eu. No charge: 400, 404 no rate, 405, 429; 502/503 (incl. stale data).
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
ECB FX Reference Rates
Indexed
2026-11-16 13:08:22
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"amount": "100",
"date": "2026-11-05",
"from": "USD",
"to": "JPY"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"amount": 100,
"attribution": "Source: European Central Bank (ECB), euro foreign exchange reference rates. The original data is available free of charge from the ECB website: https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
"converted": 15845.50962,
"convertedText": "15845.509620",
"date": "2026-11-05",
"fallback": false,
"from": "USD",
"note": "ECB reference rates are for information purposes only; the ECB strongly discourages using them for transactions. Processing by this API (not published by the ECB): rates are the ECB euro reference rates, inverted (X to EUR = 1 / rate) and combined through EUR for cross rates, and the result is rounded to 10 significant digits; converted = amount x rate (the rounded rate), rounded half-up to 6 decimals.",
"rate": 158.4550962,
"requestedDate": "2026-11-05",
"source": "ECB euro foreign exchange reference rates",
"sourceUrl": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
"to": "JPY"
},
"type": "json"
}