ECB Currency Exchange Rates
fx_reference_ratesCurrency 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. Price: $0.001 per call via x402 (USDC on Base or XRP on XRPL). The response includes a provenance block (sg-provenance/1): each fact carries its source, source URL, retrieval time and limits; evidence only, no score, rating or verdict. Example arguments: {"base":"USD","symbols":"EUR,GBP,JPY"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fx_reference_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency (ISO 4217), default EUR | |
| date | No | Rate date YYYY-MM-DD within the last 90 days; default latest | |
| amount | No | Optional amount to convert | |
| symbols | No | Comma-separated ISO 4217 codes; default all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ECB reference rates for the base currency on the rate date, optional converted amounts | |
| receipt | No | Ed25519-signed, hash-chained receipt; verify free with the verify_receipt tool or POST /v1/verify-receipt. New receipts carry a signed `evidence` object: service_version, data_timestamp, validation, terms_version, terms_hash, provenance_hash. |