exchange_rates
Pay-per-call official exchange rates for AI agents. Get the European Central Bank's euro reference rates for about 30 currencies (USD, GBP, JPY, CHF and more), converted to any base currency you choose (cross rates are labelled), for the latest day or any date in the last 90 days. Optional amount converts for you. Errors never charged. Use this when the user needs an official exchange rate or a currency conversion (ECB reference rates, about 30 currencies, last 90 days). Not for: live trading prices or crypto prices; rates for currencies the ECB does not publish. Price: $0.005 USDC per call (x402).
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": "exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency, 3 letters (default EUR). Example: GBP | |
| date | No | Date YYYY-MM-DD within the last 90 days (default latest). Example: 2026-11-27 | |
| amount | No | Amount of the base currency to convert. Example: 100 | |
| symbols | No | Comma-separated currencies to return (default all). Example: USD,EUR,JPY |