Skip to main content
POST
/
twitter
/
{screen_name}
/
timeline
/
page
Get User Timeline by Page
curl --request POST \
  --url https://api.twexapi.io/twitter/{screen_name}/timeline/page \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "next_cursor": "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA",
  "count": 20
}
'
{
  "data": [
    {
      "tweet_id": "<string>",
      "is_paid_promotion": false,
      "full_text": "<string>",
      "created_at": "<string>",
      "lang": "<string>",
      "conversation_id": "<string>",
      "bookmark_count": 0,
      "favorite_count": 0,
      "reply_count": 0,
      "retweet_count": 0,
      "quote_count": 0,
      "view_count": "<string>",
      "view_count_state": "<string>",
      "author_user_id": "<string>",
      "author_screen_name": "<string>",
      "author_name": "<string>",
      "author_is_blue_verified": true,
      "author_verified": true,
      "author_is_verified_organization_affiliate": true
    }
  ],
  "has_next_page": true,
  "requested_count": 123,
  "effective_count": 123,
  "parsed_count": 123,
  "code": 200,
  "msg": "success",
  "next_cursor": "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

screen_name
string
required

Twitter screen name of the target user (with or without @).

Example:

"axiaisacat"

Body

application/json
next_cursor
string | null

Cursor returned by the previous page. Leave empty to fetch the first page.

Example:

"DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA"

count
integer
default:20

Maximum number of tweets to return for this page.

Required range: 1 <= x <= 100
Example:

20

Response

Current page data and pagination metadata (has_next_page, next_cursor).

data
UserTweetItem · object[]
required

Current page tweet items.

has_next_page
boolean
required

Whether another page is available.

requested_count
integer
required

Original count requested by the client.

effective_count
integer
required

Count after credit throttling was applied.

parsed_count
integer
required

Number of tweets actually parsed from the response.

code
integer
default:200

HTTP status code

msg
string
default:success

Response message

next_cursor
string | null

Use this cursor to fetch the next page when has_next_page is true.

Example:

"DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA"