HSBC Malaysia Exchange Rate API: MYR Buy and Sell Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

HSBC Bank Malaysia is HSBC’s locally incorporated bank in Malaysia. Its currency rate page lists TT buying and selling rates against the ringgit, with a separate table for currencies quoted per 100 units. 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 HSBC Malaysia board shows

Spreads across the board

On the 15 November 2026 board the tightest spreads were CNY (4.00%), GBP (4.20%), USD (4.52%) and the widest SEK (8.01%), AED (8.00%), ZAR (8.00%). 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 HSBC 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):

BankBuySellSpreadMid vs official
HSBC Malaysia3.99174.17634.52%-0.02%
Maybank4.0134.1583.55%+0.01%
Public Bank4.0174.1513.28%-0.02%
CIMB Bank3.96364.1735.15%-0.41%
RHB Bank3.87394.2288.74%-0.83%
Bank of China (Malaysia)4.034.142.69%0.00%
AmBank3.98484.18935.00%+0.05%
UOB Malaysia4.0184.1483.18%-0.05%
Hong Leong Bank3.9864.174.51%-0.17%
Al Rajhi Bank Malaysia4.0184.1483.18%-0.05%
ICBC (Malaysia)4.0134.1433.19%-0.17%
Bangkok Bank Berhad (Malaysia)3.994.1684.36%-0.15%
Standard Chartered Malaysia3.97964.18755.09%-0.04%
Bank Muamalat Malaysia3.9784.2015.45%+0.11%
SMBC Malaysia (Sumitomo Mitsui Banking Corporation Malaysia)4.03844.12842.20%-0.04%
Kuwait Finance House (Malaysia)3.9764.614.55%+4.97%

HSBC Malaysia had the 10th 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 works. The full board:

curl "https://allratestoday.com/api/v1/bank-rates/my/hsbcmy" \
  -H "Authorization: Bearer art_live_your_key"

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

{
  "bank": "hsbcmy",
  "name": "HSBC Malaysia",
  "country": "my",
  "quote_ccy": "MYR",
  "bank_updated_at": "13-11-2026",
  "basis": "TT buy / sell",
  "captured_at": "2026-11-15T11:30:23.218Z",
  "rates": [
    {"ccy":"AED","buy":1.0674,"sell":1.1564,"mid":1.1119,"spread_pct":8.004,"official":1.112352,"vs_official_pct":-0.041},
    {"ccy":"AUD","buy":2.7022,"sell":2.8561,"mid":2.77915,"spread_pct":5.538,"official":2.7811,"vs_official_pct":-0.07},
    {"ccy":"BND","buy":3.0989,"sell":3.2467,"mid":3.1728,"spread_pct":4.658,"official":3.1757,"vs_official_pct":-0.091},
    … 16 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}

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

curl "https://allratestoday.com/api/v1/bank-rates/my/hsbcmy?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "hsbcmy",
  "name": "HSBC Malaysia",
  "country": "my",
  "quote_ccy": "MYR",
  "bank_updated_at": "13-11-2026",
  "basis": "TT buy / sell",
  "captured_at": "2026-11-15T11:30:23.218Z",
  "ccy": "USD",
  "buy": 3.9917,
  "sell": 4.1763,
  "mid": 4.084,
  "spread_pct": 4.52,
  "official": 4.085,
  "vs_official_pct": -0.024,
  "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 HSBC Malaysia on its own website, collected by AllRatesToday",
    "bank_url": "https://www.hsbc.com.my/investments/products/foreign-exchange/currency-rate/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/my/hsbcmy/",
    "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/hsbcmy?date=2026-11-13" \
  -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/hsbcmy/history?ccy=USD&from=2026-11-13&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' });

// HSBC Malaysia's USD row
const r = await client.bankRates('my', { bank: 'hsbcmy', ccy: 'USD' });
console.log(`HSBC 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: 'hsbcmy', date: '2026-11-13' });
console.log(past.snapshot_date, past.rates.length);

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/my/hsbcmy",
    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. HSBC 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 when a rule asks for the official rate.

FAQ

Where do the HSBC Malaysia rates come from?

From the bank's own public rates page (https://www.hsbc.com.my/investments/products/foreign-exchange/currency-rate/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price HSBC Malaysia shows, with the mid, the spread and the Bank Negara Malaysia rate added.

Are these the official MYR exchange rates?

No. They are HSBC 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 HSBC 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 HSBC Malaysia rates for a past date?

Yes, from 13 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.

HSBC Malaysia rates, as JSON

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

Get your free API key

Related