converters_exchange_rates
Exchange rates: daily reference rates for about 200 currencies, crypto and metals, with a standard-set fallback and standard-set history (reference rates, not live)
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": "converters_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Currency code, or a list of up to 20 codes, to convert to. Required unless listCurrencies is true. | |
| date | No | A past date, YYYY-MM-DD, up to today: the daily rate for that day. Standard-set fiat currencies go back to 1999-01-04; crypto, metals and the other broad-set currencies only from 2024-03-02, so a date before 2024-03-02 with BTC, XAU or any code outside the standard set, or with source broad, is a 400 that names both start dates. A future date or one before 1999-01-04 is a 400. On a weekend or holiday you get the latest earlier working day, with a dateNote. Example: 2024-03-15. | |
| from | No | Currency code to convert from (default USD): ISO codes such as USD, plus crypto and metal codes in the broad set. | |
| amount | No | Amount to convert (default 1), from 0.000001 to 1e12 (1,000,000,000,000); outside that range is a 400. Converted fiat values keep 2 decimals, or 6 when the result is under 0.01, so a small amount never rounds to 0; crypto and other codes keep 8. | |
| source | No | auto (default): the broad daily set of about 200 currencies, crypto and metals, falling back to the standard set; broad: only the broad set; standard: only the standard set (about 30 currencies, and the only one with history ranges). | |
| endDate | No | History: last day of the range, on or before today. Example: 2024-03-15. | |
| startDate | No | History: first day of a range of up to 366 days (send with endDate). Must be between 1999-01-04 and today. Example: 2024-01-02. | |
| listCurrencies | No | true returns the supported currency codes (with type and name) and the date of the latest rates. |