Get exchange rate history
get_rate_historyRetrieve historical exchange rates for a currency pair over a date range, grouped by day, hour, or minute to analyze rate trends.
Instructions
Historical rates over a period, grouped by day/hour/minute. GET /v1/rates?from&to&group.
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": {
"source": "<source>",
"target": "<target>",
"start": "<start>",
"end": "<end>"
},
"name": "get_rate_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ISO 8601 date or date-time, e.g. 2026-01-31 or 2026-01-31T00:00:00Z. | |
| group | No | day | |
| start | Yes | ISO 8601 date or date-time, e.g. 2026-01-31 or 2026-01-31T00:00:00Z. | |
| source | Yes | ISO 4217 currency code, e.g. EUR. | |
| target | Yes | ISO 4217 currency code, e.g. EUR. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||