S SPARKDATA
← Back to data results

Bonds

Bond Daily Closing Quotes

BondDailyClosingQuotes
FreeJSONTry online

Operation explorer

Bond Daily Closing Quotes

BondDailyClosingQuotes
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 5
bondObjectstring_array · required
查询债券行情的债券代码,是债券唯一标识的编码Use an exact name or dictionary code. 25国债17 (728376)
beginDatedate
债券行情查询区间的起始日期Use YYYY-MM-DD; wrap array values in a JSON array.
endDatedate
债券行情查询区间的结束日期Use YYYY-MM-DD; wrap array values in a JSON array.
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/BondDailyClosingQuotes

curl example with field notes
# bondObject: string_array (required) — 查询债券行情的债券代码,是债券唯一标识的编码
# beginDate: date — 债券行情查询区间的起始日期
# endDate: date — 债券行情查询区间的结束日期
# pageNo: number — 定位分页查询的目标页码,默认不限
# pageSize: number — 单页返回的最大记录条数,默认不限
curl --silent --show-error --fail-with-body --request POST \
  'https://spark-data.cn/v1/data/operations/BondDailyClosingQuotes' \
  --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"],"beginDate":"2026-10-14","endDate":"2026-11-13","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通过债券代码,获取指定日期范围内的债券收盘行情,涵盖全价 / 净价的开高低收及涨跌幅、成交量、成交金额、到期收益率、久期等指标,辅助投资分析。 典型问法: (1)XX 债券(代码 XXXXXX)2025 年 7 月 23 日全价收盘价是多少? (2)内部编码 695715 在 2025 年 7 月 10-23 日的净价涨跌幅如何? (3)XX 债券到期收益率和成交量近期变化? 功能说明: 1、单债券单日行情查询 输入债券代码 / 内部编码及交易日,获取当日全价 / 净价数据、成交量、到期收益率等。 示例:查询 123456 在 2025 年 7 月 23 日的全价收盘价及净价涨跌幅。 2、单债券多日行情查询 输入债券代码 / 内部编码及时间范围,获取区间内每日行情及指标趋势。 示例:查看 695715 在 2025 年 7 月 1-31 日的全价高低价走势。 3、债券行情对比分析 输入多个债券代码 / 内部编码及时间范围,批量获取行情并对比价格、成交量、收益率等差异。 示例:对比 2025 年 7 月 123456 与 123457 的净价涨跌幅。

POST /v1/data/operations/BondDailyClosingQuotes · JSON

Input parameters

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

Example: ["728376"]

beginDate
起始日期
date
date
Optional债券行情查询区间的起始日期

Example: 2026-10-14

endDate
截止日期
date
date
Optional债券行情查询区间的结束日期

Example: 2026-11-13

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

Example: 1

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

Example: 5

Response fields

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

Example: Example text

bondcode
债券代码
string
string
—交易所或监管机构统一分配的债券代码

Example: Example text

bondabbr
债券简称
string
string
—交易所或监管机构统一分配的债券简称

Example: Example text

tradedate
交易日期
date
date
—债券实际发生交易的日期

Example: 2026-09-30

dirtypriceprevclose
全价昨收盘(元)
number
number
—前一交易日债券包含应计利息的收盘价

Example: 1

dirtypriceopen
全价开盘价(元)
number
number
—当日债券包含应计利息的第一笔成交价格

Example: 1

dirtypricehigh
全价最高价(元)
number
number
—当日债券包含应计利息的最高成交价格

Example: 1

dirtypricelow
全价最低价(元)
number
number
—当日债券包含应计利息的最低成交价格

Example: 1

dirtypriceclose
全价收盘价(元)
number
number
—当日债券包含应计利息的最后一笔成交价格

Example: 1

dirtypriceweighted
全价加权价(元)
number
number
—当日债券包含应计利息的加权平均成交价格

Example: 1

dirtypricechange
全价涨跌(元)
number
number
—当日全价收盘价较前一交易日全价收盘价的涨跌

Example: 1

dirtypricechangerate
全价涨跌幅(%)
number
number
—当日全价收盘价较前一交易日全价收盘价的涨跌幅

Example: 1

dirtypriceturnover
全价成交金额(万元)
number
number
—包含应计利息的债券成交总额。

Example: 1

netpriceprevclose
净价昨收盘(元)
number
number
—前一交易日债券不含应计利息的收盘价

Example: 1

netpriceopen
净价开盘价(元)
number
number
—当日债券不含应计利息的第一笔成交价格

Example: 1

netpricehigh
净价最高价(元)
number
number
—当日债券不含应计利息的最高成交价格

Example: 1

netpricelow
净价最低价(元)
number
number
—当日债券不含应计利息的最低成交价格

Example: 1

netpriceclose
净价收盘价(元)
number
number
—当日债券不含应计利息的最后一笔成交价格

Example: 1

netpriceweighted
净价加权价(元)
number
number
—当日债券不含应计利息的加权平均成交价格

Example: 1

netpricechange
净价涨跌(元)
number
number
—当日净价收盘价较前一交易日净价收盘价的涨跌

Example: 1

netpricechangerate
净价涨跌幅(%)
number
number
—当日净价收盘价较前一交易日净价收盘价的涨跌幅

Example: 1

netpriceturnover
净价成交金额(万元)
number
number
—不含应计利息的债券成交总额。

Example: 1

yieldtomaturity
收盘价到期收益率(%)
number
number
—以当日收盘价为基础计算的债券持有至到期的年化收益率

Example: 1

volume
成交量(手)
number
number
—当日债券成交的总数量

Example: 1

turnoveramount
成交金额(万元)
number
number
—当日债券成交的总金额

Example: 1

turnoverdeals
成交笔数(笔)
number
number
—当日达成交易的总成交次数。

Example: 1

duration
久期
number
number
—债券分析日据未来现金流发生日期限的时间加权平均

Example: 1

modifiedduration
修正久期
number
number
—基于到期收益率调整后的久期

Example: 1

convexity
凸性
number
number
—到期收益率变化1BP所引起的久期的变化

Example: 1

callyield
赎回收益率(%)
number
number
—债券被发行人提前赎回时投资者获得的年化收益率。

Example: 1

putyield
回售收益率(%)
number
number
—债券被持有人提前回售给发行人时获得的年化收益率。

Example: 1

accrueddays
已计息天数
number
number
—债券从起息日到当前交易日的实际天数

Example: 1

accruedinterest
应计利息(元)
number
number
—债券自上一付息日或起息日起累计的未支付利息

Example: 1

termyears
期限(年)
number
number
—债券从发行日到到期日的时间长度,反映债券的偿还周期

Example: 1

intereststartdate
起息日
number
number
—债券开始计算利息的日期,是计息天数和应计利息计算的起点

Example: 1

couponrate
票面利率(%)
number
number
—债券发行时规定的年利率

Example: 1

tradingmarket
交易市场
string
string
—债券挂牌交易的场所,如 “上交所”“深交所”“银行间市场” 等

Example: Example text

bondtype
债券类型
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": {
    "bondObject": [
      "728376"
    ],
    "beginDate": "2026-10-14",
    "endDate": "2026-11-13",
    "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.