Every bank's latest official rate for one pair
Cross-bank comparison: each covered source's most recent official rate for the requested pair in a single call, with min/max/median and spread in basis points. Pairs a bank does not publish directly are cross-computed via that bank's own table only (never mixing banks) and flagged derived. Sources whose newest publication is older than 30 days are flagged stale and excluded from the spread stats. Banks that cannot produce the pair are skipped. Methodology: https://allratestoday.com/official-rates-methodology/. Available on all plans.
Request
- Base URL: https://allratestoday.com
- URL: https://allratestoday.com/api/v1/central-banks/rates
- Auth: one of:
- HTTP bearer
- API key in cookie art_session
Query parameters
Source currency, 3-letter code
Target currency, 3-letter code
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 rate for the pair from every source that can produce it
Example response
{
"source": "USD",
"target": "EUR",
"as_of": "2026-08-10",
"count": 41,
"banks": [
{
"code": "ecb",
"name": "European Central Bank",
"rate": 0.9214,
"rate_date": "2026-08-10",
"rate_type": "reference",
"derived": true,
"method": "inverse"
}
],
"stats": {
"min": 0.9187,
"max": 0.9241,
"median": 0.9214,
"spread_bps": 58.6,
"banks_in_stats": 38
},
"methodology": "https://allratestoday.com/official-rates-methodology/"
}Changes
No recorded changes to this operation across all 1 revision of this API.