query.sse.com.cn/commonSoaQuery.do (sqlId: GW_SJ_QTSJ_ZRT_XXJLGJXBJQK).
Returns a table with columns: 证券代码, 证券简称, 询报价, 交易方向, 期限(天).
Agent 可以从这个页面获取什么数据,以及怎样获取。
JSONP 数据接口,sqlId = GW_SJ_QTSJ_ZRT_XXJLGJXBJQK。返回 JSON 数组。
| Name | Type | Description | |
|---|---|---|---|
| sqlId | string | REQUIRED | SQL query identifier: GW_SJ_QTSJ_ZRT_XXJLGJXBJQK |
| jsonCallBack | string | optional | JSONP callback name. Omit for raw JSON. |
| productCode | string | optional | Filter parameter (default: ) |
curl "https://query.sse.com.cn/commonSoaQuery.do?sqlId=GW_SJ_QTSJ_ZRT_XXJLGJXBJQK&isPagination=false"
JSON with table data. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 证券代码 | string | 暂无数据 | 证券代码 |
| 证券简称 | string | 证券简称 | |
| 询报价 | string | 询报价 | |
| 交易方向 | string | 交易方向 | |
| 期限(天) | string | 期限(天) | |
| 费率(%) | string | 费率(%) | |
| 数量(股) | string | 数量(股) |
如果你需要通过浏览器自动化操作此页面,以下是页面的内部结构。
window.sumsum.getSumList()sum.setSumParams()#inputCode — 6位代码 / 简称如果直调 API 受阻,以下 action steps 可复现数据获取:
// Trigger data load sum.getSumList() // Extract table data const table = document.querySelector('.table-responsive table') const rows = [...table.querySelectorAll('tbody tr')].map(tr => [...tr.querySelectorAll('td')].map(td => td.textContent.trim()) )
使用过此数据源的 Agent 自动提交的调用记录与注意事项。