S SPARKDATA
← Back to data results

Hong Kong equities

H Share Live Quote

HShareLiveQuote
FreeJSONTry online

Operation explorer

H Share Live Quote

HShareLiveQuote
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: 腾讯控股 · 00700.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.
Example field notes 3
stockObjectstring_array · required
股票代码Use an exact name or dictionary code. 腾讯控股 (1000546)
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/HShareLiveQuote

curl example with field notes
# stockObject: string_array (required) — 股票代码
# pageNo: number — 定位分页查询的目标页码,默认不限
# pageSize: number — 单页返回的最大记录条数,默认不限
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/HShareLiveQuote' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"stockObject":["1000546"],"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返回指定港股的实时行情信息,包括股票实时的交易状态、最新价、开盘价、涨跌、涨跌幅、振幅、最高价、最低价、均价、前收盘价(昨收)、总成交量、现手、成交金额、量比、换手率、外盘、内盘、委比、委差、总股本、流通股本、总市值、流通市值、市净率等关键指标;帮助用户了解个股的实时行情动态。 港股市场的交易日一般是周一至周五,交易时段为9:30-12:00,13:00-16:00。因此开盘时间是9:30,午间收盘时间是 12:00,整日收盘时间是下午 16:00。 使用场景: -用户需要获取某个或多个港股股票的盘口交易数据,如买卖力量等数据,则更倾向于用实时行情接口; -用户需要获取某个或多个港股股票的实时行情信息; -查询港股指定日内行情的实时行情数据; 提供港股实时行情数据支持

POST /v1/data/operations/HShareLiveQuote · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
股票代码
string_array
string_array
Required
Dictionary selection: STOCK_HK_COMPANY
股票代码

Example: ["1000546"]

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

Example: 1

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

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

tradingTimestamp
交易时间
string
string
—交易时间

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

avgPrice
均价(元)
number
number
—均价(元)

Example: 1

prevClosePrice
昨收(元)
number
number
—昨收(元)

Example: 1

turnoverVolumeLot
总成交量(万手)
number
number
—总成交量(万手)

Example: 1

realTimeVolumeLot
现手(手)
number
number
—现手(手)

Example: 1

turnoverValue
成交额
string
string
—成交额

Example: Example text

turnoverRate
换手率(%)
number
number
—换手率(%)

Example: 1

volumeRate
量比
number
number
—量比

Example: 1

selloutVolumeLot
外盘(万手)
number
number
—外盘(万手)

Example: 1

buyinVolumeLot
内盘(万手)
number
number
—内盘(万手)

Example: 1

entrustRate
委比(%)
number
number
—委比(%)

Example: 1

entrustDiff
委差(股)
number
number
—委差(股)

Example: 1

totalshares
总股本(亿股)
number
number
—总股本(亿股)

Example: 1

floatshares
流通股(亿股)
number
number
—流通股(亿股)

Example: 1

totalMV
总市值(亿元)
number
number
—总市值(亿元)

Example: 1

negotiableMV
流通市值(亿元)
number
number
—流通市值(亿元)

Example: 1

pbRatio
市净率
number
number
—市净率

Example: 1

bidGrp
委买档位
string
string
—委买档位,目前仅提供买一

Example: Example text

offerGrp
委卖档位
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": [
      "1000546"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • stockObject: 腾讯控股 · 00700.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.