ECB Currency Exchange Rates API (per-call)
ecb_currency_exchange_ratesOfficial European Central Bank euro foreign exchange reference rates as clean JSON, per call. Send a base currency and a list of target currency codes and receive the current cross-rate for each target plus the ECB reference date and source. Data comes from the ECB's public daily euro reference rate feed (eurofxref-daily.xml), published by the ECB for reuse. Built for AI agents and developers that need a trustworthy, dated FX rate in one call without scraping or maintaining a currency table. Errors (unknown currency code, unreachable source) are returned as a clear JSON error message, never as silent empty fields. Example input: {"base": "EUR", "symbols": ["USD", "GBP"]}. Uses one call of your free daily calls or prepaid key; x402 clients pay $0.001 per call in USDC. Only successful calls count.
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": "ecb_currency_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| symbols | No |