Get Timeseries
get_timeseriesGet exchange rates over a date range for trend analysis. Returns daily rates between start and end dates. Example: get_timeseries(start_date: "2024-01-01", end_date: "2024-03-31", base: "USD", symbols: "EUR").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "USD",
"symbols": "EUR",
"end_date": "2024-03-31",
"start_date": "2024-01-01"
},
"name": "get_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency code (default "EUR") | |
| symbols | No | Comma-separated target currency codes (e.g., "USD,GBP") | |
| end_date | Yes | End date in YYYY-MM-DD format | |
| start_date | Yes | Start date in YYYY-MM-DD format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency code | |
| rates | Yes | Daily exchange rates keyed by date then currency | |
| end_date | Yes | End date of the time series | |
| start_date | Yes | Start date of the time series |