---
title: "Bank of China (Hong Kong) Exchange Rate API: HKD Buy and Sell Rates as JSON"
description: "Bank of China (Hong Kong)'s telegraphic transfer buy / sell rates for 17 currencies against the Hong Kong dollar, read hourly from the bank's own page and served as JSON with the Hong Kong Monetary Authority official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/bank-of-china-hong-kong-exchange-rate-api/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-13T18:12:20.590Z
---

Bank of China (Hong Kong) is another of the city’s three note-issuing banks and the clearing bank for offshore yuan. Its telegraphic-transfer board covers about 17 currencies, including CNY and CNH, with a last-updated time in Hong Kong time. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Hong Kong Monetary Authority official rate and with other banks in Hong Kong, and the calls that return them.

## What the BOCHK board shows

- **17 currencies against the Hong Kong dollar**: AUD, BND, CAD, CHF, CNH, CNY, DKK, EUR, GBP, JPY, NOK, NZD, SEK, SGD, THB, USD and ZAR. Every value is HKD per 1 unit of the foreign currency.
- **The telegraphic transfer buy / sell pair.** The Hong Kong dollar trades in a 7.75–7.85 band against the US dollar under the Linked Exchange Rate System, so USD boards barely differ between banks; the spread that matters is on the other currencies. Banks publish telegraphic-transfer and bank-note boards; the pair here is TT. The HKMA does not publish a daily fixing for retail use.
- **USD on 13 November 2026**: BOCHK bought at 7.8213 and sold at 7.8715 HKD, a spread of 0.64%. The Hong Kong Monetary Authority official rate was 7.8455, so the bank's mid sat +0.01% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`2026/11/13 21:32:55 (HK)` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 20 October 2026.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 13 November 2026 board the tightest spreads were USD (0.64%), BND (0.76%), SGD (0.76%) and the widest THB (3.61%), ZAR (3.54%), SEK (2.05%). Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as `spread_pct`, so you can rank currencies or alert when a bank widens its board.

## USD at BOCHK and other banks in Hong Kong

USD on the 3 boards AllRatesToday reads in Hong Kong, all captured on 13 November 2026 (the Hong Kong Monetary Authority official rate was 7.8455):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| HSBC Hong Kong | 7.8132 | 7.8778 | 0.82% | 0.00% |
| **Bank of China (Hong Kong)** | 7.8213 | 7.8715 | 0.64% | +0.01% |
| Hang Seng Bank | 7.822 | 7.872 | 0.64% | +0.02% |

BOCHK had the 2nd narrowest USD spread of the 3. One call to `/api/v1/bank-rates/hk` returns every board in the table at once.

## Get the board (REST)

