X.com (Twitter) Tweet Scraper avatar

X.com (Twitter) Tweet Scraper

Pricing

from $0.40 / 1,000 tweet scrapeds

Go to Apify Store
X.com (Twitter) Tweet Scraper

X.com (Twitter) Tweet Scraper

Scrape tweets from X.com by profile handle, tweet URL, search query (advanced operators), or list. Pay per tweet. Optional add-ons: full author enrichment, thread expansion, media URLs, language detection.

Pricing

from $0.40 / 1,000 tweet scrapeds

Rating

0.0

(0)

Developer

LurkAPI

LurkAPI

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Scrape tweets from X.com (formerly Twitter) by search query, profile handle, or tweet URL. Get clean, structured data straight to your spreadsheet, CRM, or dashboard. No X account, no login, no coding needed.

🐦 What it does

Pick any combination of these inputs and this tool returns every tweet that matches:

  • Search queries: X's own advanced search, exactly as you would type it. Works with all the usual operators like from:elonmusk, since:2024-01-01, min_faves:100, lang:en, filter:media, and dozens more. See the full operator reference.
  • X handles or profile URLs: paste elonmusk or https://x.com/openai to pull that account's recent tweets.
  • Tweet URLs or IDs: paste https://x.com/user/status/123 or the numeric ID to fetch one specific tweet.

For every tweet you get:

  • The full text (no 280-character truncation on long-form notes)
  • Author handle, display name, avatar, and verification badges
  • Likes, retweets, replies, quotes, bookmarks, view count
  • Attached photos and videos (turn on the download add-on to save the files)
  • Hashtags, mentions, and expanded URLs
  • Nested quoted tweet and retweeted tweet, when present
  • Precise creation timestamp in ISO 8601

πŸ“‹ How to use it

Step 1: Pick your inputs

Mix and match any of these in one run:

  • Search queries: one query per line in the Search queries box.
  • Handles: usernames or profile URLs in the Handles box.
  • Tweet URLs / IDs: paste tweet links or numeric IDs.

Every input is optional as long as at least one has a value.

Step 2: Set the limit and sort

  • Max tweets per run: hard cap on how many tweets the run returns. Default is 100 to protect against surprise bills. Raise as high as you need.
  • Sort (search queries only): pick Latest for chronological, Top for most engaged, or Media for a media-only feed.

Step 3: (Optional) Filter your results

  • Date range: keep only tweets between a From and To date.
  • Language: dropdown with every supported language plus X's special codes (mentions only, hashtags only, media only).
  • Minimum likes, retweets, replies, or views: drop tweets below your threshold.
  • Only from verified accounts: skip non-verified authors.
  • Exclude replies / retweets: keep timelines clean.
  • Must have media / link: keep only tweets with an attached photo or video, or an external link.

Filters are free. Tweets that get filtered out are never billed.

Step 4: (Optional) Add-ons

Every add-on is off by default. Each one is billed only when it returns a real result. Failed lookups cost nothing.

  • Full author enrichment: for every unique author in the run, fetch the full profile (followers, bio, location, joined date, website) plus the "About this account" panel data (country the account is based in, device store region, affiliate handle, verified since date). Billed once per unique author.
  • Expand threads: when a tweet is part of a conversation, pull every reply in the thread. Attached as threadTweets[] on the row.
  • Download media files: save every photo and video into your run's key-value store. You get a signed download link (kvUrl) on each media item. Billed once per tweet that had at least one file downloaded.
  • Language detection: run a local language detection pass on tweet text. Useful when X did not tag a language itself.

Step 5: Run

Click Start. Rows stream into the Output tab as each page finishes, so you do not have to wait for the whole run.

πŸ“Š What you get

Every row is one tweet. Five tabs group the fields by what you probably care about:

TabWhat is in it
πŸ“‹ OverviewStatus, tweet ID, URL, handle, text, date, top counts, source input
🐦 TweetsFull spread: all six engagement counts, type flags, hashtags, mentions, links
πŸ“Š EngagementOnly the numeric counts, ready for sorting or charting
πŸ‘€ AuthorsAuthor profile columns (fully populated when the Author add-on is on)
πŸ–ΌοΈ MediaTweets that have media. Signed download link per file when the download add-on is on

You can export from the Output tab as JSON, CSV, or Excel.

Every row has a status field. Success means the row is good. Anything else is a human-readable message explaining what happened (tweet deleted, handle not found, search infrastructure under load). Rows that did not succeed are never billed.

πŸ’° Pricing

You only pay for what you get. Every event is billed per result.

EventRateWhen it fires
Actor run start$0.005Once per run
Tweet scraped$0.40 / 1,000Once per successful tweet row
Author enrichment$3.00 / 1,000Once per unique author successfully resolved
Thread expansion$10.00 / 1,000Once per unique thread expanded
Media download$2.00 / 1,000Once per tweet with at least one file saved
Language detection$0.50 / 1,000Once per tweet where a language was detected

Free trial: Apify free plans get 10 free search queries per calendar month. Paid Apify plans (Bronze, Silver, Gold, Custom) get unlimited search. Handle and tweet-URL inputs never count against this cap on any plan.

πŸ’‘ Good to know

  • Long text is never truncated. Long-form notes come back in full, unlike some competitors that cut off at 280 characters.
  • View count is populated on retweets and quoted tweets too, not just originals.
  • URL forms accepted: x.com/user/status/123, twitter.com/user/status/123, mobile.x.com/..., and x.com/i/web/status/123 all work.
  • X search operators that need a logged-in user (filter:follows, filter:social, filter:trusted, near:me) will not return what you expect. Every other operator in the reference works.
  • Media files are stored in your Apify key-value store. How long they are kept depends on your Apify plan.
  • Rows appear in real time. You can open the Output tab while the run is still going and start pulling data.

For developers

You can call this actor through the Apify API:

{
"searchQueries": ["openai since:2024-01-01"],
"handles": ["elonmusk", "sama"],
"tweetUrls": ["https://x.com/openai/status/1234567890"],
"maxItems": 500,
"sortBy": "Latest",
"minLikes": 100,
"language": "en",
"excludeReplies": true,
"enrichAuthors": true,
"extractMedia": true
}

Every input field is optional. Provide at least one of searchQueries, handles, or tweetUrls.

❓ FAQ

Why is viewCount null on some tweets? X started exposing view counts publicly in December 2022. Tweets posted before that date do not have a view count on their API record, so the field comes back null. Rarely, protected or very fresh tweets are missing it too.

Why is author.location empty? author.location is the free-text Location field the user typed into their own profile. Many users leave it blank. The author.basedIn field (from the Author enrichment add-on) is more reliable, since it comes from X's own "Account based in" panel.

Why did my search query return zero rows? Some X search operators only work when the request comes from a logged-in account (filter:follows, filter:social, filter:trusted, near:me). Everything else in the operator reference works.

Can I use my own X cookies? No. This actor does not accept user cookies.

How long are downloaded media files stored? Files land in your Apify key-value store. Retention depends on your Apify plan.

πŸ”— Other tools you might like

βš–οΈ Disclaimer

This tool is intended for personal, research, and educational use. You are responsible for complying with X.com's Terms of Service and applicable laws in your jurisdiction. The developer is not liable for misuse. Data availability depends on X at run time.

Keywords: twitter scraper, x.com scraper, tweet scraper, x api alternative, no login twitter scraper, social media data