S SPARKDATA
← Back to data results

Hong Kong equities

HK Range Stock Quote

HKRangeStockQuote
FreeJSONTry online

Operation explorer

HK Range Stock Quote

HKRangeStockQuote
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 5
stockObjectstring_array · required
港交所通用的股票代码,支持一次获得多个代码的数据Use an exact name or dictionary code. 腾讯控股 (1000546)
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/HKRangeStockQuote

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/HKRangeStockQuote' \
  --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"],"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用于获取港股市场指定区间的行情表现信息;比如近一周、本周以来、近一月、本月以来、近3月、近半年、近一年、今年以来、上市以来或其他指定区间的行情数据;帮助用户了解区间内个股的市场动态。 该API返回某个或多个港股股票的区间行情信息;涵盖区间前收盘价、区间开盘价、区间最高价、区间最低价、区间收盘价、区间最高收盘价、区间最低收盘价、区间振幅、区间成交均价、区间涨跌、区间涨跌幅、区间换手率、区间成交量、区间成交额、区间成交笔数、区间日均成交量、区间日均成交额、区间日均换手率、区间涨停天数、区间跌停天数、区间上涨天数、区间下跌天数等市场关键指标。 典型问法 腾讯上周涨跌幅 小米2月涨跌情况如何 美团近一周的成交量 阿里港股今年以来累计涨停和跌停分别有多少天 京东港股本周行情上涨天数? 使用场景 -用户需要获取某个或多个港股股票的市场区间行情信息; -查询港股个股区间内的行情走势和波动情况; -投资分析和研究;提供选定区间内港股的行情数据支持

POST /v1/data/operations/HKRangeStockQuote · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
股票代码
string_array
string_array
Required
Dictionary selection: STOCK_HK_COMPANY
港交所通用的股票代码,支持一次获得多个代码的数据

Example: ["1000546"]

restorationStatus
复权
string
string
Optional
Dictionary selection: FUQUAN
行情指标复权方式:不复权、前复权、后复权

Example: Example text

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

begindate
区间开始日期
string
string
—返回行情区间开始日期,格式“YYYY-MM-DD”

Example: Example text

enddate
区间截止日期
string
string
—返回行情区间结束日期,格式“YYYY-MM-DD”

Example: Example text

restorationstatus
复权
string
string
—行情指标复权方式:不复权、前复权、后复权

Example: Example text

tradedays
区间交易日天数(天)
string
string
—行情区间内,股票交易日天数

Example: Example text

prevclosepricebt
区间前收盘价(元)
string
string
—行情区间内,股票区间首日前收盘价

Example: Example text

openpricebt
区间开盘价(元)
string
string
—行情区间内,股票区间首日开盘价

Example: Example text

highpricebt
区间最高价(元)
string
string
—行情区间内,股票区间最高价

Example: Example text

lowpricebt
区间最低价(元)
string
string
—行情区间内,股票区间最低价

Example: Example text

closepricebt
区间收盘价(元)
string
string
—行情区间内,股票区间尾日收盘价

Example: Example text

hightclosepricebt
区间收盘最高价(元)
string
string
—行情区间内,股票区间最高收盘价

Example: Example text

lowestclosepricebt
区间收盘最低价(元)
string
string
—行情区间内,股票区间最低收盘价

Example: Example text

avgpricebt
区间均价(元)
string
string
—行情区间内,股票成交均价

Example: Example text

changeofpricebt
区间涨跌(元)
string
string
—行情区间内,股票涨跌额

Example: Example text

changepctbt
区间涨跌幅(%)
string
string
—行情区间内,股票涨跌幅

Example: Example text

rangepctbt
区间振幅(%)
string
string
—行情区间内,股票振幅

Example: Example text

turnovervaluebt
区间成交额(万元)
string
string
—行情区间内,股票成交总额

Example: Example text

turnovervolumebt
区间成交量(万股)
string
string
—行情区间内,股票成交总量

Example: Example text

turnovervalueperdaybt
区间日均成交额(万元)
string
string
—行情区间内,股票日均成交金额

Example: Example text

turnovervolumeperdaybt
区间日均成交量(万股)
string
string
—行情区间内,股票日均成交量

Example: Example text

turnoverratebt
区间换手率(%)
string
string
—行情区间内,股票总换手率

Example: Example text

turnoverrateperdaybt
区间日均换手率(%)
string
string
—行情区间内,股票日均换手率

Example: Example text

updaysbt
区间上涨天数(天)
string
string
—行情区间内,股票上涨天数

Example: Example text

downdaysbt
区间下跌天数(天)
string
string
—行情区间内,股票下跌天数

Example: Example text

currency
币种
string
string
—股票行情数据的计价币种

Example: CNY

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