# claw402 China Stock Basic Info API

> claw402 China Stock Basic Info 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-14).

Retrieves basic information for Chinese stocks (A-shares), filterable by exchange, listing status, and HS connectivity.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/stocks/cn/stock-basic
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-china-stock-basic-info-api-cba69a46
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tfQpMK6fc3nGcP2s6awMG

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-basic-info-api-cba69a46
```

Example prompt: Can you get me a list of all currently listed Chinese A-shares on the Shanghai exchange? I want the basic stock info including codes and names.

## When to prefer this

Use this endpoint when you need basic reference data for Chinese A-share stocks, particularly when you need to filter by exchange (Shanghai/Shenzhen), listing status (listed/delisted/suspended), or HS connectivity. Prefer this over general market data APIs when you specifically need Chinese equity listings without requiring API keys or registration — just a USDC wallet.

## Known failure modes

- Empty data array returned if no stocks match the given filters
- Invalid exchange or list_status parameter values may return error code
- Payment failure via x402 protocol returns HTTP 402 if USDC wallet balance is insufficient
- Network timeout if vergex.trade backend is unavailable
- Malformed query parameters may result in a non-zero error code in the 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 code field (0 for success) and a data array containing basic stock information for Chinese equities matching the query filters — typically including stock codes, company names, exchange, and listing status.

## 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_hs": {
       "type": "string"
      },
      "exchange": {
       "type": "string"
      },
      "list_status": {
       "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-basic-info-api-cba69a46/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)
