People's Bank of China (CFETS) Exchange Rate API
Official People's Bank of China (CFETS) (China) daily exchange rates as JSON: 25 currencies, history back to 2006. The published CNY rates required for tax, audits, and compliant invoicing.
About People's Bank of China (CFETS)
The People's Bank of China is China's central bank. Each trading day at 09:15 Beijing time the China Foreign Exchange Trade System (CFETS) publishes the RMB central parity rate — the official midpoint around which onshore yuan trading is allowed to move.
- Official website: www.pbc.gov.cn
- Official rate publication: CFETS RMB central parity rates
Quick start
One request for the pair you need — USD to CNY at the official People's Bank of China (CFETS) rate:
curl "https://allratestoday.com/api/v1/central-bank/pboc/latest?source=USD&target=CNY" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/pboc/latest" \
-H "Authorization: Bearer art_live_your_key" On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/pboc/history?source=USD&target=CNY&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-08-11)
The most recent table as published by People's Bank of China (CFETS) — exactly what the /latest endpoint returns right now. Values are CNY per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (free account required)
| Base | Quote | Type | Rate |
|---|---|---|---|
AUD | CNY | reference | 4.7764 |
CAD | CNY | reference | 4.855 |
CHF | CNY | reference | 8.3617 |
CNY | AED | reference | 0.54271 |
CNY | DKK | reference | 0.9566 |
CNY | HUF | reference | 46.5694 |
CNY | KRW | reference | 209.59 |
CNY | MOP | reference | 1.1906 |
CNY | MXN | reference | 2.528 |
CNY | MYR | reference | 0.60365 |
CNY | NOK | reference | 1.4028 |
CNY | PLN | reference | 0.54988 |
CNY | RUB | reference | 12.2302 |
CNY | SAR | reference | 0.55483 |
CNY | SEK | reference | 1.4026 |
CNY | THB | reference | 4.881 |
CNY | TRY | reference | 7.04728 |
CNY | ZAR | reference | 2.3896 |
EUR | CNY | reference | 7.8153 |
GBP | CNY | reference | 9.1456 |
HKD | CNY | reference | 0.8655 |
JPY | CNY | reference | 0.042567 |
NZD | CNY | reference | 3.9828 |
SGD | CNY | reference | 5.2876 |
USD | CNY | reference | 6.79 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — pboc-exchange-rate:
npm install pboc-exchange-rate import { getRate } from 'pboc-exchange-rate';
const pair = await getRate('USD', 'CNY', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.
Why use the official People's Bank of China (CFETS) rate?
Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in China and beyond typically require the official rate published by People's Bank of China (CFETS) for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.
Pairs the bank doesn't print directly are resolved from its table (inverse or cross via CNY) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/pboc/latest— latest table or single pair (all plans)GET /api/v1/central-bank/pboc/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/pboc/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/pboc/availability— publication calendar: the dates the bank actually published (all plans)
Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.
Frequently asked questions
Is there an API for People's Bank of China (CFETS) exchange rates?
Yes — this one. Official daily CNY rates as clean JSON, latest table on every plan including free.
How often are the rates updated?
People's Bank of China (CFETS) publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-11).
Are these the official rates?
Yes — ingested from People's Bank of China (CFETS)'s own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.
People's Bank of China (CFETS) rates, one API key
Latest table on every plan. History back to 2006 on paid plans. No credit card to start.
Get Free API Key Read the Docs