Skip to content
index-description-paginated logo

分页查询指数描述列表(index-description-paginated)

index-description-paginated

分页查询 A 股相关指数描述列表(market.ft.tech)。含指数代码(纯 6 位 index_code)、名称、简介及用于下载描述文件的 url_hash。用户问指数描述分页、指数简介列表、指数 url_hash、某只指数简介、有哪些指数描述、下载指数描述前先查列表时使用。也可作为**名称→代码映射源**:用户给出中文指数名称时,先调本接口按 index_name 匹配,取 index_code 供 index-weight-list 等接口使用。下游:取到 url_hash 后可调 index-description-download 下载 PDF。

SKILL.md

Full skill instructions

分页查询指数描述列表(index-description-paginated)

1. 接口描述

项目说明
接口名称分页查询指数描述列表
外部接口/​data/​api/​v1/​market/​data/​index/​index_description
请求方式GET
适用场景分页获取 A 股相关指数描述信息,含指数代码、名称、简介及用于下载文件的 url_hash

2. 请求参数

说明:使用查询参数。

参数名类型是否必填描述取值示例备注
pageint否页码1默认 1
page_sizeint否每页条数20默认 20,最大 100

3. 响应说明

返回值为分页列表对象 IndexDescriptionListResponse。

IndexDescriptionListResponse 结构

字段名类型是否可为空说明单位
totalint否总条数-
pageint否当前页码-
page_sizeint否每页条数-
index_descriptionsarray否指数描述条目列表-

IndexDescriptionInfo 结构(index_descriptions 元素)

字段名类型是否可为空说明单位
index_codeString否指数代码-
index_origString否指数原始名称/简称类字段(与上游一致)-
index_nameString否指数名称-
index_introString否指数简介-
url_hashString否对应描述文件的哈希,用于「下载指数描述文件」接口-

4. 调用方式

本 handler 与上级 FTShare-index-data/​run.py 配合使用:

python <RUN_PY> index-description-paginated --page 1 --page-size 20

其中 <RUN_PY> 为 FTShare-index-data/​run.py 的绝对路径。

直接执行 handler(调试)

python scripts/​handler.py --page 1 --page-size 20

(需在 sub-skills/​index-description-paginated 目录下执行,或传入脚本完整路径。)

5. 链路说明

本接口为描述链第 1 步。取到 url_hash 后,可调用 index-description-download --url-hash <url_hash> 下载对应指数描述 PDF。

名称→代码映射

本接口返回的 index_code(纯 6 位,如 000300)与 index_name 可用于名称到代码映射。当其他接口(如 index-weight-list)需要 index_code 但用户只给了中文名称时:

  1. 调用本接口 --page 1 --page-size 100
  2. 在 index_descriptions 中按 index_name 模糊搜索用户给出的名称
  3. 取匹配项的 index_code 传给目标接口

6. 请求示例

GET https://market.ft.tech/​data/​api/​v1/​market/​data/​index/​index_description?page=1&page_size=20

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View