Skip to Content

个股新闻

个股新闻。

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

入参

Path

| 路径参数 | 无 |

Query

参数类型必填说明
codestring股票代码
pageIndexnumber
pageSizenumber

响应

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

响应示例

对应请求 GET /api/v1/stock/news?code=000001。字段以线上为准。

{ "success": true, "data": { "total": 1, "list": [] } }

请求示例

curl -sS -H "Authorization: Bearer <API_KEY>" "http://localhost:4000/api/v1/stock/news?code=000001"
Last updated on