Historical Currency
GET /api/historical/timeseries
Get time series data for a date range with optional amount conversion (max 5 years)
Request
- Base URLhttps://api.unirateapi.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
api_keystring required
API key for authentication
start_datestring required
Start date in YYYY-MM-DD format
end_datestring required
End date in YYYY-MM-DD format
amountnumber
Amount to convert (optional)
basestring
The base currency for the time series data (optional). Defaults to USD.
format'json' | 'xml' | 'csv' | 'tsv'
The format of the response (optional).
callbackstring
The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
currenciesstring
Comma-separated list of currency codes to retrieve (optional)
Response
Time series data retrieved successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.