# CN Data – Chinese A-Share Insider Trading Feed

> CN Data – Chinese A-Share Insider Trading Feed is a paid API for AI agents from cn-data-x402.cn-data-x402-worker.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-16).

Returns structured JSON records of insider shareholding changes (buys and sells) by executives, directors, and supervisors of Shanghai, Shenzhen, and Beijing A-share listed companies.

## Facts

- Endpoint: GET https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/insider?utm_source=zero.xyz
- Price: $0.02/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-chinese-a-share-insider-trading-feed-2456e761
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6Z6Q9zg2KMttJeEIQSS4r

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-chinese-a-share-insider-trading-feed-2456e761
```

Example prompt: Pull the 100 most recent insider transactions across all Chinese A-shares, sorted by transaction amount, and show me only the increases — I want to see who's been buying.

## When to prefer this

Choose this endpoint when you need machine-readable insider transaction data for Chinese A-share markets (Shanghai, Shenzhen, Beijing) — particularly when the source is only available as a Chinese-language web page. It is the right choice for monitoring executive buy/sell activity, screening stocks by insider sentiment, or auditing a specific company's insider trading history. Prefer it over general financial data APIs when you need coverage of Chinese-listed companies specifically and want structured JSON without needing an API key or pre-registration.

## Known failure modes

- HTTP 402 returned before payment — agent must complete x402 USDC payment flow on Base and retry
- Invalid date format returns an error — must be YYYY-MM-DD
- Symbol with fewer than 6 digits or non-existent code returns empty items array
- limit outside 1-300 range may be rejected or clamped
- direction value other than 'up' or 'down' may be ignored or cause an error
- sort value other than 'date', 'shares', or 'amount' may default to 'date'

## 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 ok:true and a data payload containing: an array of insider transaction records (each with stock code, name, insider name, role, relation, direction, change date, shares before/after, average price in CNY, total amount in CNY, and percentage of total shares); summary counts of increases and decreases; net shares and amounts; active filters; data source attribution; and total matching record count.

## 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": {
      "date": {
       "type": "string",
       "description": "变动日 YYYY-MM-DD，如 2026-10-13"
      },
      "sort": {
       "type": "string",
       "description": "排序：date（变动日倒序，默认）/ shares（变动股数）/ amount（变动金额）"
      },
      "limit": {
       "type": "integer",
       "description": "返回条数 1-300，默认 50"
      },
      "symbol": {
       "type": "string",
       "description": "6 位股票代码，查该股全部变动记录（按日期倒序），如 600519"
      },
      "direction": {
       "type": "string",
       "description": "方向：up（只看增持）/ down（只看减持），不传是全部"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "sort": "date",
   "items": [
    {
     "code": "600165",
     "name": "宁科生物",
     "person": "金相宇",
     "reason": "二级市场买卖",
     "symbol": "600165.SH",
     "holdType": "A股",
     "position": "高级管理人员",
     "relation": "本人",
     "direction": "增持",
     "changeDate": "2026-10-13",
     "changeShares": 20000,
     "holdAfterShares": 50000,
     "averagePriceYuan": 3.2,
     "changeAmountYuan": 64000,
     "holdBeforeShares": 30000,
     "holdAfterChangeShares": 50000,
     "changeRatioPercentOfTotalShares": 0.0012
    }
   ],
   "source": "高管持股变动来自东方财富数据中心公开接口（RPT_EXECUTIVE_HOLD_DETAILS），覆盖沪深北 A 股的董监高及关键人买卖记录。",
   "symbol": null,
   "returned": 1,
   "decreaseCount": 0,
   "increaseCount": 1,
   "totalMatching": 172444,
   "returnedTotals": {
    "netShares": 20000,
    "decreaseAmountYuan": 0,
    "increaseAmountYuan": 64000
   },
   "directionFilter": null,
   "changeDateFilter": null
  },
  "endpoint": "/cn/insider"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cn-data-chinese-a-share-insider-trading-feed-2456e761/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)
