China Statistics Database API: NBS GDP, CPI & Province Data
Pricing
from $0.90 / 1,000 values
China Statistics Database API: NBS GDP, CPI & Province Data
Any of 3,300+ tables from China's National Bureau of Statistics database (国家数据), in Chinese and English: GDP, prices, industry, trade, investment, population and more, national, by province and for 36 cities. Monthly, quarterly and annual history. No login.
Get any table from China's National Bureau of Statistics database (国家数据, data.stats.gov.cn) as clean JSON or CSV, with English names next to the Chinese ones. No login, no API key, no browser.
- 3,300+ tables: national accounts (GDP), prices (CPI, PPI), industry, energy, investment, real estate, retail, trade, finance, population, employment, wages, agriculture, education and more
- National, by province and for 36 major cities
- Monthly, quarterly and annual, with long history (annual series reach back decades)
- Chinese and English table, indicator and region names
- Browse the catalog for free with List tables
- Only new data mode for scheduled runs
Use cases
- Economists and analysts: pull official Chinese macro data into Python, R, Excel or a dashboard without copying tables by hand.
- Investors: GDP, industrial output, retail sales, property investment and prices as soon as NBS publishes them.
- Market research: compare provinces and cities on income, consumption, population or output.
- AI and data pipelines: a reliable, structured source for China statistics with stable IDs.
How to use
- Turn on List tables and type a word in Tables (e.g.
GDP,居民消费价格,Retail) to see matching tables, or leave Tables empty to list a whole section. - Put the table names (or IDs) you want in Tables, choose the Sections, and run.
- Optionally narrow down with Indicators (any indicator whose name contains the word, e.g.
累计增长orAccumulated) and Provinces or cities (e.g.广东,Beijing), and set a history range.
Example input
GDP, the latest 8 quarters:
{"tables": ["国内生产总值 (现价)"],"sections": ["quarterly"],"latestPeriods": 8}
Monthly CPI by province since 2026, for two provinces:
{"tables": ["居民消费价格分类指数 (上年同月=100) (2026-)"],"sections": ["provinceMonthly"],"regions": ["广东", "Beijing"],"indicators": ["居民消费价格指数 (上年同月=100)"],"periodFrom": "2026-01"}
Output
One record per value (indicator × region × period):
{"table": "国内生产总值 (现价)","tableEnglish": "Gross Domestic Product (Current Price)","indicator": "国内生产总值当季值 (亿元)","indicatorEnglish": "Gross Domestic Product, Current Quarter (100 million yuan)","region": "全国","regionEnglish": "China","regionCode": "000000000000","period": "2026-Q3","frequency": "quarter","value": 375367.2,"unit": "亿元","section": "quarterly","tablePath": "季度数据 > 国民经济核算 > 国内生产总值 (现价)","tableId": "28d936104e304aa191e338eb82b6dc09","source": "National Bureau of Statistics of China (data.stats.gov.cn)"}
periodis2026for years,2026-09for months and2026-Q3for quarters.- Values are exactly as published. Index tables say their base in the name, e.g.
(上年同月=100)means the same month last year = 100, so 100.9 is +0.9% year on year. - Empty cells (not yet published, or not collected for that region) are skipped and not charged.
- With List tables, each record is a table: ID, section, frequency, Chinese and English path.
Pricing
$0.001 per value ($1 per 1,000). Listing tables is free. Quarterly GDP for 8 quarters (about 260 values) costs about $0.26; one indicator for all 31 provinces over 10 years about $0.31.
Tip: use Indicators and Provinces or cities to get only the values you need.
Notes and limits
- NBS reorganises tables when a base year or classification changes, so one series can be split across tables such as
(2016-2020)and(2021-2025). Search with List tables to find all of them. - The site limits fast clients, so the Actor sends requests one at a time; large requests take a few minutes.
- Official figures as published; this Actor does not calculate or adjust anything. Only public data is collected.
Related
- China CPI, PPI & PMI: the monthly releases with English component names, ready to use.
- China Commodity Prices and China House Price Index.
中文说明
国家统计局“国家数据”数据库接口,无需登录:3,300 多张表,覆盖国民经济核算、价格、工业、投资、房地产、消费、外贸、人口、就业、工资等,包括全国、分省和 36 个主要城市的月度、季度和年度数据,中英文名称对照。可先用“List tables”免费查看表目录,再按表名、指标、地区和时间范围获取数据。每个数值 0.001 美元,可在 Apify 上直接运行或通过 API 调用,也可设置定时任务。有问题请在 Issues 页面留言(中文、英文均可)。
Feedback
Need a table that's missing or another field? Open an issue on the Issues tab.