China SAFE Data API Guide: Forex Reserves, FX Market & CSV

Use SAFE as the official source for foreign-exchange statistics, then use China Data Portal for selected reserve and FX market datasets as stable JSON and CSV.

Developer quick start

Use the official source for verification. Use chinadata.live for stable JSON and CSV.

Many official China data portals publish statistics through web tables, Excel downloads, PDFs, release articles, or query systems rather than a stable public JSON API. China Data Portal turns selected official-source datasets into clean JSON and CSV endpoints.

Official source

State Administration of Foreign Exchange (SAFE)

SAFE publishes data through its Data and Statistics pages, annual files, reserve-asset tables, and release articles.

JSON / CSV

curl https://chinadata.live/api/v2/data/china-foreign-exchange-reserves
curl -L "https://chinadata.live/api/v2/data/china-foreign-exchange-reserves?format=csv"

What Searchers Usually Need

Searches such as safe data api , china forex reserves api , safe official reserve assets csv , or china fx market volume data usually mix two jobs: locating the official source and getting a stable dataset for an app, spreadsheet, dashboard, or research workflow.

Use State Administration of Foreign Exchange (SAFE) for source verification

  • Verify official reserve assets and SAFE release dates.
  • Check units, currency denomination, and annual file coverage.
  • Keep source pages attached to any data audit trail.

Use ChinaData.live for reusable outputs

  • Fetch forex reserve and FX market datasets in JSON.
  • Download CSV outputs for spreadsheets or BI tools.
  • Use stable slugs and English metadata for recurring workflows.

Source caveat

Source files and pages are useful for verification, but analysts often need cleaned time series with consistent columns and a reusable API URL.

Available JSON and CSV Endpoints

These are China Data Portal endpoints built from selected official-source datasets. They are designed for repeatable analysis, source-aware dashboards, and spreadsheet workflows.

API Examples

Every listed dataset supports JSON by default. Dataset endpoints also support CSV output by adding ?format=csv.

import requests

base = "https://chinadata.live"
json_data = requests.get(base + "/api/v2/data/china-foreign-exchange-reserves", timeout=20).json()
csv_text = requests.get(base + "/api/v2/data/china-foreign-exchange-reserves?format=csv", timeout=20).text

print(json_data["data"]["title"])
print(csv_text.splitlines()[0])

Official Source vs China Data Portal

Need Official source China Data Portal
Source authorityPrimary official publisherIndependent cleaned dataset layer
Developer APIOften query pages, files, or releasesStable JSON and CSV endpoints
Language and labelsOften Chinese-first or source-specificEnglish titles, units, slugs, and notes
Best useVerification and audit trailApplications, charts, CSV workflows

FAQ

What is the official source for China foreign exchange reserves?

SAFE is the official source for China foreign-exchange reserve statistics and related foreign-exchange data releases.

Can I call SAFE data through a stable JSON API?

China Data Portal provides selected SAFE-sourced datasets through stable JSON and CSV endpoints. These are cleaned derivatives, not official SAFE endpoints.

Which SAFE datasets are supported?

Current supported examples include China foreign exchange reserves and China FX market trading volume.

๐Ÿ’ฌ Need custom data?