---
title: "Bank of China (Malaysia) Exchange Rate API: MYR Buy and Sell Rates as JSON"
description: "Bank of China (Malaysia)'s telegraphic transfer buy / sell rates for 11 currencies against the Malaysian ringgit, read hourly from the bank's own page and served as JSON with the Bank Negara Malaysia official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/bank-of-china-malaysia-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:14:01.855Z
---

Bank of China (Malaysia) Berhad is the locally incorporated Malaysian subsidiary of Bank of China, present in the country since 1939. Its rate table lists telegraphic-transfer and cash buying and selling rates against the ringgit for about 12 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 Negara Malaysia official rate and with other banks in Malaysia, and the calls that return them.

## What the Bank of China Malaysia board shows

- **11 currencies against the Malaysian ringgit**: AUD, CAD, CNY, EUR, GBP, HKD, IDR, JPY, SGD, THB and USD. Every value is MYR per 1 unit of the foreign currency.
- **The telegraphic transfer buy / sell pair.** Malaysian banks publish a daily counter board with separate telegraphic-transfer, demand-draft and bank-note rates, and revise it during the trading day. The pair shown is the TT buying rate against the TT/OD selling rate, which is what a transfer is converted at. Rows quoted per 100 units (JPY, IDR, THB and others) are converted to per 1 unit. Bank Negara Malaysia’s official rate is shown next to each row.
- **USD on 15 November 2026**: Bank of China Malaysia bought at 4.03 and sold at 4.14 MYR, a spread of 2.69%. The Bank Negara Malaysia official rate was 4.085, so the bank's mid matched it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`2026-11-15 18:00:00` 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 SGD (1.83%), EUR (2.00%), GBP (2.04%) and the widest IDR (6.22%), THB (5.95%), HKD (4.61%). 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 Malaysia and other banks in Malaysia

USD on the 16 boards AllRatesToday reads in Malaysia, all captured on 15 November 2026 (the Bank Negara Malaysia official rate was 4.085):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| HSBC Malaysia | 3.9917 | 4.1763 | 4.52% | -0.02% |
| Maybank | 4.013 | 4.158 | 3.55% | +0.01% |
| Public Bank | 4.017 | 4.151 | 3.28% | -0.02% |
| CIMB Bank | 3.9636 | 4.173 | 5.15% | -0.41% |
| RHB Bank | 3.8739 | 4.228 | 8.74% | -0.83% |
| **Bank of China (Malaysia)** | 4.03 | 4.14 | 2.69% | 0.00% |
| AmBank | 3.9848 | 4.1893 | 5.00% | +0.05% |
| UOB Malaysia | 4.018 | 4.148 | 3.18% | -0.05% |
| Hong Leong Bank | 3.986 | 4.17 | 4.51% | -0.17% |
| Al Rajhi Bank Malaysia | 4.018 | 4.148 | 3.18% | -0.05% |
| ICBC (Malaysia) | 4.013 | 4.143 | 3.19% | -0.17% |
| Bangkok Bank Berhad (Malaysia) | 3.99 | 4.168 | 4.36% | -0.15% |
| Standard Chartered Malaysia | 3.9796 | 4.1875 | 5.09% | -0.04% |
| Bank Muamalat Malaysia | 3.978 | 4.201 | 5.45% | +0.11% |
| SMBC Malaysia (Sumitomo Mitsui Banking Corporation Malaysia) | 4.0384 | 4.1284 | 2.20% | -0.04% |
| Kuwait Finance House (Malaysia) | 3.976 | 4.6 | 14.55% | +4.97% |

