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 |
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-reservesResponse Example
{
"status": "ok",
"indicator": "fx_reserves",
"count": 12,
"data": [
{
"month": "2024-01-01",
"value": 32165.0,
"yoy": 1.2
}
]
}