中文
Menu
← Back to data results
Indices
HK Stock Index Live Quote
HKStockIndexLiveQuoteFreeJSONTry 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
| Field | Type | Constraint | Description and example |
|---|---|---|---|
indexObject指数代码 | string_arraystring_array | Required Dictionary selection: HK_INDEX | 指数代码 Example: |
pageNo页面编号 | numbernumber | Optional | 定位分页查询的目标页码,默认不限 Example: |
pageSize页内记录数 | numbernumber | Optional | 单页返回的最大记录条数,默认不限 Example: |
Response fields
| Field | Type | Constraint | Description and example |
|---|---|---|---|
indexName指数名称 | stringstring | — | 港股上市指数的名称 Example: |
indexCode指数代码 | stringstring | — | 港股上市指数的代码 Example: |
indexObject指数内码 | stringstring | — | 港股上市指数的内部唯一编码 Example: |
tradingTimestamp交易时间 | stringstring | — | 实时行情的交易时间戳,格式为 “YYYY-MM-DD HH:MM” Example: |
tradeStatus交易状态 | stringstring | — | 指数最新交易时点的交易状态 Example: |
latestPrice最新(点) | numbernumber | — | 指数最新交易时点的点位 Example: |
openPrice开盘(点) | numbernumber | — | 指数最新交易日的开盘点位 Example: |
changeOfPrice涨跌(点) | numbernumber | — | 指数最新价与前收盘价的涨跌额 Example: |
changePCT涨跌幅(%) | numbernumber | — | 指数最新价与前收盘价的涨跌幅 Example: |
rangePCT振幅(%) | numbernumber | — | 指数最新交易日的日内振幅 Example: |
highPrice最高(点) | numbernumber | — | 指数最新交易日的最高点位 Example: |
lowPrice最低(点) | numbernumber | — | 指数最新交易日的最低点位 Example: |
prevClosePrice昨收(点) | numbernumber | — | 指数昨日收盘价 Example: |
turnoverVolumeLot总成交量 | stringstring | — | 指数最新交易日的总成交量 Example: |
turnoverValue成交额 | stringstring | — | 指数最新交易日的总成交额 Example: |
volumeRate量比 | numbernumber | — | 指数最新交易日的量比 Example: |
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.