query.sse.com.cn/commonQuery.do (sqlId: COMMON_SSE_SJ_GPSJ_GBJG_L).
Returns a table with columns: 名次, 股票代码, 股票简称, 股票全称, 发行股本(万股/万份).
Agent 可以从这个页面获取什么数据,以及怎样获取。
JSONP 数据接口,sqlId = COMMON_SSE_SJ_GPSJ_GBJG_L。返回 JSON 数组。
| Name | Type | Description | |
|---|---|---|---|
| sqlId | string | REQUIRED | SQL query identifier: COMMON_SSE_SJ_GPSJ_GBJG_L |
| jsonCallBack | string | optional | JSONP callback name. Omit for raw JSON. |
| SEARCH_DATE | string | optional | Filter parameter (default: ) |
| ISSUE_VOL | string | optional | Filter parameter (default: 1) |
| TOP_TEN | string | optional | Filter parameter (default: 1) |
curl "https://query.sse.com.cn/commonQuery.do?sqlId=COMMON_SSE_SJ_GPSJ_GBJG_L&isPagination=false"
JSON with table data. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 名次 | number | 1 | 名次 |
| 股票代码 | number | 601288 | 股票代码 |
| 股票简称 | string | 农业银行 | 股票简称 |
| 股票全称 | string | 中国农业银行股份有限公司 | 股票全称 |
| 发行股本(万股/万份) | number | 31924421.08 | 发行股本(万股/万份) |
| 所占比例(%) | number | 6.28 | 所占比例(%) |
如果你需要通过浏览器自动化操作此页面,以下是页面的内部结构。
window.statisticalOverviewstatisticalOverview.getstatisticalOverviewList()input.form-control.sse_input[name="undefined"][type="text"] — 截止日期如果直调 API 受阻,以下 action steps 可复现数据获取:
// Trigger data load statisticalOverview.getstatisticalOverviewList() // 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 自动提交的调用记录与注意事项。