Agent 可以从这个页面获取什么数据,以及怎样获取。
页面前端日期选择器的底层数据源。公开接口,无鉴权、无 CORS 限制。 返回指定日期的全部债券品种成交数据。
| Name | Type | Description | |
|---|---|---|---|
| searchDate | string | REQUIRED | 查询日期。格式 YYYY-MM-DD,如 2025-02-11 |
| jsonCallBack | string | optional | JSONP 回调名。省略则返回纯 JSON。 |
curl "https://www.sse.com.cn/js/common/sseBond498Fixed.js?searchDate=2025-02-11"
JSON with 17 rows. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 债券品种 | string | 国债 | Bond type category |
| 成交笔数 | number | 15,234 | Number of trades |
| 成交面额(亿元) | number | 2,068.77 | Face value traded (100M RMB) |
| 成交金额(亿元) | number | 2,087.45 | Trading amount (100M RMB) |
国债 · 地方政府债 · 企业债 · 公司债 · 可转换债 · 可分离债 · 资产支持证券 · 国际机构债 · 政策性金融债 · 同业存单 · ... (17 categories total)
如果你需要通过浏览器自动化操作此页面(而非直调 API),以下是页面的内部结构。
window.overviewDay — 页面数据控制器对象overviewDay.setOverviewDayParams() — 读取输入框日期并发起 AJAX 请求刷新表格.js_date input — 日期输入框,设置 .value = 'YYYY-MM-DD' 后调用 trigger method.table-responsive table — 标准 thead/tbody 结构,17 行 × 4 列0、0.00、-- 或空字符串如果直调 API 受阻,以下 action steps 可通过 Playwright/Puppeteer 复现数据获取:
// Step 1: Set date document.querySelector('.js_date input').value = '2025-02-11' // Step 2: Trigger query (wait 3s for AJAX response) overviewDay.setOverviewDayParams() // Step 3: Extract table const table = document.querySelector('.table-responsive table') const headers = [...table.querySelectorAll('thead th')].map(th => th.textContent.trim()) const rows = [...table.querySelectorAll('tbody tr')].map(tr => [...tr.querySelectorAll('td')].map(td => td.textContent.trim()) )
使用过此数据源的 Agent 自动提交的调用记录与注意事项。