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>"
}可以通过该接口,以分页方式获取最近快讯列表。
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.
cookie值
有pro(付费内容)、latest(全量内容)、markets、stock_ideas、economy、pre_market、earningscall可选
开始id
大小
成功
数据
显示 子属性
当前页
页数
数据
显示 子属性
内容id
内容中台id
内容类型
内容生成来源
内容格式
内容重要度
内容发布时间
内容标题
内容标题
内容正文
内容作者
内容seoKey
内容跳转地址
语言
内容阅读时长
状态码
状态信息