---
title: "Latest official rate table for a bank"
method: GET
path: "/api/v1/central-bank/{bank}/latest"
tags: ["Central Bank Rates"]
---

# Latest official rate table for a bank

`GET /api/v1/central-bank/{bank}/latest`

## Request

- Base URL: `https://allratestoday.com`
- URL: `https://allratestoday.com/api/v1/central-bank/{bank}/latest`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `art_session`

The bank's most recent published table (e.g. `ecb`, `boc`, `cbsl`, `banxico`). Pass `source`+`target` to get a single pair — cross-computed via the bank's home currency when not directly published and flagged `derived`. Available on all plans.

## Path parameters

- `bank` string, required

## Query parameters

- `source` string
- `target` string
- `format` 'json' | 'csv' | 'xml' | 'xlsx'

## Response `200`

Latest published table (or single resolved pair when source+target given)

- union
  - CbTable
    - `bank` string
    - `name` string
    - `rate_date` string, date
    - `rates` CbRate[]
      - `base` string
      - `quote` string
      - `type` string: Rate type as labeled by the bank (reference, buying, selling, indicative, ...)
      - `value` number, double
    - `disclaimer` string
  - CbPair
    - `bank` string
    - `name` string
    - `rate_date` string, date
    - `source` string
    - `target` string
    - `rate` number, double
    - `rate_type` string
    - `derived` boolean: True when not directly published by the bank (inverse or cross-computed)
    - `method` 'published' | 'inverse' | 'cross'
    - `disclaimer` string

## Other responses

- `400`: Invalid or missing parameters
- `401`: Authentication required — provide an API key via `Authorization: Bearer art_live_...` (free keys at https://allratestoday.com/register)
- `404`: Unknown bank, or the bank does not publish the requested pair
- `429`: Monthly request limit exceeded (X-Monthly-Limit / X-Monthly-Used / X-Monthly-Resets headers included)
- `503`: No rates ingested yet for this bank

---

[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)
