Central Bank Rates

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.

get/api/v1/central-banks/rates

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

sourcestring required
Example:USD

Source currency, 3-letter code

targetstring required
Example:EUR

Target currency, 3-letter code

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 rate for the pair from every source that can produce it

sourcestring
targetstring
as_ofstring date

Newest rate_date among the returned banks; each bank also carries its own rate_date

countinteger
methodologystring
disclaimerstring

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.