GET
/
news
/
v1
/
article
/
page
/
history
Get latest articles
curl --request GET \
  --url https://openapi.ainvest.com/open/news/v1/article/page/history \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "start_id": "<string>",
    "size": 123,
    "data": [
      {
        "content_id": "<string>",
        "publish_time": 123,
        "title": "<string>",
        "seo_key": "<string>",
        "cover_image": {
          "src": "<string>",
          "type": "<string>"
        },
        "author": {
          "nickname": "<string>",
          "portrait": "<string>"
        },
        "tag_list": [
          {
            "code": "<string>",
            "market": "<string>",
            "name_en": "<string>"
          }
        ],
        "language": "<string>"
      }
    ]
  },
  "status_code": 123,
  "status_msg": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here

Query Parameters

start_id
string

Used for paging. If specified, return the latest items earlier than this id. If not specified, return the latest items from now.

Example:

"US_ARTICLEd7c3a136cc8822f4"

size
integer
default:10

Number of items to return. Default is 10, maximum is 50.

Required range: 1 <= x <= 50

Response

200 - application/json

An array of articles

data
object
status_code
number

Status code, 0 for success

status_msg
string

Status message, success for success