Currency exchange rates
fx_ratesOfficial exchange rates for 30 major currencies (European Central Bank reference rates): latest or any date since 1999, convert an amount, or a time series. Frankfurter API over ECB reference rates, published each working day ~16:00 CET. For crypto use crypto_price. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | targets (default: all) 0-30 items. | |
| date | No | historical date (optional) | |
| from | No | Base currency ISO 4217 code, e.g. "USD". Default "USD". | USD |
| amount | No | Amount of the base currency to convert. Default 1. | |
| end_date | No | with date: returns a daily series |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| from | No | ||
| rates | No | ||
| amount | No | ||
| source | No |