S SPARKDATA
← Back to data results

Bonds

Bond Tick Quote

BondTickQuote
FreeJSONTry online

Operation explorer

Bond Tick Quote

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

  • bondObject: 25国债17 · 019790.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.
Example field notes 3
bondObjectstring_array · required
查询债券代码,是债券唯一标识的编码Use an exact name or dictionary code. 25国债17 (728376)
pageNonumber
定位分页查询的目标页码,默认值为1Page numbers start at 1; the sample reads the first page.
pageSizenumber
单页返回的最大记录条数,默认为500The sample requests 5 records for a quick preview.
POST /v1/data/operations/BondTickQuote

curl example with field notes
# bondObject: string_array (required) — 查询债券代码,是债券唯一标识的编码
# pageNo: number — 定位分页查询的目标页码,默认值为1
# pageSize: number — 单页返回的最大记录条数,默认为500
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/BondTickQuote' \
  --header "Authorization: Bearer ${SPARKDATA_API_KEY:?Set SPARKDATA_API_KEY first}" \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data-binary '{"parameters":{"bondObject":["728376"],"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.

获取指定债券在当日交易时段内的分时行情序列,涵盖交易时间点、最新价、涨跌、涨跌幅、均价、总成交量(手)及成交额,支撑盘中走势跟踪、日内波动分析等业务场景,为债券短线交易与盘口分析提供数据支持。 交易时间说明: 沪深交易所债券的连续竞价交易时间为每周一至周五(法定节假日除外)上午9:30-11:30、下午13:00-15:00。分时行情数据按分钟或逐笔维度组织,非交易时段返回当日完整序列。 使用场景: -按时间顺序返回交易时间点对应的最新价、涨跌、涨跌幅,直观呈现债券价格在盘中的连续变动轨迹。 -支持输入多个债券代码,分别获取各自的分时行情序列,用于相对强弱对比或套利策略监控。

POST /v1/data/operations/BondTickQuote · JSON

Input parameters

FieldTypeConstraintDescription and example
bondObject
债券代码
string_array
string_array
Required
Dictionary selection: BOND
查询债券代码,是债券唯一标识的编码

Example: ["728376"]

endTime
截止时间
date
date
Optional查询行情结束日期,时分格式

Example: 2026-09-30

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认值为1

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
bondObject
债券内码
string
string
—债券唯一标识的编码

Example: Example text

bondAbbr
债券简称
string
string
—债券通用的证券简称

Example: Example text

bondCode
债券代码
string
string
—债券通用的证券代码

Example: Example text

tradingTimestamp
交易时间
string
string
—行情数据的日期时间戳

Example: Example text

latestPrice
最新价(元)
number
number
—指定交易时间最后一笔成交价格

Example: 1

changeOfPrice
涨跌(元)
number
number
—最新价相对前收盘价的变动额

Example: 1

changePCT
涨跌幅(%)
number
number
—最新价相对前收盘价的变动幅度

Example: 1

avgPrice
均价(元)
number
number
—截止指定时间点的日内成交均价

Example: 1

turnoverVolumeLot
总成交量(手)
number
number
—截止指定时间点的日内累计成交手数

Example: 1

turnoverValue
成交额
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": {
    "bondObject": [
      "728376"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • bondObject: 25国债17 · 019790.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.