query.sse.com.cn/commonQuery.do (sqlId: COMMON_SSE_SJ_GPSJ_CJGK_MNGK_C).
Returns a table with columns: 年度情况, 基金, ETF, 公募REITs, LOF.
Agent 可以从这个页面获取什么数据,以及怎样获取。
JSONP 数据接口,sqlId = COMMON_SSE_SJ_GPSJ_CJGK_MNGK_C。返回 JSON 数组。
| Name | Type | Description | |
|---|---|---|---|
| sqlId | string | REQUIRED | SQL query identifier: COMMON_SSE_SJ_GPSJ_CJGK_MNGK_C |
| jsonCallBack | string | optional | JSONP callback name. Omit for raw JSON. |
| PRODUCT_CODE | string | optional | Filter parameter (default: 05%2C13%2C16%2C14%2C15%2C12) |
| SEARCH_YEAR | string | optional | Filter parameter (default: ) |
| type | string | optional | Filter parameter (default: inParams) |
curl "https://query.sse.com.cn/commonQuery.do?sqlId=COMMON_SSE_SJ_GPSJ_CJGK_MNGK_C&isPagination=false"
JSON with table data. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 年度情况 | string | 挂牌数 | 年度情况 |
| 基金 | number | - | 基金 |
| ETF | number | - | ETF |
| 公募REITs | number | - | 公募REITs |
| LOF | number | - | LOF |
| 基金回购 | number | - | 基金回购 |
如果你需要通过浏览器自动化操作此页面,以下是页面的内部结构。
window.overviewDayoverviewDay.getOverviewDayList()overviewDay.setOverviewDayParams()input.form-control.sse_input[name="undefined"][type="text"] — 开始时间 至 结束时间如果直调 API 受阻,以下 action steps 可复现数据获取:
// Trigger data load overviewDay.getOverviewDayList() // 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 自动提交的调用记录与注意事项。