Twitter User Tweets API
An account’s posts and reposts, newest first, with full text, counts, views and media, page after page.
https://api.endpointry.com/v1/twitter/user/tweetsTweets · showing 1 of 1
Happy Thanksgiving from the @Space_Station!
https://x.com/NASA/status/2124940993489162256
Likes 4,832Retweets 606Replies 171
Checking live calls…
What you get
Returns an account’s posts, newest first, about 20 per page: its own posts and reposts, and with replies=true its replies to others too.
- Text — The full text, long posts included, with shortened links expanded and the links to attached media removed
- Lang — The language X detected
- Views — Null where X shows no view count
- Conversation ID — The id of the post that started the thread
- URLs — Links in the text, expanded
- Sensitive — Whether X marks the media as possibly sensitive
- Quoted tweet — The post this one quotes; null when it quotes nothing or the quoted post is gone
- Retweeted tweet — For a repost, the original post in full; its counts are the original’s
Use cases
What teams build with it
- Monitoring brand, competitor and executive accounts
- Building datasets of an account’s posts for research or LLM pipelines
- Engagement analytics with likes, reposts, replies, quotes and views per post
- Embedding an account’s latest posts in your product
FAQ
Frequently asked questions
Are replies included?
Not by default. Add replies=true to get the account’s replies to others along with its posts.
How do reposts and quotes look?
A repost carries the original post in full under retweeted_tweet, with the original’s counts; a quote carries the quoted post under quoted_tweet.
How do I page back through an account’s history?
Pass meta.pagination.next_cursor as cursor. Each page holds about 20 posts; the cursor is null on the last page.
Is the pinned post included?
Not in the list, so pages stay in date order. /user returns its id as pinned_tweet_id; fetch it with /tweet.
More from the Twitter (X) API
Try it on the free plan
One key covers the whole catalog, this endpoint included, starting on the free plan with no card.