Central Bank Rates

Official rate table for a specific date

The bank's published table in force on a date. Weekends and holidays return the most recent published date on or before the requested one — rate_date says which, and published_on_requested_date is false when they differ (this is the rate compliance users must apply). Optional source+target narrows to one pair. History reaches back to 2000 and earlier for major sources. Paid plans only. JSON only.

get/api/v1/central-bank/{bank}/{date}

Request

  • Base URL: https://allratestoday.com
  • URL: https://allratestoday.com/api/v1/central-bank/{bank}/{date}
  • 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)

datestring date required
Example:2026-06-30

Requested date (YYYY-MM-DD)

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)

Response

Table (or single pair) in force on the date

OR

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.