指数 - 查询全部指数基础信息

SkillDev tools

Query basic information for all indices (market.ft.tech). Use when the user asks for the full list of indices, index abbreviations and full names, index PB/PE TTM, the list of supported indices, or which indices are available.

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/index-description-all/SKILL.md and read by ahel’s review.

1. 接口描述

项目说明
接口名称查询全部指数基础信息
外部接口GET /api/v1/market/data/index-description-all
请求方式GET
适用场景获取当前服务支持的 A 股相关指数列表及简称、全称、市净率、市盈率(TTM)等基础信息

2. 请求参数

说明:该接口无需请求参数。

参数名类型是否必填描述取值示例备注
---无需参数--

3. 响应说明

返回值为指数基础信息数组。

[
  {
    "symbol": "000001.XSHG",
    "full_name": "上证综合指数",
    "name": "上证指数",
    "pb": 1.5234,
    "pe_ttm": 16.5903
  }
]

IndexDescriptionItem 结构

字段名类型是否可为空说明单位
symbolstring指数代码,一般为六位代码加交易所后缀(如 000001.XSHG399001.XSHE899050.BJSE-
full_namestring指数全称-
namestring指数简称-
pbfloat市净率(LF),无数据时为 null-
pe_ttmfloat市盈率(TTM),无数据时为 null-

4. 用法

通过主目录 run.py 调用(无参数):

python <RUN_PY> index-description-all

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。脚本输出 JSON;请求头已内置 X-Client-Name: ft-claw

5. 请求示例

GET /api/v1/market/data/index-description-all

6. 注意事项

  • 响应为数组;字段 pbpe_ttm 可能为 null
  • 数据更新时间以服务端为准。

Signals

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