X (Twitter) Tweet Scraper — Search by Query, Hashtag, User avatar

X (Twitter) Tweet Scraper — Search by Query, Hashtag, User

Pricing

from $1.00 / 1,000 tweet results

Go to Apify Store
X (Twitter) Tweet Scraper — Search by Query, Hashtag, User

X (Twitter) Tweet Scraper — Search by Query, Hashtag, User

Search and export tweets from X (Twitter) using advanced query syntax — filter by user, date, language, hashtag, and engagement. No login required.

Pricing

from $1.00 / 1,000 tweet results

Rating

0.0

(0)

Developer

Andrew

Andrew

Maintained by Community

Actor stats

0

Bookmarked

39

Total users

14

Monthly active users

4 days ago

Last modified

Share

X (Twitter) Tweet Scraper - Search by Query, Hashtag, User

Search tweets on X (Twitter) by keyword, hashtag, user, date, or engagement - export them as JSON, CSV, or Excel. No login or developer account required.

What you get

  • Tweet ID, full text, URL, language, and creation timestamp
  • Engagement metrics - likes, retweets, replies, quotes, views, bookmarks
  • Author details - username, display name, follower count, verification status
  • Reply / quote / retweet context - original tweet IDs and conversation IDs
  • Cursor-based pagination - resume large extractions across multiple runs

Free tier vs. paid

Free runs are capped to help cover data costs:

  • 25 tweets per run
  • 3 runs per day (UTC)
  • 30-minute wait between runs

Upgrade to any paid plan on the actor's pricing page to lift all three limits - your Max Tweets setting is honored in full and runs are unrestricted.

Use cases

  • Brand and competitor monitoring on X
  • Sentiment analysis and audience research
  • Lead generation - find people tweeting about your niche
  • Trend tracking around hashtags, cashtags, or events
  • Influencer discovery - surface accounts driving engagement on a topic

How to use

  1. Enter a Search Query using Twitter's advanced search syntax (examples below)
  2. Choose Sort Order - Latest for chronological, Top for highest engagement
  3. Set Max Tweets (default 100; set 0 for unlimited)
  4. Run the actor - one tweet per row in the Dataset tab
  5. To fetch the next page, open the Key-value store tab → copy the NEXT_PAGE_ID value → paste it into Page ID on your next run

Query syntax - examples

GoalQuery
All tweets from a userfrom:elonmusk
Tweets mentioning a brand@nike
Exact phrase"black friday"
Hashtag in English with 100+ likes#ai lang:en min_faves:100
Tweets with media in a date rangefrom:nasa has:media since_time:1704067200 until_time:1706659200
Replies to a user excluding RTsto:openai -filter:retweets
Combine terms with OR("AI" OR "ML") from:openai

Output format

One tweet per dataset row - perfect for direct CSV, Excel, or Google Sheets export:

{
"tweetId": "1234567890",
"url": "https://x.com/elonmusk/status/1234567890",
"text": "Tweet text here…",
"createdAt": "Wed Jan 01 12:00:00 +0000 2026",
"lang": "en",
"likeCount": 12345,
"retweetCount": 678,
"replyCount": 234,
"quoteCount": 45,
"viewCount": 1000000,
"bookmarkCount": 89,
"isReply": false,
"isQuote": false,
"isRetweet": false,
"author": {
"username": "elonmusk",
"userId": "44196397",
"name": "Elon Musk",
"isBlueVerified": true,
"followersCount": 200000000
}
}

Pagination

If your search has more results than Max Tweets allows, the actor saves a resume cursor to the default Key-value store under the key NEXT_PAGE_ID.

  1. Open the Key-value store tab on the run page
  2. Copy the value of NEXT_PAGE_ID
  3. Start a new run and paste it into Page ID

When NEXT_PAGE_ID is null, the search is fully exhausted.

Input options

FieldTypeDescription
Search QuerystringTwitter advanced-search query (required)
Sort OrderselectLatest (default) or Top
Max TweetsintegerTweet cap per run - default 100, 0 for unlimited
Page IDstringNEXT_PAGE_ID from the previous run's Key-value store, to resume pagination

Part of a complete X (Twitter) toolkit - explore the rest of the suite: