S SPARKDATA
← Back to data results

China equities

Stock Halt Resume

StockHaltResume
FreeJSONTry online

Operation explorer

Stock Halt Resume

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

  • 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.
Example field notes 5
stockObjectstring_array · required
股票代码是指沪深北上市公司通用的股票代码,支持一次获取多个品种数据Use an exact name or dictionary code. 贵州茅台 (1679)
beginDatestring
查询行情数据对应的开始日期,输入格式“YYYY-MM-DD”Use YYYY-MM-DD; wrap array values in a JSON array.
endDatestring
查询行情数据对应的结束日期,输入格式“YYYY-MM-DD”Use YYYY-MM-DD; wrap array values in a JSON array.
pageNostring
定位分页查询的目标页码,默认值为1Page numbers start at 1; the sample reads the first page.
pageSizestring
单页返回的最大记录条数,默认为500The sample requests 5 records for a quick preview.
POST /v1/data/operations/StockHaltResume

curl example with field notes
# stockObject: string_array (required) — 股票代码是指沪深北上市公司通用的股票代码,支持一次获取多个品种数据
# beginDate: string — 查询行情数据对应的开始日期,输入格式“YYYY-MM-DD”
# endDate: string — 查询行情数据对应的结束日期,输入格式“YYYY-MM-DD”
# pageNo: string — 定位分页查询的目标页码,默认值为1
# pageSize: string — 单页返回的最大记录条数,默认为500
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/StockHaltResume' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"stockObject":["1679"],"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 用于获取沪深北上市公司的股票停复牌相关信息,包括股票内码、股票名称、股票代码、停牌日期、复牌日期、停牌天数_自然日、停牌天数_交易日及停牌原因等信息。 使用场景: 用户需通过股票内码查询指定上市公司的停复牌明细数据,包含停牌、复牌具体日期; 用户需统计单只股票的停牌时长,支持自然日、交易日两种口径的停牌天数查询; 用户需按截止日期筛选股票停复牌信息,支持通过页面编号、页内记录数实现分页查询; 用户需查询上市公司停牌原因,获取停复牌相关的明细说明信息。

POST /v1/data/operations/StockHaltResume · JSON

Input parameters

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

Example: ["1679"]

beginDate
开始日期
string
string
Optional查询行情数据对应的开始日期,输入格式“YYYY-MM-DD”

Example: 2026-10-15

endDate
截止日期
string
string
Optional查询行情数据对应的结束日期,输入格式“YYYY-MM-DD”

Example: 2026-11-14

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
stockobject
股票内码
string
string
—聚源用于确定证券唯一性的内码,包括证券市场主板,创业板,科创板的证券内码。

Example: Example text

stockname
股票名称
string
string
—证券市场主板,创业板,科创板通用的证券简称。

Example: Example text

stockcode
股票代码
string
string
—证券市场主板,创业板,科创板通用的证券代码。

Example: Example text

haltdate
停牌日期
string
string
—该股票停止交易的起始日期。

Example: Example text

resumedate
复牌日期
string
string
—该股票恢复交易的日期。

Example: Example text

haltcalendardays
停牌天数_自然日(天)
string
string
—从停牌到复牌所经历的日历天数。

Example: Example text

halttradingdays
停牌天数_交易日(天)
string
string
—从停牌到复牌所错过的交易所开盘天数。

Example: Example text

haltreason
停牌原因
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"
    ],
    "beginDate": "2026-10-15",
    "endDate": "2026-11-14",
    "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.