{
"domain": "www.sse.com.cn",
"url": "https://www.sse.com.cn/market/bonddata/overview/yearly/",
"title": "债券成交概况(年度)",
"summary": "上交所债券成交概况(年度)数据,通过 commonQuery.do 接口获取。",
"method": "GET",
"endpoint": "https://query.sse.com.cn/commonQuery.do",
"headers": {
"Referer": "https://www.sse.com.cn/market/bonddata/overview/yearly/"
},
"params": {
"sqlId": {
"value": "COMMON_SSE_SJ_ZQSJ_CJGK_YEAR",
"description": "数据查询标识"
},
"trade_year": {
"required": false,
"description": "交易年份 YYYY"
},
"isPagination": {
"value": "true",
"description": "启用分页"
},
"pageHelp.pageSize": {
"value": "25",
"description": "每页条数"
},
"pageHelp.pageNo": {
"value": "1",
"description": "页码"
},
"pageHelp.beginPage": {
"value": "1"
},
"pageHelp.cacheSize": {
"value": "1"
},
"pageHelp.endPage": {
"value": "1"
}
},
"confidence": 0.85,
"auto_discovered": true,
"last_verified": "2026-03-14",
"caveats": [
"需要 Referer header",
"返回 JSONP 格式,需去掉回调函数包装"
],
"action_steps_template": {
"description": "在浏览器中回放到指定年份的操作步骤。将 {{year}} 替换为 YYYY 格式。",
"steps": [
{
"type": "exec_js",
"code": "document.querySelector('.js_date input').value = '{{year}}'",
"wait": 0
},
{
"type": "exec_js",
"code": "overviewYearly.setoverviewYearlyParams()",
"wait": 3000
}
],
"example": [
{
"type": "exec_js",
"code": "document.querySelector('.js_date input').value = '2026'",
"wait": 0
},
{
"type": "exec_js",
"code": "overviewYearly.setoverviewYearlyParams()",
"wait": 3000
}
]
}
}
上交所债券成交概况(年度)数据,通过 commonQuery.do 接口获取。
| Parameter | Description |
|---|---|
| sqlId | = COMMON_SSE_SJ_ZQSJ_CJGK_YEAR 数据查询标识 |
| trade_year | 交易年份 YYYY |
在浏览器中回放到指定年份的操作步骤。将 {{year}} 替换为 YYYY 格式。
[
{
"type": "exec_js",
"code": "document.querySelector('.js_date input').value = '{{year}}'",
"wait": 0
},
{
"type": "exec_js",
"code": "overviewYearly.setoverviewYearlyParams()",
"wait": 3000
}
]
Example (date = 2025-03-10):
[
{
"type": "exec_js",
"code": "document.querySelector('.js_date input').value = '2026'",
"wait": 0
},
{
"type": "exec_js",
"code": "overviewYearly.setoverviewYearlyParams()",
"wait": 3000
}
]