S SPARKDATA
← Back to data results

Indices

A Stock Index Tick Quote

AStockIndexTickQuote
FreeJSONTry online

Operation explorer

A Stock Index Tick Quote

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

  • indexObject: 沪深300 · 000300.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 3
indexObjectstring_array · required
沪深北市场的指数代码,支持一次获取多个品种数据Use an exact name or dictionary code. 沪深300 (3145)
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/AStockIndexTickQuote

curl example with field notes
# indexObject: string_array (required) — 沪深北市场的指数代码,支持一次获取多个品种数据
# pageNo: number — 定位分页查询的目标页码,默认不限
# pageSize: number — 单页返回的最大记录条数,默认不限
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/AStockIndexTickQuote' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"indexObject":["3145"],"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.

本接口提供境内外交易所(沪深北、港交所、美交所)发布或上市的指数板块在指定日期指定分时的盘中行情表现;包括指定指数板块指定分时的最新价、总成交量、成交金额、涨跌、涨跌幅等关键指标;帮助用户了解指数板块指定交易日指定分时的行情动态。 A 股的交易时间为每周一至周五(法定节假日除外),连续交易时间是上午 9:30-11:30,13:00-15:00,因此开盘时间是9:30,午间收盘时间是上午 11:30,整日收盘时间是下午 15:00。 港股市场的交易日一般是周一至周五,交易时段为9:30-12:00,13:00-16:00。因此开盘时间是9:30,午间收盘时间是 12:00,整日收盘时间是下午 16:00。 美股市场的交易日一般是周一至周五,无午间休市,常规交易时段为美东时间 9:30-16:00。因此开盘时间是 9:30,整日收盘时间是下午 16:00。 对应北京时间(分夏令 / 冬令时): 夏令时(每年 3 月第二个周日 —11 月第一个周日):21:30— 次日 04:00 冬令时(每年 11 月第一个周日 — 次年 3 月第二个周日):22:30— 次日 05:00 使用场景: -用户仅需要获取某个或多个指数的量价行情指标或对行情走势进行分析时,更倾向用分时行情接口; -用户需要获取某个或多个指数的市场指定日指定分时的行情信息; -查询指数指定日内行情的盘中行情走势和波动情况; -指数板块投资分析和研究;提供指数分时行情数据支持

POST /v1/data/operations/AStockIndexTickQuote · JSON

Input parameters

FieldTypeConstraintDescription and example
indexObject
指数代码
string_array
string_array
Required
Dictionary selection: SECU_INDEX
沪深北市场的指数代码,支持一次获取多个品种数据

Example: ["3145"]

endTime
交易日期
date
date
Optional指数分时行情的交易日期

Example: 2026-09-30

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

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
indexName
指数名称
string
string
—沪深北市场的指数简称

Example: Example text

indexCode
指数代码
string
string
—沪深北市场的指数代码

Example: Example text

indexObject
指数内码
string
string
—沪深北市场的指数内码

Example: Example text

tradingTimestamp
交易时间
string
string
—指数分时行情对应交易时间

Example: Example text

latestPrice
最新(点)
number
number
—交易时间对应的指数最新点位

Example: 1

changeOfPrice
涨跌(元)
number
number
—交易时间对应的指数当日涨跌

Example: 1

changePCT
涨跌幅(%)
number
number
—交易时间对应的指数当日涨跌幅

Example: 1

turnoverVolumeLot
总成交量
string
string
—交易时间对应的指数当日总成交量

Example: Example text

turnoverValue
成交额
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": {
    "indexObject": [
      "3145"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • indexObject: 沪深300 · 000300.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.