# claw402 China Stock Margin Trading Data

> claw402 China Stock Margin Trading Data 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).

Retrieves margin trading data for Chinese (CN) stocks, filterable by date range and exchange, paid per-call with USDC via x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/stocks/cn/margin
- 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/claw402-china-stock-margin-trading-data-f1310404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ePe-Y5QT9U-p9wSo2Rfu7

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 claw402-china-stock-margin-trading-data-f1310404
```

Example prompt: Can you pull the margin trading data for Chinese stocks on the Shanghai exchange from January 1 to January 31, 2025?

## When to prefer this

Use this endpoint when you need per-call, no-registration access to Chinese stock margin trading data, particularly when you want to filter by date range or specific exchange and are comfortable paying micro-amounts in USDC via an x402-compatible wallet.

## Known failure modes

- Empty data array returned if no margin records exist for the specified date or exchange
- Invalid date format may result in no results or an error code
- Unsupported exchange_id may yield empty results
- Payment failure via x402/USDC wallet blocks access entirely
- Missing required query parameters may return a generic error or empty response

## 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 margin trading records for Chinese stocks, filtered by the requested date range and/or exchange ID.

## 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": {
      "end_date": {
       "type": "string"
      },
      "start_date": {
       "type": "string"
      },
      "trade_date": {
       "type": "string"
      },
      "exchange_id": {
       "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/claw402-china-stock-margin-trading-data-f1310404/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)
