S SPARKDATA
← Back to data results

China equities

Market Sector Constituent Rank

MarketSectorConstituentRank
FreeJSONTry online

This API is free. Query it with any API key in your account.

Data description

Use the field names shown below when building requests.

市场板块成分股排序接口用于获取沪深北市场各主要板块(包括全部A股、沪深A股、上证A股、深证A股、北证A股、沪深主板、上证主板、深证主板、创业板、科创板等)的成分股详细列表,并根据行情指标对成分股进行排序和分析。支持的排序指标包括:涨跌幅、最新价、涨跌额、成交量、成交额、成交笔数、昨收价、开盘价、最高价、最低价、振幅、换手率、总市值、流通市值、总股本、流通股本、52周涨跌幅、年初至今涨跌幅。 使用场景 用户可以获取市场板块成分股的涨跌幅数据,并按涨跌幅进行排序,快速找到表现最好的股票,便于进行短期投资或把握市场热点。 用户可以获取板块成分股的成交量数据,并按成交量进行排序,识别市场活跃度较高的股票,便于进行交易决策。 用户可以获取板块成分股的换手率数据,并按换手率进行排序,识别市场活跃度较高的股票,便于判断股票的流动性。

POST /v1/data/operations/MarketSectorConstituentRank · JSON

Input parameters

FieldTypeConstraintDescription and example
securitiesMarketCode
市场板块名称
string
string
Optional
Dictionary selection: SECURITIES_MARKET_CODE
市场板块名称

Example: Example text

componentSortingField
成分股排序指标
string
string
Optional
Dictionary selection: COMPONENT_SORTING_FIELD
成分股排序指标

Example: Example text

fieldSortingMethod
指标排序方式
string
string
Optional
Dictionary selection: SORT_TYPE
指标排序方式

Example: Example text

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
marketDate
交易日期
string
string
—市场板块成分股行情数据的交易日期

Example: Example text

prodCode
证券代码
string
string
—市场板块成分股的唯一编码

Example: Example text

prodName
证券名称
string
string
—市场板块成分股的具体名称

Example: Example text

pxChangeRate
涨跌幅(%)
number
number
—市场板块成分股的当日最新涨跌幅

Example: 1

lastPx
最新价
number
number
—市场板块成分股的当日最新最新价

Example: 1

pxChange
涨跌
number
number
—市场板块成分股的当日最新涨跌

Example: 1

businessAmount
成交量
string
string
—市场板块成分股的当日最新成交量

Example: Example text

businessBalance
成交额
string
string
—市场板块成分股的当日最新成交额

Example: Example text

preclosePx
昨收价
number
number
—市场板块成分股的昨日收盘价

Example: 1

openPx
开盘价
number
number
—市场板块成分股的当日开盘价

Example: 1

highPx
最高价
number
number
—市场板块成分股的当日最高价

Example: 1

lowPx
最低价
number
number
—市场板块成分股的当日最低价

Example: 1

amplitude
振幅(%)
number
number
—市场板块成分股的当日最新振幅

Example: 1

turnoverRatio
换手率(%)
number
number
—市场板块成分股的当日最新换手率

Example: 1

marketValue
总市值
string
string
—市场板块成分股的当日最新总市值

Example: Example text

circulationValue
流通市值
string
string
—市场板块成分股的当日最新流通市值

Example: Example text

totalShares
总股本
string
string
—市场板块成分股的当日最新总股本

Example: Example text

circulationAmount
流通股本
string
string
—市场板块成分股的当日最新流通股本

Example: Example text

pxChangeRate52w
52周涨跌幅(%)
number
number
—市场板块成分股的近52周涨跌幅

Example: 1

yearPxchangeRate
年初至今涨跌幅(%)
number
number
—市场板块成分股的年初至今涨跌幅

Example: 1

Request example

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

{
  "parameters": {
    "pageNo": 1,
    "pageSize": 5
  }
}
  • 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.