Skip to main content
POST
Index Constituents

查询指数成分股

URL: /v1/stock/index-constituents
方法: POST
描述: 根据指数代码查询指数成分股列表。

请求参数

响应参数

data 对象结构

成分股对象结构

示例代码

cURL 示例

Python 示例

TypeScript 示例

响应示例

成功响应

成功响应(无数据)

常用指数代码

注意事项

  • symbol 参数:指数代码,如沪深300的代码为 000300
  • 空响应:如果 data.items 为空数组,说明没有找到该指数的成分股数据
  • 市场标识:返回的 market 字段表示成分股所在市场(cn、hk、us)

Authorizations

Authorization
string
header
required

Enter your Bearer token

Body

application/json

Input schema for index constituents query

symbol
string
required

Index symbol

Example:

"000300"

Response

Successful Response

Generic response wrapper from stock API

status
integer

HTTP status code

code
integer

Response code (0 for success)

message
string

Response message

data
Data · object

Response data (structure varies by endpoint)