Skip to content
Back to skills

Stock Holder Ten

ASecurity

| 项目 | 说明 | |----------|------------------------------------------------------------------| | 接口名称 | 查询单票所有公告期 10 大股东 | | 外部接口 | `/data/api/v1/market/data/holder/stock-holder-ten` | | 请求方式 | GET | | 适用场景 | 获取 A 股上市公司单只股票所有公告期的十大股东信息,支持沪深京股票 |

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add security-pride/MalSkills --skill stock-holder-ten --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stock Holder Ten?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stock Holder Ten
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/security-pride-stock-holder-ten/badge)](https://www.skillsdirectory.com/skills/security-pride-stock-holder-ten)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 查询单票所有公告期 10 大股东

## 接口说明

| 项目     | 说明                                                             |
|----------|------------------------------------------------------------------|
| 接口名称 | 查询单票所有公告期 10 大股东                                     |
| 外部接口 | `/data/api/v1/market/data/holder/stock-holder-ten`               |
| 请求方式 | GET                                                              |
| 适用场景 | 获取 A 股上市公司单只股票所有公告期的十大股东信息,支持沪深京股票 |

## 请求参数

| 参数名     | 类型   | 是否必填 | 描述         | 取值示例  | 备注                                                                                       |
|------------|--------|----------|--------------|-----------|--------------------------------------------------------------------------------------------|
| stock_code | string | 是       | 单个股票代码 | 603323.SH | 支持沪深京股票,A 股需为 6 位数字+后缀(SH=上交所,SZ=深交所,BJ=北交所),单次仅支持一个代码 |

## 执行方式

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

```bash
# 查询 603323.SH 所有公告期十大股东
python <RUN_PY> stock-holder-ten --stock_code 603323.SH
```

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

## 响应结构

```json
{
    "items": [
        {
            "stock_code": "603323.SH",
            "stock_name": "苏农银行",
            "publish_date": "2024-09-30",
            "share_holding": 46.32,
            "fen_holders": [
                {
                    "rank": 1,
                    "shareholder_name": "苏州农村商业银行股份有限公司",
                    "shareholder_type": "国有法人",
                    "share_type": "A股",
                    "shareholding": 120000000.0,
                    "share_ratio": 8.51,
                    "limit_num": null,
                    "unlimit_num": 120000000.0,
                    "change_shares": 0.0,
                    "change_type": "不变",
                    "change_percentage": 0.0
                }
            ]
        }
    ],
    "total_pages": 1,
    "total_items": 21
}
```

### 顶层字段说明

| 字段名      | 类型 | 是否可为空 | 说明     |
|-------------|------|------------|----------|
| items       | Array | 否        | 公告期列表(每个元素对应一个公告期) |
| total_pages | int  | 否         | 总页数   |
| total_items | int  | 否         | 总记录数 |

### TopTenHolders 字段说明

| 字段名        | 类型   | 是否可为空 | 说明                                      | 单位 |
|---------------|--------|------------|-------------------------------------------|------|
| stock_code    | String | 否         | 股票交易代码,固定携带 .SZ/.SH/.BJ 市场后缀 | -    |
| stock_name    | String | 否         | 上市公司对应股票名称                      | -    |
| publish_date  | String | 否         | 公告截止日期,固定格式为 YYYY-MM-DD        | -    |
| share_holding | float  | 否         | 十大股东持股合计(占股本比例总和)          | %    |
| fen_holders   | Array  | 否         | 十大股东明细列表                          | -    |

### HolderDetail 字段说明(fen_holders 数组元素)

| 字段名            | 类型   | 是否可为空 | 说明                                       | 单位 |
|-------------------|--------|------------|--------------------------------------------|------|
| rank              | int    | 否         | 股东名次                                   | -    |
| shareholder_name  | String | 否         | 股东名称                                   | -    |
| shareholder_type  | String | 否         | 股东性质                                   | -    |
| share_type        | String | 否         | 股份类型,固定为"A股"                       | -    |
| shareholding      | float  | 否         | 持股数                                     | 股   |
| share_ratio       | float  | 否         | 占股本持股比例                             | %    |
| limit_num         | float  | 是         | 限售数量                                   | 股   |
| unlimit_num       | float  | 是         | 无限售数量                                 | 股   |
| change_shares     | float  | 否         | 增减股数(与上期对比)                       | 股   |
| change_type       | String | 是         | 变动类型:新进、增持、减持、不变              | -    |
| change_percentage | float  | 是         | 变动比例(与上期对比),无上期数据时返回 null | %    |

### 变动类型说明

- **新进**:上期不存在该股东
- **增持**:本期持股数大于上期
- **减持**:本期持股数小于上期
- **不变**:本期持股数等于上期

## 注意事项

- `stock_code` 为必填项,单次仅支持一个股票代码
- 股票代码需携带市场后缀(`.SH` / `.SZ` / `.BJ`)
- `limit_num`、`unlimit_num`、`change_type`、`change_percentage` 可能为 `null`,展示时需做空值处理
- 该接口返回该股票所有历史公告期数据,通常 `total_pages` 为 1

Files in this skill

  • SKILL.md5.3 KB
  • scripts/handler.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…