exchangerate_historical
Retrieve historical exchange rates for any date. Specify base currency, year, month, day, and API key.
Instructions
Get historical exchange rates for a specific date. Requires an API key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>",
"month": "<month>",
"day": "<day>"
},
"name": "exchangerate_historical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | Day number (1-31) | |
| base | No | Base currency code (default USD) | |
| year | Yes | 4-digit year | |
| month | Yes | Month number (1-12) | |
| api_key | No | ExchangeRate-API key (required) |