get_fx_rates
Currency exchange rates. currency_conversion like 'USD-EUR'. interval picks the bar size (5m and 1h cover recent days, 1d/1w/1mo cover years).
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": {
"currency_conversion": "<currency_conversion>"
},
"name": "get_fx_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date filter in YYYY-MM-DD format, e.g. '2026-06-30'. | |
| filters | No | Optional extra filters as a JSON object of API parameter names and values, e.g. {"fiscal_year": 2025}. Call list_filters with this tool's name to see every accepted filter. | |
| interval | No | Bar size: '5m' and '1h' cover recent days; '1d', '1w' and '1mo' cover years. | 1d |
| currency_conversion | Yes | Currency pair as FROM-TO, e.g. 'USD-EUR', 'EUR-JPY' or 'GBP-USD'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The records: a list of objects (or one object) with the requested data. | |
| note | No | Present when the answer was shortened, with how to get the rest. | |
| rows | No | Number of records the API returned (before any shortening). | |
| error | No | Present when the call failed, with the reason. | |
| detail | No | Extra error detail from the API, e.g. which filter is required. | |
| paging | No | For paged answers: offset, rows_shown, total and next_offset (call again with offset=next_offset for more rows). | |
| endpoint | No | DataPorium API endpoint that answered, e.g. /company-info. | |
| filters_sent | No | Filters sent to the API for this answer. | |
| allowed_filters | No | On an unknown-filter error: the filters this endpoint accepts. |