---
title: "Bank of China (Thai) Exchange Rate API: THB Buy and Sell Rates as JSON"
description: "Bank of China (Thai)'s telegraphic transfer buy / sell rates for 16 currencies against the Thai baht, read hourly from the bank's own page and served as JSON with the Bank of Thailand official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/bank-of-china-thai-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-15T19:13:58.759Z
---

Bank of China (Thai) Public Company Limited is the Thai subsidiary of Bank of China, locally incorporated in 2014. Its rate table lists telegraphic-transfer and cash buying and selling rates against the baht for about 16 currencies, with the time of each update. Shares the Bank of China group rate-frame platform (bankofchina.com/sourcedb/). This guide shows how to read that board as JSON: what the rates mean, how they compare with the Bank of Thailand official rate and with other banks in Thailand, and the calls that return them.

## What the Bank of China Thai board shows

- **16 currencies against the Thai baht**: AUD, CAD, CHF, CNY, DKK, EUR, GBP, HKD, IDR, JPY, MYR, NOK, NZD, SEK, SGD and USD. Every value is THB per 1 unit of the foreign currency.
- **The telegraphic transfer buy / sell pair.** Thai banks print several buying rates per currency (bank notes, cheques and telegraphic transfers) and one selling rate, and they update the board several times a day; small notes of the US dollar get a lower rate than 50 and 100 notes. The rates here are the telegraphic-transfer buying rate and the transfer selling rate. The Bank of Thailand official rate is shown next to each row.
- **USD on 15 November 2026**: Bank of China Thai bought at 33.74 and sold at 34.04 THB, a spread of 0.89%. The Bank of Thailand official rate was 34.0385, so the bank's mid sat -0.44% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`2026-11-15 00:00:01` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 15 November 2026, the day collection started.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 15 November 2026 board the tightest spreads were CHF (0.69%), HKD (0.83%), USD (0.89%) and the widest IDR (9.90%), NZD (2.74%), AUD (2.52%). 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 Bank of China Thai and other banks in Thailand

USD on the 11 boards AllRatesToday reads in Thailand, all captured on 15 November 2026 (the Bank of Thailand official rate was 34.0385):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| TMBThanachart Bank (ttb) | 33.74 | 34.04 | 0.89% | -0.44% |
| UOB Thailand | 33.74 | 34.04 | 0.89% | -0.44% |
| CIMB Thai | 33.7 | 33.98 | 0.83% | -0.58% |
| Bangkok Bank | 33.69 | 33.99 | 0.89% | -0.58% |
| **Bank of China (Thai)** | 33.74 | 34.04 | 0.89% | -0.44% |
| ICBC (Thai) | 33.54 | 34.24 | 2.07% | -0.44% |
| Government Savings Bank (GSB) | 33.71 | 34.01 | 0.89% | -0.52% |
| EXIM Thailand (Export-Import Bank of Thailand) | 33.75 | 33.95 | 0.59% | -0.55% |
| Islamic Bank of Thailand | 33.73 | 34.03 | 0.89% | -0.47% |
| HSBC Thailand | 33.6745 | 34.0745 | 1.18% | -0.48% |
| LH Bank (Land and Houses Bank) | 33.6 | 34.05 | 1.33% | -0.63% |

Bank of China Thai had the 5th narrowest USD spread of the 11. One call to `/api/v1/bank-rates/th` 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/th/bocth" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "bocth",
  "name": "Bank of China (Thai)",
  "country": "th",
  "quote_ccy": "THB",
  "bank_updated_at": "2026-11-15 00:00:01",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:37:51.465Z",
  "rates": [
    {"ccy":"AUD","buy":22.684,"sell":23.264,"mid":22.974,"spread_pct":2.525,"official":23.4438,"vs_official_pct":-2.004},
    {"ccy":"CAD","buy":23.758,"sell":23.998,"mid":23.878,"spread_pct":1.005,"official":24.0106,"vs_official_pct":-0.552},
    {"ccy":"CHF","buy":40.3983,"sell":40.6783,"mid":40.5383,"spread_pct":0.691,"official":40.7865,"vs_official_pct":-0.609},
    … 13 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "bocth",
  "name": "Bank of China (Thai)",
  "country": "th",
  "quote_ccy": "THB",
  "bank_updated_at": "2026-11-15 00:00:01",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:37:51.465Z",
  "ccy": "USD",
  "buy": 33.74,
  "sell": 34.04,
  "mid": 33.89,
  "spread_pct": 0.885,
  "official": 34.0385,
  "vs_official_pct": -0.436,
  "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 (Thai) on its own website, collected by AllRatesToday",
    "bank_url": "https://www.bankofchina.com/sourcedb/thb/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/th/bocth/",
    "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/th/bocth?date=2026-11-15" \
  -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/th/bocth/history?ccy=USD&from=2026-11-15&to=2026-11-15" \
  -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 (Thai)'s USD row
const r = await client.bankRates('th', { bank: 'bocth', ccy: 'USD' });
console.log(`Bank of China Thai buys USD at ${r.buy}, sells at ${r.sell} THB`);

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

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/th/bocth",
    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 Bank of Thailand rate is the one tax, accounting and customs rules in Thailand name; nobody transacts at it. Bank of China Thai'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 [Bank of Thailand endpoint](https://allratestoday.com/central-bank-rates-api/bot/) when a rule asks for the official rate.

## FAQ

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

From the bank's own public rates page (https://www.bankofchina.com/sourcedb/thb/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Bank of China Thai shows, with the mid, the spread and the Bank of Thailand rate added.

### Are these the official THB exchange rates?

No. They are Bank of China Thai's retail prices for customers. The official rate in Thailand is the Bank of Thailand 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 Bank of China Thai 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 Bank of China Thai rates for a past date?

Yes, from 15 November 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 (Thai) 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 (Thai) live board rates](https://allratestoday.com/bank-exchange-rate-api/th/bocth/)
- [All banks in Thailand side by side](https://allratestoday.com/bank-exchange-rate-api/th/)
- [Bank of Thailand official rates API](https://allratestoday.com/central-bank-rates-api/bot/)
- [TMBThanachart Bank (ttb) exchange rate API guide](https://allratestoday.com/blog/tmbthanachart-bank-ttb-exchange-rate-api/)
- [UOB Thailand exchange rate API guide](https://allratestoday.com/blog/uob-thailand-exchange-rate-api/)
- [CIMB Thai exchange rate API guide](https://allratestoday.com/blog/cimb-thai-exchange-rate-api/)
- [Bangkok Bank exchange rate API guide](https://allratestoday.com/blog/bangkok-bank-exchange-rate-api/)
- [ICBC (Thai) exchange rate API guide](https://allratestoday.com/blog/icbc-thai-exchange-rate-api/)
- [Government Savings Bank (GSB) exchange rate API guide](https://allratestoday.com/blog/government-savings-bank-gsb-exchange-rate-api/)
- [EXIM Thailand (Export-Import Bank of Thailand) exchange rate API guide](https://allratestoday.com/blog/exim-thailand-export-import-bank-of-thailand-exchange-rate-api/)
- [Islamic Bank of Thailand exchange rate API guide](https://allratestoday.com/blog/islamic-bank-of-thailand-exchange-rate-api/)
- [HSBC Thailand exchange rate API guide](https://allratestoday.com/blog/hsbc-thailand-exchange-rate-api/)
- [LH Bank (Land and Houses Bank) exchange rate API guide](https://allratestoday.com/blog/lh-bank-land-and-houses-bank-exchange-rate-api/)
- [Every bank exchange rate API guide, by country](https://allratestoday.com/blog/bank-exchange-rate-api-guides/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
