Currencies: One currency over time
fx_getCurrencyHistoryOne currency over time
One currency's rate on every bulletin between start and end (default: the last 30 days; at most 366 days). Use for how a currency's official rate moved over days or months, e.g. USD/TRY over the last month.
GET /v1/fx/rates/{code} on Currencies (SBX-FX). Costs 1 credit per call.
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": {
"code": "<code>"
},
"name": "fx_getCurrencyHistory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | YYYY-MM-DD. Default: today. | |
| code | Yes | ISO 4217 code, e.g. USD. | |
| start | No | YYYY-MM-DD. | |
| source | No | `tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999). | tcmb |