Central Bank Rates

Publication calendar for a bank

The dates a bank actually published a table, for one year (?year=2026) or a date range (defaults to the last year; capped at 3700 dates). Weekends, holidays, and weekly/quarterly cadences show up as missing dates. Dates only, no values — available on all plans.

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

Request

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

yearinteger
Example:2026

Whole calendar year (overrides from/to)

fromstring date
tostring date
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

Ascending list of published dates

bankstring
namestring
fromstring date
tostring date
countinteger
truncatedboolean
datesstring[]
note_semanticsstring

Example response

{
  "bank": "boc",
  "name": "Bank of Canada",
  "count": 251,
  "dates": [
    "2026-01-02",
    "2026-01-05"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.