S SPARKDATA
← Back to data results

China equities

Market Limit Up Down Count

MarketLimitUpDownCount
FreeJSONTry online

Operation explorer

Market Limit Up Down Count

MarketLimitUpDownCount
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: 上证市场
  • 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
市场支持沪深北市场、沪深市场、上证市场、深证市场、北证市场、创业板、科创板Use an exact name or dictionary code. 上证市场 (SH)
beginDatedate
查询市场涨跌停家数区间行情的开始日期,输入格式“YYYY-MM-DD”Use YYYY-MM-DD; wrap array values in a JSON array.
endDatedate
查询市场涨跌停家数区间行情的结束日期,输入格式“YYYY-MM-DD”(结束日期>开始日期)Use YYYY-MM-DD; wrap array values in a JSON array.
pageNonumber
定位分页查询的目标页码,默认不限Page numbers start at 1; the sample reads the first page.
pageSizenumber
单页返回的最大记录条数,默认不限The sample requests 5 records for a quick preview.
POST /v1/data/operations/MarketLimitUpDownCount

curl example with field notes
# secuMarketCode: string_array (required) — 市场支持沪深北市场、沪深市场、上证市场、深证市场、北证市场、创业板、科创板
# beginDate: date — 查询市场涨跌停家数区间行情的开始日期,输入格式“YYYY-MM-DD”
# endDate: date — 查询市场涨跌停家数区间行情的结束日期,输入格式“YYYY-MM-DD”(结束日期>开始日期)
# pageNo: number — 定位分页查询的目标页码,默认不限
# pageSize: number — 单页返回的最大记录条数,默认不限
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/MarketLimitUpDownCount' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"secuMarketCode":["SH"],"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.

沪深京市场实时涨跌停家数API用于获取沪深京市场的实时上涨下跌平盘和涨停跌停家数(统计范围:指定市场的所有上市个股);该API返回指定市场(沪深北市场、沪深市场、上证市场、深证市场、北证市场)涨跌家数的实时数据统计,包括市场的成员个数、上涨家数、下跌家数、平盘家数、涨停家数 、跌停家数;帮助用户了解指定交易所整体的涨跌平和A股涨停跌停家数,以辅助判断市场交易的整体情绪。 使用场景: -查询指定市场或多个市场的涨停平家数以及A股涨停跌停家数; -用户需要获取上证、深证、北证市场的所有个股交易的涨跌家数统计; -提供沪深北市场实时涨跌停家数数据支持;

POST /v1/data/operations/MarketLimitUpDownCount · JSON

Input parameters

FieldTypeConstraintDescription and example
secuMarketCode
证券市场名称
string_array
string_array
Required
Dictionary selection: SECU_MARKET_CODE
市场支持沪深北市场、沪深市场、上证市场、深证市场、北证市场、创业板、科创板

Example: ["SH"]

beginDate
开始日期
date
date
Optional查询市场涨跌停家数区间行情的开始日期,输入格式“YYYY-MM-DD”

Example: 2026-10-15

endDate
截止日期
date
date
Optional查询市场涨跌停家数区间行情的结束日期,输入格式“YYYY-MM-DD”(结束日期>开始日期)

Example: 2026-11-14

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
secuMarketName
证券市场名称
string
string
—展示全称

Example: Example text

secuMarketCode
证券市场代码
string
string
—展示代码

Example: Example text

tradetime
交易日期
date
date
—查询市场涨跌停家数的日期,输入格式“YYYY-MM-DD”

Example: 2026-09-30

memberCount
成分股家数
number
number
—证券交易所的所有上市个股数量

Example: 1

upCount
上涨家数
number
number
—证券交易所,现价比昨收价高的个股数量

Example: 1

downCount
下跌家数
number
number
—证券交易所,现价比昨收价低的个股数量

Example: 1

flatCount
平盘家数
number
number
—证券交易所,现价和昨收价相同的个股数量

Example: 1

uplimitCount
涨停家数
number
number
—证券交易所,市场涨停的个股数量

Example: 1

downlimitCount
跌停家数
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": {
    "secuMarketCode": [
      "SH"
    ],
    "beginDate": "2026-10-15",
    "endDate": "2026-11-14",
    "pageNo": 1,
    "pageSize": 5
  }
}
  • secuMarketCode: 上证市场
  • 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.