X (Twitter) Tweet Scraper - Latest Posts by Profile avatar

X (Twitter) Tweet Scraper - Latest Posts by Profile

Pricing

from $0.10 / 1,000 post (tweet)s

Go to Apify Store
X (Twitter) Tweet Scraper - Latest Posts by Profile

X (Twitter) Tweet Scraper - Latest Posts by Profile

X (Twitter) tweet scraper: latest tweets of any Twitter profile, one row per post, with text, date, likes, retweets, replies, views, media and author followers. Brand accounts: newest ~800 posts; many personal accounts: ~100 top posts. No search. No login. $0.13 per 1,000 tweets.

Pricing

from $0.10 / 1,000 post (tweet)s

Rating

0.0

(0)

Developer

Social Scrapers

Social Scrapers

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

X (Twitter) Tweet Scraper extracts the latest public tweets (posts) of any X profile, one row per post: full text, date, likes, retweets, replies, quotes, bookmarks, views, hashtags, mentions, links, photos and video URLs, the reposted or quoted tweet, and the author's handle, name, ID, followers and checkmark. No X account, login, cookies or API key. $0.13 per 1,000 tweets.

💡 Need a feature that isn't here? Just ask. Open an issue on the Issues tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

⭐ Found it useful? A short review on the Reviews tab helps other people find this scraper, and tells us what to build next.

What does X (Twitter) Tweet Scraper do?

Give it X handles or profile URLs and it reads each profile's posts the way a logged-out visitor sees them, then saves every post as its own dataset item you can download as JSON, CSV, Excel or HTML, or read through the Apify API.

  • 📝 Tweets as rows: one item per post, with the same columns every time, ready for spreadsheets, BI tools and AI pipelines.
  • 📊 Engagement: likes, retweets (reposts), replies, quotes, bookmarks and views for every post.
  • 🖼️ Media: photos, videos (MP4 links) and GIFs, with alt text.
  • 🔁 Reposts and quotes: the original post's author, text, date and counts come with it; turn reposts off to keep only the account's own posts.
  • 👤 Author on every row: handle, name, numeric ID, followers, checkmark type and profile URL.
  • 📅 Date filter: keep only posts newer than a date (2026-01-31, 31/01/2026, Jan 31 2026) or an age (7 days, 2w, 3 months, yesterday).
  • 💸 Pay only for posts saved: handles that don't exist or are suspended cost nothing, and a run stops exactly at the maximum cost you set.

Which tweets can it get?

X shows logged-out visitors different things for different accounts, and this scraper says which one every post came from (tweetsOrder):

  • Brand, media and organisation accounts (NASA, Google, CNN, SpaceX, Nike, WHO, ESPN and most companies): their newest posts, about 800 back, newest first (latest).
  • Many personal accounts (often the biggest individual accounts): about 100 of their most popular posts from across the years instead of the newest (top).
  • Not available logged out: keyword or hashtag search, replies to other accounts, likes, followers lists and protected accounts' posts. The owner's own threads (replies to themselves) are included.

What data can you extract from X (Twitter)?

FieldWhat it is
id, url, conversationIdPost ID, link on x.com, ID of the thread's first post
text, langFull text (long posts included) with links expanded; language
createdAtWhen it was posted, ISO 8601 (UTC)
likeCount, retweetCount, replyCount, quoteCount, bookmarkCount, viewCountEngagement counts
isPinned, isRetweet, isQuote, isReply, inReplyToTweetId, inReplyToHandleWhat kind of post it is
hashtags, mentions, linksHashtags, mentioned handles and expanded links
mediaPhotos, videos and GIFs: type, image URL, MP4 URL, alt text
retweetedTweet, quotedTweetThe reposted or quoted post: ID, URL, author, text, date and counts
source, possiblySensitivePosting app (when X says) and the sensitive-media flag
authorHandle, authorName, authorId, authorFollowersCount, authorIsBlueVerified, authorVerifiedType, authorProfileUrlThe author
tweetsOrderlatest or top (see above)
scrapedAtWhen the post was read

How to scrape tweets from X (Twitter)

  1. Add handles or profile URLs to X handles or profile URLs, one per line.
  2. Set Max posts per profile (for example 100; 0 saves every post X shows).
  3. Optional: set Only posts newer than (for example 30 days) and turn Include reposts off for original posts only.
  4. Click Start. Posts appear in the Output tab as they are read.
  5. Export the dataset as JSON, CSV, Excel or HTML, or fetch it with the Apify API.

How much does it cost to scrape tweets?

WhatPrice per 1,000Silver planGold plan
Tweet (post)$0.13$0.117$0.104
  • 10,000 tweets cost $1.30.
  • The latest 200 posts of 50 brand accounts (10,000 posts) cost $1.30.

Each run also has a $0.001 start fee.

Platform usage and proxies are included. Handles that don't exist or are suspended are free. Set a maximum cost per run when you start the Actor: it stops cleanly before the first post it could not pay for, and keeps everything saved so far. Apify's free plan includes monthly platform credit, enough to try it on tens of thousands of tweets.

