# CN Data – China Market Brief

> CN Data – China Market Brief is a paid API for AI agents from cn-data-x402.cn-data-x402-worker.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-16).

Returns a concise snapshot of Chinese market status, including currency exchange rates (CNY pairs), stock market session state, Beijing time, and public holiday information.

## Facts

- Endpoint: GET https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/brief?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cn-data-china-market-brief-8933d71c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x5PIFLqxsRUaIyxOJglBJ

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 cn-data-china-market-brief-8933d71c
```

Example prompt: Can you check if the Chinese stock market is open right now and give me the latest USD to CNY and EUR to CNY exchange rates, plus whether today is a public holiday in China?

## When to prefer this

Choose this endpoint when you need a quick, all-in-one China market status check combining FX rates, trading session status, and holiday calendar in a single call. Ideal for agents that need to gate China-related financial operations on market availability or check CNY rates before cross-border payments, without needing a full financial data subscription or API key.

## Known failure modes

- HTTP 402 returned on first call — agent must pay listed USDC amount on Base and retry
- Stale or unavailable upstream market data may return outdated session status
- Holiday calendar may not reflect last-minute government schedule changes
- Network timeout on the Cloudflare Worker edge node

## How this service works

Chinese market and China-focused public data over the x402 protocol. No API key and no signup: call any endpoint, receive HTTP 402 with payment terms, pay the listed amount in USDC on Base and retry. Every response is JSON. Some Chinese-language sources are published only as web pages — these endpoints return them as clean, machine-readable JSON.

## Output

A JSON object with three sections: fx (CNY exchange rates for EUR and USD), market (session open/closed status, current Beijing timestamp, boolean trading flag), and holiday (today's date, holiday name in Chinese, boolean isHoliday flag). Wrapped in a standard {ok, data, endpoint} envelope.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "fx": {
    "foreignToCny": {
     "EUR": 7.8612,
     "USD": 6.7169
    }
   },
   "market": {
    "session": "open",
    "beijingTime": "2026-10-01 13:29:44",
    "isTradingNow": true
   },
   "holiday": {
    "date": "2026-10-01",
    "name": "国庆节",
    "isHoliday": true
   }
  },
  "endpoint": "/cn/brief"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cn-data-china-market-brief-8933d71c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cn-data-x402.cn-data-x402-worker.workers.dev](https://www.zero.xyz/host/cn-data-x402.cn-data-x402-worker.workers.dev/llms.txt)
