query.sse.com.cn/commonQuery.do (sqlId: COMMON_SSE_SJ_GPSJ_HYGPM_L).
Returns a table with columns: 名次, 股票代码, 股票简称, 开盘价, 收盘价.
Agent 可以从这个页面获取什么数据,以及怎样获取。
JSONP 数据接口,sqlId = COMMON_SSE_SJ_GPSJ_HYGPM_L。返回 JSON 数组。
| Name | Type | Description | |
|---|---|---|---|
| sqlId | string | REQUIRED | SQL query identifier: COMMON_SSE_SJ_GPSJ_HYGPM_L |
| jsonCallBack | string | optional | JSONP callback name. Omit for raw JSON. |
| LIST_BOARD | string | optional | Filter parameter (default: 2) |
| TRADE_VOL_DESC | string | optional | Filter parameter (default: 1) |
curl "https://query.sse.com.cn/commonQuery.do?sqlId=COMMON_SSE_SJ_GPSJ_HYGPM_L&isPagination=false"
JSON with table data. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 名次 | number | 1 | 名次 |
| 股票代码 | number | 688223 | 股票代码 |
| 股票简称 | string | 晶科能源 | 股票简称 |
| 开盘价 | number | 7.02 | 开盘价 |
| 收盘价 | number | 7.1 | 收盘价 |
| 平均价 | number | 7.06 | 平均价 |
| 累计成交量(万股/万份) | number | 19949.88 | 累计成交量(万股/万份) |
| 累计成交金额(万元) | number | 140752.84 | 累计成交金额(万元) |
| 累计涨跌幅(%) | number | -2.07 | 累计涨跌幅(%) |
| 期间振幅(%) | number | 4.05 | 期间振幅(%) |
| 累计换手率% | number | 1.97 | 累计换手率% |
如果你需要通过浏览器自动化操作此页面,以下是页面的内部结构。
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 自动提交的调用记录与注意事项。