# ADH China A-Share Capital Flow Intelligence (LHB + Margin + Northbound)

> ADH China A-Share Capital Flow Intelligence (LHB + Margin + Northbound) is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns China A-share capital flow intelligence including Dragon-Tiger Board (龙虎榜) top-trader activity, Shanghai/Shenzhen margin financing balances, and Northbound (沪深港通) fund flow data in a single enriched payload.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/cn-stock-lhb
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adh-china-a-share-capital-flow-intelligence-lhb-margin-northbound-e60ef4e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BTAusKZq-Wi4_bzL0juWN

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 adh-china-a-share-capital-flow-intelligence-lhb-margin-northbound-e60ef4e9
```

Example prompt: Pull the latest China A-share capital flow intelligence — Dragon-Tiger Board institutional activity, Shanghai and Shenzhen margin financing balances, and northbound fund flow from 沪深港通 — so I can see where smart money is moving right now.

## When to prefer this

Choose this endpoint when you need a single enriched snapshot of Chinese A-share capital flow intelligence — specifically the combination of Dragon-Tiger Board institutional activity, margin financing levels, and northbound fund flow — without having to query and join multiple raw exchange data sources yourself. Prefer it over raw akshare or direct exchange scraping when entity resolution, time synchronization across Shanghai/Shenzhen/HK data, and source attribution are important. Not suitable if you need real-time tick data, options flow, or non-A-share markets.

## Known failure modes

- Upstream akshare / exchange data unavailable during non-trading hours — may return stale or empty arrays
- x402 payment not settled — returns 402 Payment Required before data is delivered
- Dragon-Tiger Board 'post-listing 10-day' fields may be null for very recent entries
- Northbound flow may show zero net buy when markets are closed or in suspension (交易状态=3)
- Rate limiting or provider downtime may cause HTTP 5xx responses

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

A JSON object containing: (1) 'dragons' — an array of Dragon-Tiger Board entries for the past 14 calendar days, each with stock code, name, listing date, turnover rate, close price, percent change, listing reason, market cap, institutional buy/sell/net amounts, and post-listing 1/2/5/10-day returns; (2) 'margin_sh' and 'margin_sz' — historical Shanghai and Shenzhen margin financing/short-selling balances in CNY; (3) 'hsgt_fund_flow' — latest Northbound (沪股通/深股通) fund flow with net buy amounts and index performance; (4) 'as_of' dates per data sub-type; (5) 'source' and 'collected_at' provenance metadata.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "required": []
    }
   },
   "required": [
    "type",
    "method"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": {
   "沪市两融": "2026-08-12",
   "沪深港通": "2026-08-13",
   "深市两融": "2026-08-12"
  },
  "source": "东方财富/上交所/深交所 via akshare（本地采集）",
  "dragons": [
   {
    "代码": "000009",
    "名称": "中国宝安",
    "序号": 1,
    "解读": "2家机构买入，成功率38.69%",
    "上榜日": "2026-07-31",
    "换手率": 5.6024,
    "收盘价": 7.87,
    "涨跌幅": 10.0699,
    "上榜原因": "连续三个交易日内，涨幅偏离值累计达到20%的证券",
    "流通市值": 20273281059.55,
    "上榜后1日": 0.1270648,
    "上榜后2日": 0.50825921,
    "上榜后5日": 2.92249047,
    "上榜后10日": null,
    "市场总成交额": 1495614588,
    "龙虎榜买入额": 519859161.01,
    "龙虎榜净买额": 362524375.65,
    "龙虎榜卖出额": 157334785.36,
    "龙虎榜成交额": 677193946.37,
    "净买额占总成交比": 24.239157504794,
    "成交额占总成交比": 45.278640085717
   },
   {
    "代码": "000009",
    "名称": "中国宝安",
    "序号": 1,
    "解读": "2家机构买入，成功率38.69%",
    "上榜日": "2026-07-31",
    "换手率": 5.6024,
    "收盘价": 7.87,
    "涨跌幅": 10.0699,
    "上榜原因": "连续三个交易日内，涨幅偏离值累计达到20%的证券",
    "流通市值": 20273281059.55,
    "上榜后1日": 0.1270648,
    "上榜后2日": 0.50825921,
    "上榜后5日": 2.92249047,
    "上榜后10日": null,
    "市场总成交额": 1495614588,
    "龙虎榜买入额": 519859161.01,
    "龙虎榜净买额": 362524375.65,
    "龙虎榜卖出额": 157334785.36,
    "龙虎榜成交额": 677193946.37,
    "净买额占总成交比": 24.239157504794,
    "成交额占总成交比": 45.278640085717
   }
  ],
  "data_type": "A股资金面",
  "margin_sh": [
   {
    "日期": "2026-05-20",
    "融券余量": 2476267167,
    "融券余额": 13973877960,
    "融资余额": 1470302212115,
    "融券卖出量": 98051053,
    "融资买入额": 146366306418,
    "融资融券余额": 1484276090075
   },
   {
    "日期": "2026-05-20",
    "融券余量": 2476267167,
    "融券余额": 13973877960,
    "融资余额": 1470302212115,
    "融券卖出量": 98051053,
    "融资买入额": 146366306418,
    "融资融券余额": 1484276090075
   }
  ],
  "margin_sz": [
   {
    "日期": "2026-05-20",
    "融券余量": null,
    "融券余额": 7346589576,
    "融资余额": 1404331209051,
    "融券卖出量": null,
    "融资买入额": 145860647290,
    "融资融券余额": 1411677798627
   },
   {
    "日期": "2026-05-20",
    "融券余量": null,
    "融券余额": 7346589576,
    "融资余额": 1404331209051,
    "融券卖出量": null,
    "融资买入额": 145860647290,
    "融资融券余额": 1411677798627
   }
  ],
  "field_note": "龙虎榜为近14自然日上榜个股明细；沪深港通为最新交易日资金流向汇总；两融为沪深市场融资融券余额历史（单位：元）",
  "collected_at": "2026-08-13T08:40:01Z",
  "hsgt_fund_flow": [
   {
    "板块": "沪股通",
    "类型": "沪港通",
    "上涨数": 391,
    "下跌数": 1214,
    "交易日": "2026-08-13",
    "持平数": 34,
    "交易状态": 3,
    "相关指数": "上证指数",
    "资金方向": "北向",
    "成交净买额": 0,
    "指数涨跌幅": -0.5,
    "资金净流入": 0,
    "当日资金余额": 0
   },
   {
    "板块": "沪股通",
    "类型": "沪港通",
    "上涨数": 391,
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-china-a-share-capital-flow-intelligence-lhb-margin-northbound-e60ef4e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
