查询单票股权质押个股详细信息

SkillDev tools

Query detailed share pledge information for a single stock. Use when the user needs detailed share pledge data across all reporting periods for a single A-share listed company, supports Shanghai, Shenzhen, and Beijing stocks, supports paginated queries, or wants to view detailed share pledge informa

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 查询单票股权质押个股详细信息 skill

What this skill tells your AI

The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/sub-skills/pledge-detail/SKILL.md and read by ahel’s review.

接口说明

项目说明
接口名称查询单票股权质押个股详细信息
外部接口/api/v1/market/data/pledge/pledge-detail
请求方式GET
适用场景获取 A 股上市公司单只股票所有报告期的股权质押详细信息,支持沪深京股票,支持分页查询

请求参数

参数名类型是否必填描述取值示例备注
stock_codestring单个股票代码603323.SH支持沪深京股票,A股需为6位数字+后缀(SH=上交所,SZ=深交所,BJ=北交所),单次仅支持一个代码
pageint页码,从 1 开始1默认值为 1,必须大于等于 1
page_sizeint每页记录数50默认值为 50,必须大于等于 1

执行方式

通过根目录的 run.py 调用(推荐):

python <RUN_PY> pledge-detail --stock_code 603323.SH
python <RUN_PY> pledge-detail --stock_code 603323.SH --page 2 --page_size 20

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径,参见主 SKILL.md 的「调用方式」说明。

响应结构

接口返回带分页信息的对象:

{
    "items": [
        {
            "trade_code": "603323.SH",
            "stock_name": "苏农银行",
            "report_date": "2025-09-30",
            "pledge_ratio": 12.34,
            "pledge_n": 5,
            "pledge_market_value": 98765432.0,
            "pledge_unlimitn": 1234.56,
            "pledge_limitn": 0.0,
            "last_year_fluctuation": -5.67
        }
    ],
    "total_pages": 1,
    "total_items": 21
}

PledgeStockHolder 字段说明

字段名类型是否可为空说明单位
trade_codeString股票交易代码,固定携带 .SZ/.SH/.BJ 市场后缀-
stock_nameString上市公司对应股票名称-
report_dateString报告日期,固定格式为 YYYY-MM-DD-
pledge_ratiofloat质押比例%
pledge_nint质押笔数
pledge_market_valuefloat质押市值(质押股数 × 报告日期收盘价)
pledge_unlimitnfloat质押无限售股数万股
pledge_limitnfloat质押限售股数万股
last_year_fluctuationfloat较上年变动(报告日期收盘价与一年前收盘价的涨跌幅),无上年数据时返回 null%

注意事项

  • stock_code 为必填参数,单次请求只支持一个股票代码
  • 分页参数 pagepage_size 均为可选,默认 page=1page_size=50
  • 返回值包含 itemstotal_pagestotal_items 分页包装
  • last_year_fluctuation 可为 null(无上年数据时)

Signals

GitHub stars
64
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
pledge-detail
Source
github.com/ftshare-lab/ftshare-skill