---
title: "Latest official table as JSON (open) or CSV/XLSX download (free account)"
method: GET
path: "/api/public/central-bank/{bank}"
tags: ["Central Bank Rates", "Open Endpoints"]
---

# Latest official table as JSON (open) or CSV/XLSX download (free account)

`GET /api/public/central-bank/{bank}`

## Request

- Base URL: `https://allratestoday.com`
- URL: `https://allratestoday.com/api/public/central-bank/{bank}`
- Auth: one of:
  - none
  - API key in cookie `art_session`

The latest published table for one source. JSON is open (no key). `format=csv` and `format=xlsx` return a downloadable file and require a logged-in free account (session cookie) — register at https://allratestoday.com/register. XML is not supported on this endpoint.

## Path parameters

- `bank` string, required

## Query parameters

- `format` 'json' | 'csv' | 'xlsx'

## Response `200`

Latest table (raw cache shape) or file download

- object
  - `bank` string
  - `rate_date` string, date
  - `rates` object[]
    - `base_ccy` string
    - `quote_ccy` string
    - `rate_type` string
    - `value` number, double

## Other responses

- `400`: Invalid or missing parameters
- `401`: File downloads (csv/xlsx) require a logged-in free account
- `404`: Unknown source or no published table yet

---

[API](https://skmtc.dev/allratestoday/apis/allratestoday-exchange-rate-central-bank-rates-api.md) · [All operations](https://skmtc.dev/allratestoday/apis/allratestoday-exchange-rate-central-bank-rates-api/llms.txt) · [OpenAPI document](https://skmtc.dev/allratestoday/apis/allratestoday-exchange-rate-central-bank-rates-api/revisions/c2e58e9b4da4?raw)
