S SPARKDATA
← Back to data results

China equities

Stock Market Size Stats

StockMarketSizeStats
FreeJSONTry online

Operation explorer

Stock Market Size Stats

StockMarketSizeStats
Manage API keys

Loading account…

The example is prefilled. Choose an API key and run it.

Uses the account’s current access and allowance. Field notes stay separate so copied JSON remains executable.

  • secuMarketCode: 沪深A股
  • 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.
Example field notes 5
secuMarketCodestring_array · required
市场支持沪深京市、沪深两市、沪市、深市、京市、主板、创业板、科创板、上市A股、上市B股等市场Use an exact name or dictionary code. 沪深A股 (HSA)
beginDatestring
查询开始日期Use YYYY-MM-DD; wrap array values in a JSON array.
endDatestring
查询结束日期Use YYYY-MM-DD; wrap array values in a JSON array.
pageNostring
定位分页查询的目标页码,默认不限Page numbers start at 1; the sample reads the first page.
pageSizestring
单页返回的最大记录条数,默认不限The sample requests 5 records for a quick preview.
POST /v1/data/operations/StockMarketSizeStats

curl example with field notes
# secuMarketCode: string_array (required) — 市场支持沪深京市、沪深两市、沪市、深市、京市、主板、创业板、科创板、上市A股、上市B股等市场
# beginDate: string — 查询开始日期
# endDate: string — 查询结束日期
# pageNo: string — 定位分页查询的目标页码,默认不限
# pageSize: string — 单页返回的最大记录条数,默认不限
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/StockMarketSizeStats' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"secuMarketCode":["HSA"],"beginDate":"2026-10-15","endDate":"2026-11-14","pageNo":"1","pageSize":"5"}}'

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

Data description

Use the field names shown below when building requests.

股票市场规模统计接口支持输入证券市场名称、统计周期及截止日期,快速获取指定市场在对应统计维度下的核心规模数据。接口返回证券市场名称、统计周期、截止日期、上市公司数量、上市股票数量、总股本、流通股本、总市值、流通市值等关键字段,全面覆盖市场主体数量、股本结构、市值规模等核心维度,帮助用户深入了解不同股票市场 / 板块的整体规模体量与股本市值结构特征。 典型问法 某证券市场 2024 年 6 月 30 日的总市值和流通市值分别是多少?2023 年科创板与创业板的上市公司数量和总股本差异如何? 使用场景 1、单市场单期查询: 输入证券市场名称、统计周期及截止日期,精准获取指定时期内该市场的详细规模数据。示例:查询沪市 A 股 2024 年一季度的上市公司数量与总市值;获取创业板 2023 年的流通股本与流通市值数据。 2、多市场对比查询: 批量输入多个证券市场名称,对比不同市场在同一统计周期(同一截止日期)内的规模表现差异。示例:对比沪市主板与深市主板 2024 年二季度的上市股票数量与总市值;分析科创板与北交所最新总股本与流通市值规模差异。 3、市场规模动态追踪: 输入证券市场名称及多个截止日期,获取多期规模数据,展示各项指标的历史变化趋势,辅助分析市场规模的发展态势与结构变化。示例:查看沪深京全市场近三年各季度的上市公司数量与总市值变动情况;追踪沪市科创板 2022-2024 年间总股本与流通股本的增长趋势,评估其市场扩容节奏与股本流通性变化。

POST /v1/data/operations/StockMarketSizeStats · JSON

Input parameters

FieldTypeConstraintDescription and example
secuMarketCode
证券市场名称
string_array
string_array
Required
Dictionary selection: STOCK_SECURITIES_MARKET_CODE_NON_HSGT
市场支持沪深京市、沪深两市、沪市、深市、京市、主板、创业板、科创板、上市A股、上市B股等市场

Example: ["HSA"]

reportPeriod
统计周期
string
string
Optional
Dictionary selection: StatisticalPeriod
统计周期类型,包括日、周、月、年

Example: Example text

beginDate
开始日期
string
string
Optional查询开始日期

Example: 2026-10-15

endDate
截止日期
string
string
Optional查询结束日期

Example: 2026-11-14

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
secumarketcode
证券市场名称
string
string
—市场支持沪深京市、沪深两市、沪市、深市、京市、主板、创业板、科创板、上市A股、上市B股等市场

Example: Example text

reportperiod
统计周期
string
string
—统计周期类型,包括日、周、月、年

Example: Example text

enddate
截止日期
string
string
—数据统计日期

Example: Example text

listingcompanynumber
上市公司数量
string
string
—指定截止日在册的上市公司家数(不含退市、未上市企业)

Example: Example text

listingsecuritynumber
上市股票数量
string
string
—指定截止日在册的上市股票只数(一家公司多只股票分别统计)

Example: Example text

totalmarketvalue
总市值(亿元)
string
string
—指定截止日上市股票总市值合计

Example: Example text

circulationmarketvalue
流通市值(亿元)
string
string
—指定截止日上市股票流通市值合计

Example: Example text

noncirculationmarketvalue
未流通市值(亿元)
string
string
—指定截止日上市股票非流通市值合计,通过总市值减去流通市值的得到

Example: Example text

totalshare
总股本(亿股)
string
string
—指定截止日上市股票总股本合计

Example: Example text

circulationshare
流通股本(亿股)
string
string
—指定截止日上市股票流通股本合计

Example: Example text

noncirculationshare
非流通股本(亿股)
string
string
—指定截止日上市股票非流通股本合计,通过总股本减去流通股本得到

Example: Example text

accumulateinvestornumber
累计投资者数(万个)
string
string
—中国证券登记结算公司披露的期末一码通账户数量

Example: Example text

addinvestornumber
新增投资者数(万个)
string
string
—中国证券登记结算公司披露的当期新增一码通账户数量

Example: Example text

ipoamount
IPO金额(亿元)
string
string
—指定截止日IPO金额

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": {
    "secuMarketCode": [
      "HSA"
    ],
    "beginDate": "2026-10-15",
    "endDate": "2026-11-14",
    "pageNo": "1",
    "pageSize": "5"
  }
}
  • secuMarketCode: 沪深A股
  • 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.