Bank of China Malaysia had the 2nd narrowest USD spread of the 16. One call to `/api/v1/bank-rates/my` 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/my/bocmy" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "bocmy",
  "name": "Bank of China (Malaysia)",
  "country": "my",
  "quote_ccy": "MYR",
  "bank_updated_at": "2026-11-15 18:00:00",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:46:33.340Z",
  "rates": [
    {"ccy":"AUD","buy":2.7222,"sell":2.8122,"mid":2.7672,"spread_pct":3.252,"official":2.7811,"vs_official_pct":-0.5},
    {"ccy":"CAD","buy":2.8176,"sell":2.9076,"mid":2.8626,"spread_pct":3.144,"official":2.8656,"vs_official_pct":-0.105},
    {"ccy":"CNY","buy":0.6025,"sell":0.622,"mid":0.61225,"spread_pct":3.185,"official":0.6124,"vs_official_pct":-0.024},
    … 8 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "bocmy",
  "name": "Bank of China (Malaysia)",
  "country": "my",
  "quote_ccy": "MYR",
  "bank_updated_at": "2026-11-15 18:00:00",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:46:33.340Z",
  "ccy": "USD",
  "buy": 4.03,
  "sell": 4.14,
  "mid": 4.085,
  "spread_pct": 2.693,
  "official": 4.085,
  "vs_official_pct": 0,
  "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 (Malaysia) on its own website, collected by AllRatesToday",
    "bank_url": "https://www.bankofchina.com/sourcedb/myr/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/my/bocmy/",
    "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/my/bocmy?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/my/bocmy/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 (Malaysia)'s USD row
const r = await client.bankRates('my', { bank: 'bocmy', ccy: 'USD' });
console.log(`Bank of China Malaysia buys USD at ${r.buy}, sells at ${r.sell} MYR`);

// The board as it stood on a past day
const past = await client.bankRates('my', { bank: 'bocmy', 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/my/bocmy",
    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 Negara Malaysia rate is the one tax, accounting and customs rules in Malaysia name; nobody transacts at it. Bank of China Malaysia'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 Negara Malaysia endpoint](https://allratestoday.com/central-bank-rates-api/bnm/) when a rule asks for the official rate.

## FAQ

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

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

### Are these the official MYR exchange rates?

No. They are Bank of China Malaysia's retail prices for customers. The official rate in Malaysia is the Bank Negara Malaysia 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 Malaysia 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 Malaysia 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 (Malaysia) 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 (Malaysia) live board rates](https://allratestoday.com/bank-exchange-rate-api/my/bocmy/)
- [All banks in Malaysia side by side](https://allratestoday.com/bank-exchange-rate-api/my/)
- [Bank Negara Malaysia official rates API](https://allratestoday.com/central-bank-rates-api/bnm/)
- [HSBC Malaysia exchange rate API guide](https://allratestoday.com/blog/hsbc-malaysia-exchange-rate-api/)
- [Maybank exchange rate API guide](https://allratestoday.com/blog/maybank-exchange-rate-api/)
- [Public Bank exchange rate API guide](https://allratestoday.com/blog/public-bank-exchange-rate-api/)
- [CIMB Bank exchange rate API guide](https://allratestoday.com/blog/cimb-bank-exchange-rate-api/)
- [RHB Bank exchange rate API guide](https://allratestoday.com/blog/rhb-bank-exchange-rate-api/)
- [AmBank exchange rate API guide](https://allratestoday.com/blog/ambank-exchange-rate-api/)
- [UOB Malaysia exchange rate API guide](https://allratestoday.com/blog/uob-malaysia-exchange-rate-api/)
- [Hong Leong Bank exchange rate API guide](https://allratestoday.com/blog/hong-leong-bank-exchange-rate-api/)
- [Al Rajhi Bank Malaysia exchange rate API guide](https://allratestoday.com/blog/al-rajhi-bank-malaysia-exchange-rate-api/)
- [ICBC (Malaysia) exchange rate API guide](https://allratestoday.com/blog/icbc-malaysia-exchange-rate-api/)
- [Bangkok Bank Berhad (Malaysia) exchange rate API guide](https://allratestoday.com/blog/bangkok-bank-berhad-malaysia-exchange-rate-api/)
- [Standard Chartered Malaysia exchange rate API guide](https://allratestoday.com/blog/standard-chartered-malaysia-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/)
