Get X user timeline
Fetch recent posts from an X (Twitter) user profile with optional pagination.
← All X / Twitter endpoints · Capability overview
/v1/x-twitter/user-timelinehttps://api.vee3.io/v1/x-twitter/user-timeline
Fetch recent posts from an X (Twitter) user profile with optional pagination.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
get_x_user_timelineParameters3 fields
screennamestringOptionalX handle without the leading @ (for example elonmusk). Required when rest_id is omitted.
max length 50
rest_idstringOptionalNumeric X user id (rest_id). When provided, screenname is ignored.
max length 32
cursorstringOptionalPagination cursor from a previous response next_cursor field.
max length 4096
Response69 fields
statusstringTimeline fetch status from the upstream provider (ok on success).
timelinearrayitems50 fieldsRecent posts from the user. Additional provider-specific fields may appear on each entry.
timelinearrayitemstypestringTimeline entry type (for example tweet).
tweet_idstringNumeric tweet id.
screen_namestringAuthor handle without the leading @.
textstringTweet body text.
created_atstringTweet creation timestamp from X.
langstringDetected language code.
favoritesintegerLike count.
retweetsintegerRepost count.
repliesintegerReply count.
quotesintegerQuote count.
bookmarksintegerBookmark count.
viewsstringView count when provided by the upstream provider.
conversation_idstringConversation thread id for the tweet.
sourcestringClient or app source string from X.
display_text_rangearrayitems1 fieldStart and end indices for the display text range.
display_text_rangearrayitemsindexintegerCharacter index in the tweet text.
user_infoobject7 fieldsEmbedded author profile for the tweet.
user_infoobjectscreen_namestringAuthor handle without the leading @.
namestringAuthor display name.
rest_idstringNumeric X user id.
avatarstringProfile avatar image URL.
verifiedbooleanWhether the author account is verified.
followers_countintegerFollower count when provided by the upstream provider.
friends_countintegerFollowing count when provided by the upstream provider.
authorobject3 fieldsAuthor profile summary embedded in the timeline entry.
authorobjectrest_idstringNumeric X user id.
namestringAuthor display name.
screen_namestringAuthor handle without the leading @.
mediaarrayitems2 fieldsAttached media items when present.
mediaarrayitemstypestringMedia type (for example photo or video).
media_url_httpsstringHTTPS URL for the media asset.
entitiesobject14 fieldsParsed entities from the tweet text.
entitiesobjectuser_mentionsarrayitems5 fieldsUser mentions parsed from the tweet text.
user_mentionsarrayitemsid_strstringMentioned user id.
namestringMentioned user display name.
screen_namestringMentioned user handle without the leading @.
indicesarrayitems1 fieldStart and end indices in the tweet text.
indicesarrayitemsindexintegerCharacter index in the tweet text.
hashtagsarrayitems3 fieldsHashtags parsed from the tweet text.
hashtagsarrayitemstextstringHashtag text without the leading #.
indicesarrayitems1 fieldStart and end indices in the tweet text.
indicesarrayitemsindexintegerCharacter index in the tweet text.
urlsarrayitems3 fieldsURLs parsed from the tweet text.
urlsarrayitemsurlstringShort or display URL.
expanded_urlstringExpanded destination URL.
display_urlstringDisplay-friendly URL.
quoted_tweetobject3 fieldsQuoted tweet summary when the post quotes another tweet.
quoted_tweetobjecttweet_idstringNumeric tweet id for the quoted post.
textstringQuoted tweet body text.
screen_namestringQuoted tweet author handle.
pinnedobject8 fieldsPinned tweet object when the user has one pinned post.
pinnedobjecttweet_idstringNumeric tweet id for the pinned post.
textstringPinned tweet body text.
favoritesintegerLike count.
retweetsintegerRepost count.
authorobject3 fieldsAuthor profile summary for the pinned tweet.
authorobjectrest_idstringNumeric X user id.
namestringAuthor display name.
screen_namestringAuthor handle without the leading @.
userobject5 fieldsProfile summary for the requested user.
userobjectstatusstringAccount status from the upstream provider.
profilestringX screen name (handle).
rest_idstringNumeric X user id.
namestringDisplay name shown on the profile.
sub_countintegerFollower count.
next_cursorstringCursor for the next timeline page, when available.
prev_cursorstringCursor for the previous timeline page, when available.
HTTP errors: unauthorized, validation_error, insufficient_tokens, payment_required, x_user_not_found, x_twitter_not_configured, x_twitter_upstream_error