S SPARKDATA
← Back to data results

China equities

Stock Belong Index

StockBelongIndex
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.

所属市场指数 API 支持通过输入沪深北上市公司名称或股票代码,快速获取该上市公司归属的市场指数。接口返回上市公司在沪深北交易所和其他市场的指数名称、指数代码等关键信息。 典型问法:XX 股票属于哪些市场指数?与智能选股 API 不同,本接口侧重基于单个或多个股票查询其对应的市场指数归属,而非基于用户提供的指数条件筛选股票清单。 1、单股指数查询 支持输入沪深北上市公司名称或股票代码,精准查询该股票所属的全部市场指数,涵盖沪深 300、上证 50、中证 500、北证 50 等主流市场指数,以及各交易所特色指数。 示例:查询工商银行所属的市场指数;获取股票代码 000002 的万科 A 归属的指数有哪些。 2、多股指数查询 支持输入多个沪深北上市公司名称或股票代码,批量查询多只股票的市场指数信息,并可对比不同股票的指数归属差异。 示例:查询宁德时代、隆基绿能是否同属于中证新能源指数;对比招商银行、平安银行在沪深 300 与上证 180 指数中的重叠情况。

POST /v1/data/operations/StockBelongIndex · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
股票代码
string_array
string_array
Required
Dictionary selection: STOCK_A_COMPANY
股票代码是沪深北上市公司通用的股票代码,支持一次获取多个品种数据

Example: ["1679"]

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认值为1

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
stockcode
股票代码
string
string
—沪深北上市公司的通用股票代码

Example: Example text

stockname
股票名称
string
string
—沪深北上市公司的股票简称

Example: Example text

indexcode
所属指数代码
string
string
—股票所属指数代码

Example: Example text

indexname
所属指数名称
string
string
—股票所属指数名称

Example: Example text

Request example

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

{
  "parameters": {
    "stockObject": [
      "1679"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • stockObject: 贵州茅台 · 600519.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.