Central Bank Rates
Latest official rate table for a bank
The bank's most recent published table (e.g. ecb, boc, cbsl, banxico). Pass source+target to get a single pair — cross-computed via the bank's home currency when not directly published and flagged derived. Available on all plans.
get/api/v1/central-bank/{bank}/latest
Request
- Base URL: https://allratestoday.com
- URL: https://allratestoday.com/api/v1/central-bank/{bank}/latest
- Auth: one of:
- HTTP bearer
- API key in cookie art_session
Path parameters
bankstring required
Example:ecb
Source code from /api/v1/central-banks (e.g. ecb, boc, cbsl, banxico, ustreasury)
Query parameters
sourcestring
Example:USD
Pair mode: source currency, 3-letter code (requires target)
targetstring
Example:LKR
Pair mode: target currency, 3-letter code (requires source)
format'json' | 'csv' | 'xml' | 'xlsx'
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
Latest published table (or single resolved pair when source+target given)
Example response
{
"bank": "ecb",
"name": "European Central Bank",
"rate_date": "2026-08-10",
"rates": [
{
"base": "EUR",
"quote": "USD",
"type": "reference",
"value": 1.0853
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.