Central Bank Rates
Open Endpoints

Latest official table — keyless, attribution required

The latest published table for a central bank or tax authority, with no API key. CORS-enabled and edge-cached (30–60 min), built for embeds and widgets. Free to use with a visible attribution link to allratestoday.com (the response includes the attribution object). Pass source+target for a single pair (direct or inverse only). JSON only. For historical dates, time series, or cross-computed pairs use the keyed /api/v1/central-bank/* endpoints.

get/api/open/central-bank/{bank}

Request

  • Base URL: https://allratestoday.com
  • URL: https://allratestoday.com/api/open/central-bank/{bank}
  • Auth: none declared

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)

Response

Latest published table (or single pair) with attribution

bankstring
rate_datestring date
sourcestring

Pair mode

targetstring

Pair mode

ratenumber double

Pair mode

rate_typestring

Pair mode

derivedboolean

Pair mode: true when computed as the inverse of the published rate

method'published' | 'inverse'

Pair mode

Example response

{
  "bank": "ecb",
  "rate_date": "2026-08-10",
  "rates": [
    {
      "base": "EUR",
      "quote": "USD",
      "type": "reference",
      "value": 1.0853
    }
  ],
  "source": "EUR",
  "target": "USD",
  "rate": 1.0853,
  "rate_type": "reference",
  "attribution": {
    "source": "Official rates published by ECB, served by AllRatesToday",
    "url": "https://allratestoday.com/central-bank-rates-api/ecb/",
    "terms": "Free to use with visible attribution linking to allratestoday.com"
  }
}

Changes

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