# China Stock Exchange Trade Calendar API

> China Stock Exchange Trade Calendar API is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns Chinese stock exchange trading calendar data, including open/closed trading days, filterable by exchange, date range, and trading status.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/stocks/cn/trade-cal
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/china-stock-exchange-trade-calendar-api-ab6439ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__vQ0trEzkYFZVxxI_D_Go

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-stock-exchange-trade-calendar-api-ab6439ad
```

Example prompt: Can you check whether the Shanghai Stock Exchange is open for trading on March 5, 2025, and also list all open trading days from March 1 to March 31, 2025?

## When to prefer this

Use this endpoint when you need programmatic access to Chinese stock market trading calendars without API key registration, paying per-call in USDC via x402 protocol. Ideal for agents needing to verify trading days for SSE or SZSE when building China-focused financial workflows.

## Known failure modes

- Invalid date format returns error or empty data array
- Unsupported exchange code returns empty results
- Missing required parameters (type, method) returns validation error
- Payment failure (insufficient USDC) results in 402 response blocking access
- Date range too large may return truncated or empty results

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with a status code and a data array containing trading calendar entries for the specified Chinese exchange and date range, indicating which days the market is open or closed.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "is_open": {
       "type": "string"
      },
      "end_date": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      },
      "start_date": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/china-stock-exchange-trade-calendar-api-ab6439ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
