跳转到主要内容
GET
/
news
/
page
获取新闻动态分页
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>"
}
当前免费用户调用5次接口后就会报错,显示免费额度用尽

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

cookie值

Query Parameters

tab
string
required

有pro(付费内容)、latest(全量内容)、markets、stock_ideas、economy、pre_market、earningscall可选

start_id
string
required

开始id

size
integer<int32>
required

大小

Response

成功

data
object

数据

status_code
number

状态码

status_msg
string

状态信息