query.sse.com.cn/commonQuery.do (sqlId: C).
Returns a table with columns: 公司名称, 地址, 邮编, 公司电话, 营业部信息.
Agent 可以从这个页面获取什么数据,以及怎样获取。
JSONP 数据接口,sqlId = C。返回 JSON 数组。
| Name | Type | Description | |
|---|---|---|---|
| sqlId | string | REQUIRED | SQL query identifier: C |
| jsonCallBack | string | optional | JSONP callback name. Omit for raw JSON. |
curl "https://query.sse.com.cn/commonQuery.do?sqlId=C&isPagination=false"
JSON with table data. Columns:
| Column | Type | Example | Description |
|---|---|---|---|
| 公司名称 | string | 爱建证券有限责任公司 | 公司名称 |
| 地址 | string | 上海市浦东新区前滩大道199弄5号 | 地址 |
| 邮编 | number | 200122 | 邮编 |
| 公司电话 | number | 021-32229888 | 公司电话 |
| 营业部信息 | string | 营业部信息 |
如果你需要通过浏览器自动化操作此页面,以下是页面的内部结构。
window.sumsum.getSumList()sum.setSumParams()#undefined — 按名称查询#undefined — 按地址查询如果直调 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 自动提交的调用记录与注意事项。