Skip to Content

股票搜索

股票搜索。

HTTP 方法与路径GET /api/v1/stock/search

入参

Path

| 路径参数 | 无 |

Query

参数类型必填说明
keywordstring代码或名称关键词

响应

响应外壳:成功时 JSON 含 successdata、可选 message,见 统一响应体

响应示例

对应请求 GET /api/v1/stock/search?keyword=平安。字段以线上为准。

{ "success": true, "data": { "list": [ { "code": "000001", "name": "平安银行", "market": 0 }, "..." ] } }

请求示例

curl -sS -H "Authorization: Bearer <API_KEY>" "http://localhost:4000/api/v1/stock/search?keyword=平安"
Last updated on