S SPARKDATA
← Back to data results

China equities

Stock Range Quotation

StockRangeQuotation
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用于获取A股市场指定区间的行情表现信息;比如近一周、本周以来、近一月、本月以来、近3月、近半年、去年,近一年、今年以来、上市以来或其他指定区间的行情数据;帮助用户了解区间内个股的市场动态。 该API返回某个或多个A股股票的区间行情信息;涵盖区间前收盘价、区间开盘价、区间最高价、区间最低价、区间收盘价、区间最高收盘价、区间最低收盘价、区间振幅、区间成交均价、区间涨跌、区间涨跌幅、区间换手率、区间成交量、区间成交额、区间成交笔数、区间日均成交量、区间日均成交额、区间日均换手率、区间涨停天数、区间跌停天数、区间上涨天数、区间下跌天数等市场关键指标。 使用场景: -用户需要获取某个或多个A股股票的市场区间行情信息; -查询个股区间内的行情走势和波动情况;如去年走势,上周走势, -投资分析和研究;提供选定区间内的行情数据支持

POST /v1/data/operations/StockRangeQuotation · JSON

Input parameters

FieldTypeConstraintDescription and example
stockObject
A股公司
string_array
string_array
Required
Dictionary selection: STOCK_A_COMPANY
A股内码

Example: ["1679"]

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

Example: Example text

beginDate
开始日期
date
date
Optional查询区间行情开始日期,输入格式“YYYY-MM-DD”

Example: 2026-10-15

endDate
截止日期
date
date
Optional查询区间行情结束日期,输入格式“YYYY-MM-DD”(结束日期>开始日期)

Example: 2026-11-14

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

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

Example: Example text

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

Example: Example text

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

Example: 1

suspendday
区间停牌天数(天)
number
number
—行情区间内股票停牌天数

Example: 1

prevclosepricebt
区间前收盘价(元)
number
number
—行情区间内股票前收盘价

Example: 1

openpricebt
区间开盘价(元)
number
number
—行情区间内股票开盘价

Example: 1

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

Example: 1

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

Example: 1

closepricebt
区间收盘价(元)
number
number
—行情区间内股票收盘价

Example: 1

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

Example: 1

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

Example: 1

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

Example: 1

changeofpricebt
区间涨跌(元)
number
number
—行情区间内股票涨跌情况

Example: 1

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

Example: 1

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

Example: 1

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

Example: 1

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

Example: 1

turnoverdealsbt
区间成交笔数(笔)
number
number
—行情区间内股票成交总笔数

Example: 1

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

Example: 1

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

Example: 1

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

Example: 1

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

Example: 1

limitupdaysbt
区间涨停天数(天)
number
number
—行情区间内股票涨停天数

Example: 1

limitdwondaysbt
区间跌停天数(天)
number
number
—行情区间内股票跌停天数

Example: 1

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

Example: 1

dwondaysbt
区间下跌天数(天)
number
number
—行情区间内股票下跌天数

Example: 1

maxdrawdown
区间最大回撤
number
number
—行情区间内股票最大回撤

Example: 1

avgclosemarketvalue
区间平均收盘市值(亿元)
number
number
—行情区间内股票平均收盘市值

Example: 1

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

Example: Example text

maxdrawdownbegindate
区间最大回撤对应开始日
date
date
—行情区间内股票最大回撤对应开始日

Example: 2026-09-30

maxdrawdownenddate
区间最大回撤对应截止日
date
date
—行情区间内股票最大回撤对应截止日

Example: 2026-09-30

maxchangepctbt
区间最大涨幅(%)
number
number
—行情区间内,最大涨幅

Example: 1

maxchangepctbtbegindate
区间最大涨幅对应开始日
date
date
—行情区间内,最大涨幅对应开始日

Example: 2026-09-30

maxchangepctbtenddate
区间最大涨幅对应截止日
date
date
—行情区间内,最大涨幅对应截止日

Example: 2026-09-30

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": [
      "1679"
    ],
    "beginDate": "2026-10-15",
    "endDate": "2026-11-14",
    "pageNo": 1,
    "pageSize": 5
  }
}
  • stockObject: 贵州茅台 · 600519.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.