Get User Timeline by Page
Fetch a single page from a user’s timeline using POST. Pass next_cursor in the body to continue.
Back to API Reference
/Timeline Endpoints
POST
/twitter/{screen_name}/timeline/pageAuthorization
AuthorizationBearer token · headerrequiredGlobal API Bearer Token for TwexAPI. Included as: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Path Parameters
screen_namestringrequiredTwitter screen name of the target user (with or without @).
Request Body
requiredapplication/jsonnext_cursorstring | anyCursor returned by the previous page. Leave empty to fetch the first page.
Show propertiesHide properties
Any of:
string
stringany
anycountintegerMaximum number of tweets to return for this page.
min 1 · max 100 · default: 20
Responses
200Current page data and pagination metadata (has_next_page, next_cursor).
codeintegerHTTP status code
default: 200
msgstringResponse message
default: "success"
dataUserTweetItem[]requiredCurrent page tweet items.
Show propertiesHide properties
Array of
UserTweetItemtweet_idstringrequiredTweet ID
is_paid_promotionbooleanWhether the tweet is associated with a paid promotion
default: false
full_textstring | anyTweet text
Show propertiesHide properties
Any of:
string
stringany
anycreated_atstring | anyTweet creation time
Show propertiesHide properties
Any of:
string
stringany
anylangstring | anyTweet language
Show propertiesHide properties
Any of:
string
stringany
anyconversation_idstring | anyConversation ID
Show propertiesHide properties
Any of:
string
stringany
anybookmark_countintegerBookmark count
default: 0
favorite_countintegerLike count
default: 0
reply_countintegerReply count
default: 0
retweet_countintegerRetweet count
default: 0
quote_countintegerQuote count
default: 0
view_countstring | anyView count
Show propertiesHide properties
Any of:
string
stringany
anyview_count_statestring | anyView count state
Show propertiesHide properties
Any of:
string
stringany
anyauthor_user_idstring | anyAuthor user ID
Show propertiesHide properties
Any of:
string
stringany
anyauthor_screen_namestring | anyAuthor screen name
Show propertiesHide properties
Any of:
string
stringany
anyauthor_namestring | anyAuthor display name
Show propertiesHide properties
Any of:
string
stringany
anyauthor_is_blue_verifiedboolean | anyBlue verification flag
Show propertiesHide properties
Any of:
boolean
booleanany
anyauthor_verifiedboolean | anyLegacy verification flag
Show propertiesHide properties
Any of:
boolean
booleanany
anyauthor_is_verified_organization_affiliateboolean | anyVerified organization affiliate flag
Show propertiesHide properties
Any of:
boolean
booleanany
anyhas_next_pagebooleanrequiredWhether another page is available.
next_cursorstring | anyUse this cursor to fetch the next page when has_next_page is true.
Show propertiesHide properties
Any of:
string
stringany
anyrequested_countintegerrequiredOriginal count requested by the client.
effective_countintegerrequiredCount after credit throttling was applied.
parsed_countintegerrequiredNumber of tweets actually parsed from the response.
422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject⚡Interactive ConsolePOST
⚡Interactive Console / Try APIPOSTLive Console
🌐Target Server:
https://api.twexapi.io● Production Ready
🔍
Public Data Read (TwexAPI Key Only, No Twitter Cookie Required)
This endpoint queries public Twitter data — no Twitter account or Cookie required! Simply enter your TwexAPI Platform Key (Bearer Token) in the "API Authorization" section below to test.
🔑API Authorization
⚙️Parameters (1)
📝Request Bodyapplication/json
📡
No Response Yet
Configure parameters in the Request tab and click Send Request below.
Request
curl -X POST "https://api.twexapi.io/twitter/Ian_Codes/timeline/page" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"next_cursor": "",
"count": 20
}'const response = await fetch("https://api.twexapi.io/twitter/Ian_Codes/timeline/page", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"next_cursor": "",
"count": 20
})
});import requests
response = requests.post(
"https://api.twexapi.io/twitter/Ian_Codes/timeline/page",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"next_cursor": "",
"count": 20
},
)Response
{
"code": 200,
"msg": "success",
"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,
"next_cursor": "DAAHCgABHFeD5h9__-cLAAIAAAATMjAzODIzMzA5NTM4ODY4MDU5NAgAAwAAAAIAAA",
"requested_count": 0,
"effective_count": 0,
"parsed_count": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}