S SPARKDATA
← Back to data results

Indices

Index Constituent Stocks

IndexConstituentStocks
Paid · PlusJSONTry online

This API requires paid access or an active trial. Review its fields and examples first; online payments are not available yet.

Data description

Use the field names shown below when building requests.

本接口可获取境内外指数的成分构成、权重分布以及成分股行情、指数贡献点等信息。接口覆盖上证指数、深证指数、北证指数、中证指数、国证指数、申万指数、中信指数、华证指数等多市场股票指数,帮助用户分析股票指数成分股构成及动态变化。 典型问法:查询沪深 300 指数的成分股名单及权重;深证成指最新成分股的权重分布如何?获取上证 50 指数截止 2025 年 6 月 30 日的成分股代码; 核心功能 1、单指数成分股查询 输入指数代码 / 名称及截止日期,获取该指数在指定时间点的成分股列表及权重数据,支持细化至行业分类维度。 示例:沪深 300 指数在 2024 年 12 月 31 日的成分股有哪些?各自权重是多少? 2、多指数成分股对比 批量输入多个指数代码 / 名称,对比不同指数的成分股构成及权重差异,支持按相同行业分类标准筛选。 示例:对比上证 50 与科创 50 指数在 2025 年 3 月 31 日的成分股差异? 3、成分股动态追踪 获取同一指数在不同历史日期的成分股数据,展示成分股新增、剔除及权重变动情况,辅助分析指数成分股的结构性调整。 示例:沪深 300 指数在 2024 年 6 月 30 日至 2024 年 12 月 31 日期间成分股有哪些调整?

POST /v1/data/operations/IndexConstituentStocks · JSON

Input parameters

FieldTypeConstraintDescription and example
indexObject
指数代码
string_array
string_array
Required
Dictionary selection: SECU_INDEX
交易市场通用的指数代码、指数简称、全称、英文名

Example: ["3145"]

endDate
截止日期
date
date
Optional截止日期,日期格式为:YYYY-MM-DD

Example: 2026-09-30

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认不限

Example: 1

pageSize
页内记录数
number
number
Optional单页返回的最大记录条数,默认不限

Example: 5

Response fields

FieldTypeConstraintDescription and example
indexobject
指数内码
string
string
—指数在聚源数据库的唯一标识ID

Example: Example text

indexcode
指数代码
string
string
—交易市场通用的指数代码

Example: Example text

indexname
指数简称
string
string
—交易市场通用的指数简称

Example: Example text

stockobject
股票内码
string
string
—股票在聚源数据库的唯一标识ID

Example: Example text

stockcode
股票代码
string
string
—交易市场通用的股票代码

Example: Example text

stockname
股票简称
string
string
—交易市场通用的股票简称

Example: Example text

weight
权重(%)
string
string
—指数成分股在指数中的权重比例

Example: Example text

closeprice
收盘价(元)
string
string
—指数成分股在最新交易日的收盘价

Example: Example text

change
涨跌(元)
string
string
—指数成分股在最新交易日的涨跌

Example: Example text

changerate
涨跌幅(%)
string
string
—指数成分股在最新交易日的涨跌幅

Example: Example text

indexcontrib
指数贡献点
string
string
—指数成分股的上涨或下跌对指数点位的贡献值,正数表示拉升指数,负数表示拖累指数

Example: Example text

volume
成交量(万股)
string
string
—指数成分股在最新交易日的成交量

Example: Example text

amount
成交额(万元)
string
string
—指数成分股在最新交易日的成交额

Example: Example text

totalshare
总股本(亿股)
string
string
—指数成分股在最新交易日的总股本

Example: Example text

totalmarketval
总市值(亿元)
string
string
—指数成分股在最新交易日的总市值

Example: Example text

freefloatshare
自由流通股本(亿股)
string
string
—指数成分股在最新交易日的自由流通股本

Example: Example text

freefloatval
自由流通市值(亿元)
string
string
—指数成分股在最新交易日的自由流通市值

Example: Example text

secondindustry
证监会行业
string
string
—指数成分股的证监会二级行业分类

Example: Example text

inclusiondate
纳入日期
date
date
—成分股首次纳入指数的日期,用于追溯成分股历史变动

Example: 2026-09-30

Request example

Example instruments, required parameters and applicable page limits are prefilled. Open the side drawer for field notes and a live response.

{
  "parameters": {
    "indexObject": [
      "3145"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • indexObject: 沪深300 · 000300.SH
  • Samples use verified instruments and dictionary values. Records depend on the query range, data updates and the selected key's permissions.
  • The sample requests 5 records; some business aggregates may return more rows, as shown in the actual response.

Coverage and access boundaries

Run the example to check the securities, dates and fields you need. Available history and content rights vary by endpoint. Requests use your account access and the selected API key.

Follow the parameter notes for minute intervals, price adjustment and time units. A missing field does not mean a zero value.