get_historical_rates
Fetch historical exchange rates for a currency pair with periods from 1 day (hourly) to 1 year (weekly).
Instructions
Get historical exchange-rate data points for a currency pair over a period. Periods: 1d (hourly), 7d (daily), 30d (daily), 1y (weekly). Requires API key (ALLRATES_API_KEY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ISO 4217 currency code (e.g. USD, EUR, GBP). | |
| target | Yes | ISO 4217 currency code (e.g. USD, EUR, GBP). | |
| period | No | Time period to fetch history for. | 7d |