# CN Data – China A-Share Equity Pledge Data

> CN Data – China A-Share Equity Pledge Data 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 a snapshot of equity pledge (stock pledge) data for A-share companies listed on Shanghai, Shenzhen, and Beijing exchanges, sortable by pledge ratio, shares, market cap, or deal count.

## Facts

- Endpoint: GET https://cn-data-x402.cn-data-x402-worker.workers.dev/cn/pledge?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-china-a-share-equity-pledge-data-b8ca8c79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CHPuYOcLumugGNs1ZFpiS

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-china-a-share-equity-pledge-data-b8ca8c79
```

Example prompt: Show me the top 20 A-share stocks ranked by equity pledge ratio as of 2024-06-30, and also pull the full pledge breakdown for stock 600370.

## When to prefer this

Use this endpoint when you need machine-readable equity pledge data for Chinese A-share stocks — particularly for risk screening (high pledge ratio = potential margin call risk), single-stock due diligence, or sector-level pledge concentration analysis. It converts a Chinese-language web data source into clean JSON without requiring any API key or signup, making it the easiest programmatic path to this data. Prefer it over scraping East Money directly, which is fragile and unstructured.

## Known failure modes

- Invalid or non-existent 6-digit stock symbol returns empty items array
- Future or non-trading date returns data for the most recent valid trading day
- limit out of range (outside 1-300) may return default 50 or an error
- Payment not received or underpaid returns HTTP 402 with payment terms and no data
- sort value not in allowed set (ratio/shares/marketcap/deals) may default to ratio

## 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: a list of matching stocks with fields including stock code, name, exchange symbol, industry, trade date, pledged shares (limited and unlimited), pledge deal count, pledge ratio percent, pledge market cap in yuan, and YTD price change percent. Also includes aggregate totals, an industry frequency breakdown, total matching count, the sort mode used, and a source attribution note.

## 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，默认最新一个交易日"
      },
      "sort": {
       "type": "string",
       "description": "排序：ratio（质押比例，默认）/ shares（质押股数）/ marketcap（质押市值）/ deals（质押笔数）"
      },
      "limit": {
       "type": "integer",
       "description": "返回条数 1-300，默认 50"
      },
      "symbol": {
       "type": "string",
       "description": "6 位股票代码，查单只股票"
      }
     }
    }
   },
   "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": "ratio",
   "items": [
    {
     "code": "600370",
     "name": "*ST三房",
     "symbol": "600370.SH",
     "industry": "化学纤维",
     "tradeDate": "2026-10-09",
     "pledgedShares": 3167455600,
     "pledgeDealCount": 34,
     "pledgeRatioPercent": 78.74,
     "pledgeMarketCapYuan": 4244390504,
     "limitedPledgedShares": 0,
     "unlimitedPledgedShares": 3167455600,
     "priceChangeThisYearPercent": -36.79245283
    }
   ],
   "source": "股权质押数据来自东方财富数据中心公开接口（RPT_CSDC_LIST），按交易日快照，覆盖沪深北 A 股。",
   "symbol": null,
   "returned": 1,
   "tradeDate": "2026-10-09",
   "byIndustry": [
    {
     "count": 1,
     "industry": "化学纤维"
    }
   ],
   "totalMatching": 2213,
   "returnedTotals": {
    "pledgedShares": 3167455600,
    "pledgeMarketCapYuan": 4244390504
   }
  },
  "endpoint": "/cn/pledge"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cn-data-china-a-share-equity-pledge-data-b8ca8c79/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)