Input example

{
"handles": ["NASA", "@Google", "https://x.com/SpaceX"],
"maxTweetsPerProfile": 100,
"onlyTweetsNewerThan": "30 days",
"includeRetweets": false,
"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}

Output example

{
"id": "2119136607009734978",
"url": "https://x.com/NASA/status/2119136607009734978",
"text": "Do you want to be an astronaut?\n\nApplications are now open to join NASA's astronaut corps. Join us as we expand the frontiers of discovery in low Earth orbit, on the Moon, and beyond — apply by Dec. 3: https://go.nasa.gov/4iGqLqu",
"createdAt": "2026-11-07T18:35:13.000Z",
"lang": "en",
"likeCount": 3137,
"retweetCount": 623,
"replyCount": 286,
"quoteCount": 169,
"bookmarkCount": 422,
"viewCount": 582988,
"isPinned": false,
"isRetweet": false,
"isQuote": false,
"isReply": false,
"inReplyToTweetId": null,
"inReplyToHandle": null,
"conversationId": "2119136607009734978",
"hashtags": [],
"mentions": [],
"links": ["https://go.nasa.gov/4iGqLqu"],
"media": [
{
"type": "video",
"url": "https://pbs.twimg.com/media/HWivgtWW8AEKfEF.jpg",
"videoUrl": "https://video.twimg.com/amplify_video/2119136507600531456/vid/avc1/1080x1920/kYn5lFx09UoeDMkc.mp4?tag=16",
"altText": null
}
],
"retweetedTweet": null,
"quotedTweet": null,
"source": null,
"possiblySensitive": false,
"authorHandle": "NASA",
"authorName": "NASA",
"authorId": "11348282",
"authorFollowersCount": 92271708,
"authorIsBlueVerified": true,
"authorVerifiedType": "Government",
"authorProfileUrl": "https://x.com/NASA",
"tweetsOrder": "latest",
"scrapedAt": "2026-11-08T11:52:23.023Z"
}

Use cases

  • Brand and competitor monitoring: collect what brands, publishers and organisations post, with engagement, on a daily schedule.
  • Social listening and sentiment: feed recent posts of chosen accounts into sentiment analysis, summaries or alerts.
  • Content research: find which posts, formats and topics get the most views, likes and reposts.
  • Influencer and creator analysis: compare engagement across accounts you choose.
  • AI and RAG datasets: build clean text datasets of public posts with dates, authors and counts.

Use it via API, Python, JavaScript and integrations

Run the X (Twitter) Tweet Scraper from your own code with the Apify API:

curl -X POST "https://api.apify.com/v2/acts/socialscrapers~x-tweet-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"handles": ["NASA"], "maxTweetsPerProfile": 50}'

Python, with the apify-client package:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("socialscrapers/x-tweet-scraper").call(run_input={"handles": ["NASA", "Google"], "maxTweetsPerProfile": 50})
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
print(post["authorHandle"], post["createdAt"], post["likeCount"], post["text"][:80])

JavaScript, with the apify-client package:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('socialscrapers/x-tweet-scraper').call({ handles: ['NASA'], maxTweetsPerProfile: 50 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'tweets');

It also works without code: connect it to Make, Zapier, n8n, Google Sheets, Slack or webhooks from the Integrations tab, run it on a schedule, and let AI agents call it through the Apify MCP server.

Limits

  • Public posts only, no login. The scraper sees what X shows a logged-out visitor.
  • About 800 newest posts for most brand and organisation accounts; about 100 popular posts for many personal accounts (see above). tweetsOrder says which.
  • No keyword or hashtag search, no replies to other accounts, no likes or followers lists: X shows them only to logged-in users.
  • Protected accounts give no posts.
  • Datacenter proxy choices fall back to residential. If you pick Apify Proxy without the RESIDENTIAL group, the first session X refuses moves the run to RESIDENTIAL, in the same country. Custom HTTP(S) proxy URLs are used as given; a proxy choice that can't be used at all (SOCKS URLs, a country Apify Proxy doesn't offer) falls back to RESIDENTIAL, with a warning in the log.
  • Share and short links work. t.co/… links are followed to the profile or post they lead to, a post link without a handle (x.com/i/web/status/…) reads its author's profile, and mobile.twitter.com, twitter.com, fxtwitter.com, nitter.net and xcancel.com links name their profile directly. Following a link is never charged.
  • A run with 0 results still succeeds when your input was fine. When a handle does not exist, is suspended or withheld, or a link leads nowhere, the run ends as Succeeded with a status message naming each input and why, and nothing is charged.
  • Input that can't be used doesn't fail the run either. When no entry holds a handle or link, a date lies in the future, or the proxy you chose can't be set up, the run ends as Succeeded with a status message starting "Nothing to scrape:" that says why and how to fix the input, and no results are charged. A run fails only on an internal error, or when X refuses every one of 3 or more inputs and also a known public profile, which the Actor then reads once.

FAQ

Is it legal to scrape X (Twitter)? The X (Twitter) Tweet Scraper only reads posts X shows publicly to anyone without an account. Whether you may use them depends on your purpose and jurisdiction (for example personal-data rules such as the GDPR), so check before you store or publish personal data.

Do I need an X account, cookies or an API key? No. You only need a list of handles or profile URLs.

Why are some accounts' tweets years old? For many personal accounts X shows logged-out visitors a selection of about 100 popular posts rather than the latest ones. Those posts have tweetsOrder set to top.

Why did I get fewer tweets than I asked for? The account has fewer posts, the date limit was reached, the account is protected or shows its top posts, X stopped showing older posts, or the run hit its maximum cost. The run's SUMMARY record says which, per profile.

How do I collect only new tweets every day? Schedule the Actor daily with Only posts newer than set to 1 day (or 25 hours for some overlap).

Do I need profile data too? Use the X (Twitter) Profile Scraper for followers, bio, links, verification and affiliation, with the latest posts nested in each profile.

Other scrapers by Social Scrapers

ScraperWhat it gets
TikTok APIProfiles, Videos and Comments
TikTok Comments ScraperComments, Replies and Likes
TikTok Hashtag ScraperTop Videos, Views and Likes
TikTok Profile ScraperFollowers, Bio, Stats and Videos
TikTok ScraperVideos, Profiles, Hashtags and Comments
TikTok Sound ScraperVideos Using a Sound and Music Info
TikTok Video ScraperViews, Likes, Captions and Comments
Instagram APIProfiles, Posts, Reels, Comments and Hashtags
Instagram Comments ScraperComments, Likes and Reply Counts
Instagram Hashtag ScraperReels and Keyword Search
Instagram Post Details ScraperLikes, Comments, Views and Media
Instagram Post ScraperPosts, Reels and Comments
Instagram Profile ScraperFollowers, Bio, Posts and Reels
Instagram Reels ScraperReels, Plays, Likes and Comments
Instagram Reels Transcript ScraperSpeech to Text and Captions
Instagram ScraperPosts, Profiles, Reels, Comments and Hashtags
YouTube APIVideos, Transcripts, Search, Channels and Comments
YouTube Channel ScraperVideos, Shorts, Subscribers and About
YouTube Comments ScraperComments, Replies and Likes
YouTube ScraperVideos, Shorts, Channels and Comments
YouTube Search ScraperVideos, Channels, Views and Filters
YouTube Shorts ScraperShorts, Views, Likes and Search
YouTube Transcript ScraperSubtitles, Captions and SRT
YouTube Video Details ScraperStats, Subtitles and Comments
Facebook Ads Library ScraperMeta Ad Library and Spend
Facebook Comments ScraperPosts, Reels, Videos and Replies
Facebook Groups ScraperPublic Group Posts and Reactions
Facebook Marketplace ScraperPrices, Locations and Sellers
Facebook Page Contact Info ScraperEmail, Phone and WhatsApp
Facebook Posts ScraperPages, Profiles and Timelines
Facebook Pages ScraperProfiles, Contact Info and Reviews
Facebook Reels ScraperReels, Videos, Plays and Captions
X (Twitter) Profile ScraperFollowers, Bio and Tweets
Threads Profile ScraperFollowers, Bio, Links and Posts
Threads Replies ScraperComments, Authors, Likes and Media
Threads ScraperPosts, Profiles, Replies and Search
Threads Search ScraperKeywords, Hashtags, Top and Recent Posts
Reddit Comments ScraperThreads, Replies, Votes and Authors
Reddit ScraperPosts, Comments, Subreddits, Users and Search
Reddit Search ScraperPosts by Keyword, Subreddit and Date
Reddit User ScraperProfiles, Karma, Posts and Comments
Subreddit ScraperHot, New and Top Posts with Comments
Quora ScraperAnswers, Questions, Profiles and Topic Search
LinkedIn Ad Library ScraperAds, Advertisers and Impressions
LinkedIn Job Search ScraperFilters, Salaries and New Jobs
LinkedIn Jobs ScraperJob Listings, Salaries and Companies
Google Maps Email ExtractorEmails, Phones and Social Links
Google Maps ScraperPlaces, Phones, Websites, Ratings and Hours
Google News ScraperHeadlines, Articles and Search
Google Ads Transparency ScraperAd Creatives and Advertisers
Amazon Product ScraperSearch Results, Prices, Ratings, ASINs
Indeed Jobs ScraperSalaries, Full Descriptions, Company Data
Contact Details ScraperEmails, Phones and Social Links
Telegram Channel ScraperPosts, Views and Media
Doximity ScraperPhysician Profiles and Doctor Directory
KevinMD ScraperPhysician Articles and Author Specialties
Op-Med ScraperPhysician Essays and Doctor Profiles
Career Site Jobs ScraperGreenhouse, Lever, Ashby and Workday
Google Trends ScraperInterest Over Time, Regions and Queries