You need an API key; the [free key](https://allratestoday.com/register/) works. The full board:

```
curl "https://allratestoday.com/api/v1/bank-rates/hk/bochk" \
  -H "Authorization: Bearer art_live_your_key"
```

What comes back (the 13 November 2026 board, first three rows):

```
{
  "bank": "bochk",
  "name": "Bank of China (Hong Kong)",
  "country": "hk",
  "quote_ccy": "HKD",
  "bank_updated_at": "2026/11/13 21:32:55 (HK)",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-13T13:35:55.970Z",
  "rates": [
    {"ccy":"AUD","buy":5.2973,"sell":5.37262,"mid":5.33496,"spread_pct":1.412,"official":5.516,"vs_official_pct":-3.282},
    {"ccy":"BND","buy":6.07293,"sell":6.11896,"mid":6.095945,"spread_pct":0.755,"official":null,"vs_official_pct":null},
    {"ccy":"CAD","buy":5.46562,"sell":5.54869,"mid":5.507155,"spread_pct":1.508,"official":5.613,"vs_official_pct":-1.886},
    … 14 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

One currency, with the row fields at the top level:

```
curl "https://allratestoday.com/api/v1/bank-rates/hk/bochk?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
```

```
{
  "bank": "bochk",
  "name": "Bank of China (Hong Kong)",
  "country": "hk",
  "quote_ccy": "HKD",
  "bank_updated_at": "2026/11/13 21:32:55 (HK)",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-13T13:35:55.970Z",
  "ccy": "USD",
  "buy": 7.8213,
  "sell": 7.8715,
  "mid": 7.8464,
  "spread_pct": 0.64,
  "official": 7.8454999999999995,
  "vs_official_pct": 0.011,
  "disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
  "attribution": {
    "source": "Board rates published by Bank of China (Hong Kong) on its own website, collected by AllRatesToday",
    "bank_url": "https://www.bochk.com/whk/rates/exchangeRatesHKD/exchangeRatesHKD-input.action?lang=en",
    "url": "https://allratestoday.com/bank-exchange-rate-api/hk/bochk/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}
```

The board as it stood on a past day:

```
curl "https://allratestoday.com/api/v1/bank-rates/hk/bochk?date=2026-11-06" \
  -H "Authorization: Bearer art_live_your_key"
```

One currency over a date range, one row per day (paid plans; add `&format=csv`, `xml` or `xlsx` for a file):

```
curl "https://allratestoday.com/api/v1/bank-rates/hk/bochk/history?ccy=USD&from=2026-10-20&to=2026-11-13" \
  -H "Authorization: Bearer art_live_your_key"
```

## JavaScript

```
npm install @allratestoday/sdk
```

```
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Bank of China (Hong Kong)'s USD row
const r = await client.bankRates('hk', { bank: 'bochk', ccy: 'USD' });
console.log(`BOCHK buys USD at ${r.buy}, sells at ${r.sell} HKD`);

// The board as it stood on a past day
const past = await client.bankRates('hk', { bank: 'bochk', date: '2026-11-06' });
console.log(past.snapshot_date, past.rates.length);
```

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/hk/bochk",
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["ccy"], row["buy"], row["sell"], row["spread_pct"])
```

## Board rate or official rate?

The Hong Kong Monetary Authority rate is the one tax, accounting and customs rules in Hong Kong name; nobody transacts at it. BOCHK's board is the price a customer actually gets. The API puts both on every row: `official` is the central bank's rate for the same currency and `vs_official_pct` is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the [Hong Kong Monetary Authority endpoint](https://allratestoday.com/central-bank-rates-api/hkma/) when a rule asks for the official rate.

## FAQ

### Where do the Bank of China (Hong Kong) rates come from?

From the bank's own public rates page (https://www.bochk.com/whk/rates/exchangeRatesHKD/exchangeRatesHKD-input.action?lang=en), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price BOCHK shows, with the mid, the spread and the Hong Kong Monetary Authority rate added.

### Are these the official HKD exchange rates?

No. They are BOCHK's retail prices for customers. The official rate in Hong Kong is the Hong Kong Monetary Authority rate, which the API returns as `official` on each row where the central bank has one, and in full from the central-bank endpoint.

### How often is the BOCHK board updated?

AllRatesToday reads the page every hour. The bank's own last-updated stamp is returned as `bank_updated_at`, so you can tell a fresh read of an unchanged board from a new board.

### Can I get BOCHK rates for a past date?

Yes, from 20 October 2026 onward; every day's board is kept permanently. Add `?date=YYYY-MM-DD` for one day: the response is the board captured that day, or the nearest earlier day within five days, with `date_requested` and `snapshot_date` added. For a range, `/history?ccy=USD&from=…&to=…` returns one row per day as JSON, CSV, XML or XLSX on paid plans.

### Do I need an API key?

Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.

## Bank of China (Hong Kong) rates, as JSON

Free API key, hourly board captures, the official rate alongside.

 [Get your free API key](https://allratestoday.com/register/)

## Related

- [Bank of China (Hong Kong) live board rates](https://allratestoday.com/bank-exchange-rate-api/hk/bochk/)
- [All banks in Hong Kong side by side](https://allratestoday.com/bank-exchange-rate-api/hk/)
- [Hong Kong Monetary Authority official rates API](https://allratestoday.com/central-bank-rates-api/hkma/)
- [HSBC Hong Kong exchange rate API guide](https://allratestoday.com/blog/hsbc-hong-kong-exchange-rate-api/)
- [Hang Seng Bank exchange rate API guide](https://allratestoday.com/blog/hang-seng-bank-exchange-rate-api/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
