Home Documentation Central Bank Rates Tax Authority Rates Playground Pricing API Status Blog About FAQ Contact Us

National Bank of Cambodia Exchange Rate API: Official KHR Rates as JSON

Reviewed by Madhushan, Fintech Developer — August 2026

The National Bank of Cambodia publishes the official exchange rates that accounting, tax, and customs rules in Cambodia reference — published official rates, not moving market prices. This guide shows how to pull them as JSON: via a REST endpoint or the zero-dependency nbc-cambodia-exchange-rate npm package.

USD → KHR — official National Bank of Cambodia official rate
Weekly observations, Aug '25 – Aug '26 · Cambodian riels per 1 US dollar
4,0004,0204,0404,060Aug '25Nov '25Feb '26May '26Aug '264,0512025-08-08: 4,006 KHR2025-08-15: 4,006 KHR2025-08-22: 4,010 KHR2025-08-29: 4,008 KHR2025-09-05: 4,010 KHR2025-09-12: 4,008 KHR2025-09-19: 4,007 KHR2025-09-26: 4,008 KHR2025-10-03: 4,012 KHR2025-10-10: 4,019 KHR2025-10-17: 4,025 KHR2025-10-24: 4,028 KHR2025-10-31: 4,020 KHR2025-11-07: 4,019 KHR2025-11-14: 4,011 KHR2025-11-21: 4,010 KHR2025-11-28: 4,007 KHR2025-12-05: 4,009 KHR2025-12-12: 4,009 KHR2025-12-19: 4,013 KHR2025-12-26: 4,012 KHR2025-12-31: 4,013 KHR2026-01-02: 4,014 KHR2026-01-09: 4,021 KHR2026-01-16: 4,026 KHR2026-01-23: 4,030 KHR2026-01-30: 4,026 KHR2026-02-06: 4,033 KHR2026-02-13: 4,022 KHR2026-02-20: 4,021 KHR2026-02-27: 4,010 KHR2026-03-06: 4,013 KHR2026-03-13: 4,013 KHR2026-03-20: 4,011 KHR2026-03-27: 4,001 KHR2026-04-03: 4,000 KHR2026-04-10: 4,000 KHR2026-04-17: 4,000 KHR2026-04-24: 4,001 KHR2026-04-30: 4,007 KHR2026-05-08: 4,012 KHR2026-05-15: 4,012 KHR2026-05-22: 4,024 KHR2026-05-29: 4,026 KHR2026-06-05: 4,027 KHR2026-06-12: 4,026 KHR2026-06-19: 4,024 KHR2026-06-26: 4,024 KHR2026-07-03: 4,033 KHR2026-07-10: 4,036 KHR2026-07-17: 4,037 KHR2026-07-24: 4,041 KHR2026-07-31: 4,043 KHR2026-08-07: 4,054 KHR2026-08-11: 4,051 KHR
Source: National Bank of Cambodia published rates · chart data from the AllRatesToday API (/api/v1/central-bank/nbc/history?source=USD&target=KHR).

What the NBC publishes

In a heavily dollarized economy the official USD/KHR rate is the number that matters: tax declarations, payroll conversion, and accounting all cite it.

Why official rates, not market rates

A live mid-market feed answers "what is USD/KHR trading at right now?" — the right tool for checkouts and dashboards. But accountants, auditors, and tax authorities ask a different question: "which rate were you required to use for this date?" That answer comes from the National Bank of Cambodia's published rates, and it never changes after publication.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/nbc/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the bank's most recent published data — every rate and the publication date. The latest rates are available on every plan, including the free tier (300 requests/month, no credit card).

The npm SDK

npm install nbc-cambodia-exchange-rate
import { getRate, getLatestRates } from 'nbc-cambodia-exchange-rate';

// One pair at the official NBC rate
const pair = await getRate('USD', 'KHR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

// The bank's full published table
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Historical rates for an invoice date

import { getRatesForDate, getHistory } from 'nbc-cambodia-exchange-rate';

// The official rates for an invoice date — non-publication days return
// the most recent published date, flagged via published_on_requested_date.
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });

// Time series for one pair
const series = await getHistory(
  { source: 'USD', target: 'KHR', from: '2026-01-01' },
  { apiKey: 'art_live_...' }
);

Historical dates and time series need a paid plan; the latest rates stay free.

Published vs derived pairs

If the NBC does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross rate via KHR — and flags it derived: true with the method used. Official and computed values are never silently mixed, which is exactly the distinction an auditor will ask about.

A decade of riel history

The series runs from 2016, tracking the riel's managed band around 4,000 per dollar — narrow by design, which is exactly why auditors ask for the official print rather than a market feed.

FAQ

Does the National Bank of Cambodia have an official exchange rate API?

The NBC publishes its official rates on its own site, and AllRatesToday serves the same published rates as clean JSON via REST or the nbc-cambodia-exchange-rate npm package. The latest table is free.

How often do National Bank of Cambodia rates update?

Once per business day, published in the afternoon and dated for the following day — the API preserves the NBC's own dating. Every response carries that publication date so you can cite it.

Can I get the NBC rate for a past date, like an invoice date?

Yes. The /central-bank/nbc/rates-for-date endpoint returns the official rates for any archived date. Non-publication days resolve to the most recent published date and are flagged, so your audit trail stays honest. Historical dates require a paid plan; latest rates are free.

Official National Bank of Cambodia rates, as JSON

The latest rates are free — 300 requests/month, no credit card.

Get your free API key

Related Articles