# claw402 China A-Share Daily Basic Stock Data

> claw402 China A-Share Daily Basic Stock 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-15).

Retrieves daily basic financial metrics for Chinese A-share stocks by ts_code, trade date, or date range

## Facts

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

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-a-share-daily-basic-stock-data-af70a8df
```

Example prompt: Can you pull the daily basic stock data for 000001.SZ on the Chinese A-share market for trades between 2024-01-01 and 2024-03-31?

## When to prefer this

Use this endpoint when you need daily basic fundamental metrics (P/E, turnover, market cap, etc.) for Chinese A-share listed stocks, especially when you want to avoid API key registration and prefer paying per-call in USDC via the x402 protocol. Prefer this over traditional data providers when operating in a crypto-native, wallet-based agent workflow.

## Known failure modes

- Empty data array returned if ts_code is invalid or not a Chinese A-share ticker
- Empty results if trade_date or date range has no trading activity (e.g. weekend/holiday)
- Non-zero error code if required parameters are missing or malformed
- Payment failure if USDC wallet balance is insufficient for the $0.002 fee
- No data returned for very recent dates if data pipeline has a lag

## How this service works

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

## Output

A JSON object with code 0 and a data array containing daily basic stock records for the requested ticker and date range, including fundamental metrics such as P/E ratio, turnover rate, and market capitalization figures for each trading day.

## 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": {
      "ts_code": {
       "type": "string"
      },
      "end_date": {
       "type": "string"
      },
      "start_date": {
       "type": "string"
      },
      "trade_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/claw402-china-a-share-daily-basic-stock-data-af70a8df/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)
