cURL
curl --request GET \ --url https://open.ainvest.com/open/news/page \ --header 'Authorization: Bearer <token>' \ --header 'Cookie: <cookie>'
{ "data": { "page": 123, "size": 123, "data": [ { "news_id": "<string>", "content_id": "<string>", "news_type": "<string>", "news_from": "<string>", "news_format": "<string>", "news_important": 123, "publish_time": 123, "title": "<string>", "summary": "<string>", "content": "<string>", "source": "<string>", "seo_key": "<string>", "cover_image": { "src": "<string>", "type": "<string>" }, "source_url": "<string>", "tag_list": [ { "code": "<string>", "market": "<string>", "name_en": "<string>", "type": 123 } ], "lang": "<string>", "read_time": "<string>" } ] }, "status_code": 123, "status_msg": "<string>" }
可以通过该接口,以分页方式获取最近快讯列表。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
cookie值
有pro(付费内容)、latest(全量内容)、markets、stock_ideas、economy、pre_market、earningscall可选
开始id
大小
成功
数据
显示 子属性
状态码
状态信息