China Macro
v0.2.1China macro: PBOC Loan Prime Rate, headline NBS indicators (via Eastmoney's data centre), 70-city…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
china_lpr
China's PBOC Loan Prime Rate (贷款市场报价利率, LPR) history — the 1-year and 5-year benchmark lending rates, each with its official reference/announcement date. Published monthly on the 20th (or next business day) by the National Interbank Funding Center under PBOC authorization. The 1-year rate anchors most corporate and consumer loans; the 5-year rate anchors mortgages. Returns up to the last 12 monthly announcements (the publisher exposes only a rolling ~1-year window) plus a `latest` field for the most recent print. Answers "what is the current PBOC LPR", "China's 1-year and 5-y…
| Parameter | Type | Description |
|---|---|---|
months | number | How many of the most recent monthly rows to return, 1-12 (default 12). The upstream only exposes a rolling ~1-year window, so values above 12 are capped at 12. |
china_lpr_latest
China's most recent PBOC Loan Prime Rate (贷款市场报价利率一年期/五年期, LPR 1Y/5Y) print only — a cheap single-row call for just the current 1-year and 5-year rates and their official reference/announcement date, without the 12-month history. Use china_lpr instead if you need the trend over time. Keyless, sourced live from the National Interbank Funding Center, under PBOC authorization.
china_macro_indicator
China's headline National Bureau of Statistics (NBS) macro indicators — one tool, pick an `indicator`: `cpi` (Consumer Price Index, national/urban/rural, y/y + m/m), `ppi` (Producer Price Index), `pmi` (manufacturing + non-manufacturing Purchasing Managers' Index), `gdp` (quarterly GDP, published as year-to-date cumulative, by sector), `industrial_production` (industrial value-added growth), `retail_sales` (total retail sales of consumer goods), `fixed_asset_investment` (FAI), `money_supply` (M0/M1/M2 outstanding + growth), or `trade` (General Administration of Customs monthly export/import…
| Parameter | Type | Description |
|---|---|---|
indicator * | string | Which NBS/Customs indicator to return. |
period | string | (source nbs, region "all") The period to cross-section: "YYYY-MM" for monthly series, "YYYY-Qn" for quarterly ones. Omit for the latest period with data. |
periods | number | How many of the most recent monthly/quarterly rows to return, 1-36 (default 12). |
region | string | (source nbs) A mainland province by English or Chinese name (e.g. "Guangdong", "广东省") for that region's history, or "all" for all 31 mainland provincial-level regions in one period. Available fo… |
series | string | (source nbs) Return one named series only, e.g. "cpi_yoy_index", "cpi_mom_index", "ppi_yoy_index", "manufacturing_pmi". Omit for every series of the indicator; an unknown name lists the valid ones. |
source | string | Which route serves the data. Default "eastmoney" (republisher). "nbs" reads the National Bureau of Statistics of China directly and returns typed series (period type, measure, unit, base). Implied by… |
china_house_prices
China's NBS 70-city residential price indexes — new-build commercial housing (新建商品住宅) and resale/existing housing (二手住宅), year-on-year and month-on-month, for Beijing, Shanghai, Shenzhen, and 67 other NBS-tracked cities. Pass `city` (English name, e.g. "Beijing") for that city's history (up to 24 months); pass `month` ("YYYY-MM") to pin a specific release; pass neither for the latest month's full 70-city cross-section. Index values use the prior period = 100 convention (e.g. 97.7 = a 2.3% year-on-year fall). Answers "Beijing home price index", "which Chinese cities have f…
| Parameter | Type | Description |
|---|---|---|
city | string | One of the 70 NBS-tracked cities, by English name (e.g. "Shanghai", "Chengdu"). Omit for all 70 cities in the latest month. |
month | string | A specific release month as "YYYY-MM" (e.g. "2026-08"). Omit for the latest available month. |
china_rates
China's money-market and government-bond benchmark rates. `series: "shibor"` returns the Shanghai Interbank Offered Rate across all 8 tenors (overnight through 1-year) — the latest 11:00-Beijing-time fixing plus up to `days` of daily history. `series: "yield_curve"` returns the China Government Bond yield curve: the dated 1-year/10-year benchmark series (IMF SDDS disclosure) plus CFETS's real-time quoted-yield curve across every actively-traded CGB maturity (~1 month to ~50 years). Answers "current SHIBOR rates", "China's 10-year government bond yield", "China yield curve history". Keyless,…
| Parameter | Type | Description |
|---|---|---|
series * | string | Which rate series to return. |
days | number | (shibor only) How many calendar days of history to request, 1-365 (default 30). |
periods | number | (yield_curve only) How many daily rows of the 1Y/10Y benchmark history to return, 1-60 (default 20). |