S SPARKDATA
← Back to data results

Indices

HK Stock Index Live Quote

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

港股指数实时行情API用于获取港股证券交易所发布或上市的个股指数板块的实时行情表现;该API返回指定港股指数板块的实时行情走势信息,包括股票指定指数板块实时查询的交易状态、最新价、开盘价、涨跌、涨跌幅、振幅、最高价、最低价、前收盘价(昨收)、总成交量、成交金额、量比等关键指标;帮助用户了解港股指数板块的实时行情动态。 港股市场的交易日一般是周一至周五,交易时段为9:30-12:00,13:00-16:00。因此开盘时间是9:30,午间收盘时间是 12:00,整日收盘时间是下午 16:00。 使用场景: -用户需要获取某个或多个港股指数的盘口交易数据,如买卖力量等数据,则更倾向于用实时行情接口; -用户需要获取某个或多个港股指数的市场的实时行情信息; -查询港股指数指定实时行情的数据; -提供港股指数实时行情数据支持

POST /v1/data/operations/HKStockIndexLiveQuote · JSON

Input parameters

FieldTypeConstraintDescription and example
indexObject
指数代码
string_array
string_array
Required
Dictionary selection: HK_INDEX
指数代码

Example: ["1001098"]

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
—实时行情的交易时间戳,格式为 “YYYY-MM-DD HH:MM”

Example: Example text

tradeStatus
交易状态
string
string
—指数最新交易时点的交易状态

Example: Example text

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

Example: 1

openPrice
开盘(点)
number
number
—指数最新交易日的开盘点位

Example: 1

changeOfPrice
涨跌(点)
number
number
—指数最新价与前收盘价的涨跌额

Example: 1

changePCT
涨跌幅(%)
number
number
—指数最新价与前收盘价的涨跌幅

Example: 1

rangePCT
振幅(%)
number
number
—指数最新交易日的日内振幅

Example: 1

highPrice
最高(点)
number
number
—指数最新交易日的最高点位

Example: 1

lowPrice
最低(点)
number
number
—指数最新交易日的最低点位

Example: 1

prevClosePrice
昨收(点)
number
number
—指数昨日收盘价

Example: 1

turnoverVolumeLot
总成交量
string
string
—指数最新交易日的总成交量

Example: Example text

turnoverValue
成交额
string
string
—指数最新交易日的总成交额

Example: Example text

volumeRate
量比
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": {
    "indexObject": [
      "1001098"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • indexObject: 恒生指数 · HSI.HK
  • 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.