Support needed? Reach out! 📧

Twitter Posts API

Access Twitter tweet histories for any public account including post text, retweet counts, reply totals, and impression data for content and trend analysis.

python-logo Python
Twitter User Tweets
1 import requests
2  
3 root = "https://ensembledata.com/apis"
4 endpoint = "/twitter/user/tweets"
5 params = {
6   "id"50393960,
7   "token""YOUR-TOKEN-HERE"
8 }
9  
10 res = requests.get(root+endpoint, params=params)
11 print(res.json())
12  

Why Developer Teams Use Our API

Full Tweet History

Paginate through an account's entire public tweet archive instead of just recent activity.

Content Strategy Research

See what topics and formats an account leans on to inform your own posting.

Engagement Per Tweet

Get like, retweet, and reply counts broken out for every tweet, not just totals.

Track Posting Frequency

Use timestamps across tweets to calculate how often an account actually posts.

No Paid API Tier

Access public tweet data without subscribing to Twitter/X's paid developer tiers.

Structured JSON Output

Every tweet returns clean fields ready to drop into a research or monitoring pipeline.

Scrape Twitter Data Effortlessly

Scrape full tweet histories with engagement data in bulk using our tweets API, useful for content audits, trend research, and social listening workflows.

deco-icon

Full Timeline Pull

Collect an account's entire public tweet history in one paginated workflow.

deco-icon

Format & Topic Study

Analyze tweet text across a timeline to see what topics an account favors.

deco-icon

Reach Per Tweet

Get impression figures broken out per tweet instead of account-level averages.

Twitter Scraping Features

Track what any Twitter account is posting and how audiences respond, useful for competitive analysis and content strategy.

  • Paginate through an account's entire public tweet timeline instead of recent activity only.
  • Distinguish original tweets, retweets, and quote tweets directly in the returned data.
  • Get impression figures per tweet instead of relying on account-level averages.
  • Track replies alongside a reference to the original tweet being responded to.
  • Access full tweet history through our own API without needing X developer credentials.

Starting crawling Twitter now!

deco-icon

Get Your API Key in Minutes

Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.

Get started free
deco-icon

Developer Support

Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.

Contact us

Frequently Asked Questions

Each tweet includes the post text, retweet counts, reply totals, and impression data, covering the account's public tweet history.

Yes, the endpoint paginates through a user's public timeline so you can collect their entire tweet history.

Yes, having full tweet text and engagement data makes it well suited for tracking what competitors post and how audiences respond.

No, this endpoint works as a standalone alternative without needing your own X API credentials.

Each request returns a page of tweets with a pagination cursor; pass it into the next call to continue through the account's timeline until it's exhausted.

Both are included by default, and each entry indicates whether it's an original tweet, a retweet, or a quote tweet.

Yes, replies appear in the returned history along with a reference to the tweet being replied to.

Protected accounts return no tweet data through this endpoint, matching what's visible to a logged-out viewer on X.

Data is fetched live from X at request time, so engagement figures reflect the account's current tweet state.