Official rate time series
Daily series over a date range (defaults to the last year; capped at 5000 rows — narrow the range if truncated is true). Use symbol for every published pair involving one currency, or source+target for a single resolved pair per date (cross-computed via the home currency when needed, flagged derived). Archives reach back to 2000 and earlier for major sources. Paid plans only.
Request
- Base URL: https://allratestoday.com
- URL: https://allratestoday.com/api/v1/central-bank/{bank}/history
- Auth: one of:
- HTTP bearer
- API key in cookie art_session
Path parameters
Source code from /api/v1/central-banks (e.g. ecb, boc, cbsl, banxico, ustreasury)
Query parameters
3-letter currency code matching either side of the pair. Required unless source+target are given.
Pair mode: source currency, 3-letter code (requires target)
Pair mode: target currency, 3-letter code (requires source)
Range start (YYYY-MM-DD; default: one year before to)
Range end (YYYY-MM-DD; default: today)
Response format (default json). csv is UTF-8 with a BOM; xlsx is a real Excel workbook with typed dates and numbers; xml mirrors the JSON fields.
Response
Ascending daily series
Example response
{
"bank": "ecb",
"name": "European Central Bank",
"symbol": "USD",
"source": "USD",
"target": "LKR",
"count": 254
}Changes
No recorded changes to this operation across all 1 revision of this API.