Macro Data
Macro Economic Data API
Query Chinese macroeconomic indicators including CPI, PPI, GDP, Money Supply, LPR, PMI, and more.
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/macro/cpi | Consumer Price Index |
| GET | /v1/macro/ppi | Producer Price Index |
| GET | /v1/macro/gdp | Gross Domestic Product |
| GET | /v1/macro/money-supply | Money supply (M0/M1/M2) |
| GET | /v1/macro/lpr | Loan Prime Rate |
| GET | /v1/macro/pmi | Purchasing Managers Index |
| GET | /v1/macro/social-finance | Social financing scale |
| GET | /v1/macro/new-loans | New RMB loans |
| GET | /v1/macro/fx-reserves | Foreign exchange reserves |
| GET | /v1/macro/migration-scale | China migration scale index |
| GET | /v1/macro/migration-area | China migration area distribution |
| GET | /v1/macro/epu-index | Economic policy uncertainty index |
| GET | /v1/macro/oil-price-adjustment | China oil price adjustment history |
| GET | /v1/macro/oil-price-region | Regional oil prices in China |
| GET | /v1/macro/commodity-daily | Commodity daily series |
| GET | /v1/macro/forex-daily | Forex daily series |
| GET | /v1/macro/crypto-daily | Crypto daily series |
| GET | /v1/macro/global-index-daily | Global index daily series |
| GET | /v1/macro/global-index-spot | Global index spot snapshots |
| GET | /v1/macro/fx-spot | FX spot snapshots |
| GET | /v1/macro/energy-inventory | US energy inventory indicators |
| GET | /v1/macro/global-risk-factor | Global risk factors |
Common Parameters
All macro endpoints share these parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
start_date | string | - | - | Start date (YYYY-MM-DD) |
end_date | string | - | - | End date |
limit | int | - | 120 | Max records (10 years default) |
1. CPI (Consumer Price Index)
Monthly consumer price index data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/cpi |
Try It
GET
/v1/macro/cpiResponse Example
{
"status": "ok",
"indicator": "cpi",
"count": 12,
"data": [
{
"month": "2024-01-01",
"value": 100.5,
"yoy": 0.5,
"total": 100.3
}
]
}
2. PPI (Producer Price Index)
Monthly producer price index data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/ppi |
Try It
GET
/v1/macro/ppi3. GDP (Gross Domestic Product)
Quarterly GDP data with sector breakdown.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/gdp |
Try It
GET
/v1/macro/gdpResponse Example
{
"status": "ok",
"indicator": "gdp",
"count": 8,
"data": [
{
"quarter": "2023-12-01",
"gdp": 1260582.0,
"gdp_yoy": 5.2,
"p1": 89755.0,
"p1_yoy": 4.1,
"p2": 482589.0,
"p2_yoy": 4.7,
"p3": 688238.0,
"p3_yoy": 5.8
}
]
}
4. Money Supply (M0/M1/M2)
Monthly money supply data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/money-supply |
Try It
GET
/v1/macro/money-supplyResponse Fields
| Field | Description |
|---|---|
m0 | M0 (Cash in circulation) |
m1 | M1 (Narrow money) |
m2 | M2 (Broad money) |
*_yoy | Year-over-year growth (%) |
5. LPR (Loan Prime Rate)
Monthly loan prime rate data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/lpr |
Try It
GET
/v1/macro/lprResponse Example
{
"status": "ok",
"indicator": "lpr",
"count": 24,
"data": [
{
"date": "2024-01-20",
"lpr1y": 3.45,
"lpr5y": 4.2
}
]
}
6. PMI (Purchasing Managers Index)
Monthly PMI data for manufacturing and non-manufacturing sectors.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/pmi |
Try It
GET
/v1/macro/pmi7. Social Financing Scale
Monthly incremental social financing data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/social-finance |
8. New RMB Loans
Monthly new RMB loan data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/new-loans |
9. Foreign Exchange Reserves
Monthly FX reserves data.
Endpoint
| Method | Endpoint |
|---|---|
| GET | /v1/macro/fx-reserves |
Try It
GET
/v1/macro/fx-reserves10. Newly Added Global / Policy / Migration Endpoints (2026-03)
| Endpoint | Notes |
|---|---|
/v1/macro/migration-scale | area, indicator=move_in/move_out |
/v1/macro/migration-area | city-level distribution, supports city_name |
/v1/macro/epu-index | policy uncertainty by country |
/v1/macro/oil-price-adjustment | CN oil adjustment timeline |
/v1/macro/oil-price-region | CN regional oil prices by province |
/v1/macro/commodity-daily | symbols like XAUUSD, USO |
/v1/macro/forex-daily | symbols like EURUSD, USDCNY |
/v1/macro/crypto-daily | symbols like BTCUSD |
/v1/macro/global-index-daily | symbols like SP500, NASDAQ |
/v1/macro/global-index-spot | snapshot data, supports index_name |
/v1/macro/fx-spot | snapshot data, supports pair_name |
/v1/macro/energy-inventory | supports indicator, item |
/v1/macro/global-risk-factor | supports factor_name |
Quick Try (Global Index Daily)
GET
/v1/macro/global-index-dailyResponse Example
{
"status": "ok",
"indicator": "fx_reserves",
"count": 12,
"data": [
{
"month": "2024-01-01",
"value": 32165.0,
"yoy": 1.2
}
]
}