---
title: "Cambodian Public Bank Exchange Rate API: KHR Buy and Sell Rates as JSON"
description: "Cambodian Public Bank's bank notes (cash) — the only riel rate published rates for the USD against the Cambodian riel, read hourly from the bank's own page and served as JSON with the National Bank of Cambodia official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/cambodian-public-bank-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:06:18.798Z
---

Cambodian Public Bank (Campu Bank) is the Cambodian subsidiary of Malaysia’s Public Bank. Its forex page lists TT and bank-note rates for about 15 currencies against the US dollar, with the dollar itself priced in riel. This guide shows how to read that board as JSON: what the rates mean, how they compare with the National Bank of Cambodia official rate and with other banks in Cambodia, and the calls that return them.

## What the Campu Bank board shows

- **1 currency against the Cambodian riel**: USD. Every value is KHR per 1 unit of the foreign currency.
- **The bank notes (cash) — the only riel rate published pair.** Cambodia runs on both riel and US dollars; banks quote riel per unit for a handful of currencies, with separate note and transfer boards, plus crosses against the dollar. The rates here are the transfer board in riel. The National Bank of Cambodia official rate is shown next to each row.
- **USD on 15 November 2026**: Campu Bank bought at 4062 and sold at 4088 KHR, a spread of 0.64%. The National Bank of Cambodia official rate was 4073, so the bank's mid sat +0.05% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`13 November 2026 9:26 AM` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 13 November 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 15 November 2026 board the spread was USD 0.64%. 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 Campu Bank and other banks in Cambodia

USD on the 9 boards AllRatesToday reads in Cambodia, all captured on 15 November 2026 (the National Bank of Cambodia official rate was 4073):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| ACLEDA Bank | 4059 | 4071 | 0.29% | -0.20% |
| ABA Bank | 4050 | 4075 | 0.61% | -0.26% |
| Canadia Bank | 4059 | 4076 | 0.42% | -0.14% |
| Wing Bank | 4059 | 4071 | 0.29% | -0.20% |
| Sathapana Bank | 4054 | 4078 | 0.59% | -0.17% |
| CIMB Bank Cambodia | 4062 | 4072 | 0.25% | -0.15% |
| FTB (Foreign Trade Bank of Cambodia) | 4058 | 4071 | 0.32% | -0.21% |
| Hong Leong Bank Cambodia | 4040 | 4095 | 1.35% | -0.14% |
| **Cambodian Public Bank** | 4062 | 4088 | 0.64% | +0.05% |

Campu Bank had the 8th narrowest USD spread of the 9. One call to `/api/v1/bank-rates/kh` 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/kh/campubank" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "campubank",
  "name": "Cambodian Public Bank",
  "country": "kh",
  "quote_ccy": "KHR",
  "bank_updated_at": "13 November 2026 9:26 AM",
  "basis": "Bank notes (cash) — the only riel rate published",
  "captured_at": "2026-11-15T11:16:14.115Z",
  "rates": [
    {"ccy":"USD","buy":4062,"sell":4088,"mid":4075,"spread_pct":0.638,"official":4073,"vs_official_pct":0.049}
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "campubank",
  "name": "Cambodian Public Bank",
  "country": "kh",
  "quote_ccy": "KHR",
  "bank_updated_at": "13 November 2026 9:26 AM",
  "basis": "Bank notes (cash) — the only riel rate published",
  "captured_at": "2026-11-15T11:16:14.115Z",
  "ccy": "USD",
  "buy": 4062,
  "sell": 4088,
  "mid": 4075,
  "spread_pct": 0.638,
  "official": 4073,
  "vs_official_pct": 0.049,
  "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 Cambodian Public Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.cpbebank.com/personal-banking/forex/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/kh/campubank/",
    "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/kh/campubank?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/kh/campubank/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' });

// Cambodian Public Bank's USD row
const r = await client.bankRates('kh', { bank: 'campubank', ccy: 'USD' });
console.log(`Campu Bank buys USD at ${r.buy}, sells at ${r.sell} KHR`);

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

## FAQ

### Where do the Cambodian Public Bank rates come from?

From the bank's own public rates page (https://www.cpbebank.com/personal-banking/forex/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Campu Bank shows, with the mid, the spread and the National Bank of Cambodia rate added.

### Are these the official KHR exchange rates?

No. They are Campu Bank's retail prices for customers. The official rate in Cambodia is the National Bank of Cambodia 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 Campu Bank 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 Campu Bank 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.

## Cambodian Public Bank rates, as JSON

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

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

## Related

- [Cambodian Public Bank live board rates](https://allratestoday.com/bank-exchange-rate-api/kh/campubank/)
- [All banks in Cambodia side by side](https://allratestoday.com/bank-exchange-rate-api/kh/)
- [National Bank of Cambodia official rates API](https://allratestoday.com/central-bank-rates-api/nbc/)
- [ACLEDA Bank exchange rate API guide](https://allratestoday.com/blog/acleda-bank-exchange-rate-api/)
- [ABA Bank exchange rate API guide](https://allratestoday.com/blog/aba-bank-exchange-rate-api/)
- [Canadia Bank exchange rate API guide](https://allratestoday.com/blog/canadia-bank-exchange-rate-api/)
- [Wing Bank exchange rate API guide](https://allratestoday.com/blog/wing-bank-exchange-rate-api/)
- [Sathapana Bank exchange rate API guide](https://allratestoday.com/blog/sathapana-bank-exchange-rate-api/)
- [CIMB Bank Cambodia exchange rate API guide](https://allratestoday.com/blog/cimb-bank-cambodia-exchange-rate-api/)
- [FTB (Foreign Trade Bank of Cambodia) exchange rate API guide](https://allratestoday.com/blog/ftb-foreign-trade-bank-of-cambodia-exchange-rate-api/)
- [Hong Leong Bank Cambodia exchange rate API guide](https://allratestoday.com/blog/hong-leong-bank-cambodia-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/)
