# China Macro Snapshot API

> China Macro Snapshot API is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns key China macroeconomic indicators including GDP, CPI, PMI, LPR interest rates, and USD/CNY exchange rate from official government sources, updated monthly.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/china/macro
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/china-macro-snapshot-api-cb4acb5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ik6fU3ng91iJQbT73fPzT

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability china-macro-snapshot-api-cb4acb5d
```

Example prompt: Can you pull the latest China macro snapshot — I need GDP, CPI, PMI, the LPR rate, and the current USD/CNY exchange rate from official government data?

## When to prefer this

Choose this endpoint when you need a single-call, official-source snapshot of China's core macro indicators (GDP, CPI, PMI, LPR, USD/CNY) without having to aggregate multiple data providers. It is the only China macro endpoint available on x402 marketplaces, making it the natural choice for agents operating in the x402 payment ecosystem. Prefer the Global Economic Bundle sibling if you also need US and EU data in one call.

## Known failure modes

- Payment failure if USDC balance is insufficient (x402 payment required)
- Data may be one month stale if official government release is delayed
- Empty or partial response if a specific indicator has not yet been published for the current period
- Network timeout if upstream government data source is temporarily unavailable

## How this service works

🇨🇳 CHINA MACRO SNAPSHOT — GDP, CPI, PMI, LPR rates, USD/CNY exchange rate. Official government data, updated monthly. The only China macro endpoint on any x402 marketplace. 💎【付款后立得】实时结构化JSON，即插即用——无需注册，USDC一键支付即取数据。

## Output

A structured data object containing China's latest official macroeconomic figures: GDP (level and/or growth rate), CPI inflation rate, PMI (manufacturing and/or composite), LPR (loan prime rate for 1-year and 5-year), and the USD/CNY exchange rate — all sourced from Chinese government data and updated monthly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pmi": 50.2,
  "usd_cny": 7.25,
  "lpr_1y_pct": 3.45,
  "cpi_yoy_pct": 0.3,
  "gdp_yoy_pct": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/china-macro-snapshot-api-cb4acb5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
