X (Twitter) Scraper - Tweets, Search, Profiles & Lists avatar

X (Twitter) Scraper - Tweets, Search, Profiles & Lists

Pricing

from $0.14 / 1,000 results

Go to Apify Store
X (Twitter) Scraper - Tweets, Search, Profiles & Lists

X (Twitter) Scraper - Tweets, Search, Profiles & Lists

Scrape X (Twitter) posts from searches, accounts, lists and conversations. Advanced search filters, Latest or Top, dates, languages, likes and media. Get text, engagement, views, media, links and author data. No X account or API key needed.

Pricing

from $0.14 / 1,000 results

Rating

0.0

(0)

Developer

Mary Lou

Mary Lou

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrape posts (tweets) from X: any search, any account, any list, any conversation. Every post comes with its full text, likes, reposts, replies, quotes, bookmarks and views. You also get its photos and videos, links, hashtags and mentions, the post it quotes or reposts, and its author's profile: followers, bio, blue check.

Every filter of X's advanced search is a field: dates, language, minimum likes, media, verified accounts, replies to or mentions of an account, location.

No X account, no API key, no cookies. The scraper signs in to X with accounts of its own, each on a fixed IP. Prefer your own accounts? Paste them under Your own X accounts and the run uses yours alone.


What you can do with it

  • Brand and social listening: every post mentioning your brand, product or hashtag, as it happens, with a daily or hourly schedule
  • Competitor monitoring: what competitors post, and how much engagement each post gets
  • Influencer research: an account's posts with their likes, reposts and views, and the followers of everyone who talks about a topic
  • Market and trend research: thousands of posts on a topic, a cashtag or an event for dashboards, spreadsheets and LLM workflows
  • Customer feedback: every reply under a post, a launch or an announcement
  • Academic research: datasets of public posts by keyword, date range and language

How to scrape X (Twitter)

1. Tell it what to scrape. Fill in any of these, as many lines as you like:

  • Start URLs: links pasted from your browser. A profile (https://x.com/apify), a profile's replies (https://x.com/apify/with_replies), a post (https://x.com/elonmusk/status/2125797463047258119), a search (https://x.com/search?q=apify&f=live), a hashtag (https://x.com/hashtag/webscraping) or a list (https://x.com/i/lists/78783491)
  • Search Terms: what you would type into X's search, operators included: web scraping, "open source" lang:en, #python min_faves:100
  • Twitter handles: accounts whose posts you want: elonmusk, @apify
  • Conversation IDs: posts whose replies you want: an id or a link

2. Choose Sort By: Latest (newest first, as far back as X goes), Top (X's most relevant), or Latest + Top.

3. Optionally narrow it down under Filter Tweets and Query Wizard: a date range, a language, minimum likes, only images or videos, only verified accounts, replies to an account, and more.

4. Set Maximum number of items on output and press Start.

{
"searchTerms": ["web scraping", "#python min_faves:50"],
"twitterHandles": ["apify"],
"startUrls": ["https://x.com/i/lists/78783491"],
"maxItems": 1000,
"sort": "Latest",
"tweetLanguage": "en",
"start": "2026-11-01",
"end": "2026-11-30"
}

Inputs written for other X scrapers on the Store work here as they are: the fields have the same names.


How many posts you get

  • Searches and handles go back as far as X has posts. X stops a long "Latest" search after a few hundred posts; this scraper picks it up again from the oldest post so far and carries on, so a run of one account's posts went back months, 1,200 posts without a gap.
  • Profile links give the account's posts newest first, about 35 at a time. Turn on Include reposts in profiles to get its reposts too.
  • Lists come 100 posts at a time, conversations about 36 replies at a time.
  • Maximum number of items is shared across everything you give: with several searches and links, each gets its turn, so a cap of 300 gives you posts from all of them.
  • Posts found by more than one search are delivered once.

Speed and X's limits

X limits how much each signed-in account may read per 15 minutes, and searches are limited the most. When the scraper's accounts have used theirs, the run waits for X's window to reset and carries on; its status says "waiting for X's rate limit". If the run would time out first, it ends normally with what it has, and Continue from last run picks up exactly there. Lists, profiles and conversations read many times faster than searches.


Output

One row per post. Export as JSON, CSV, Excel, XML or RSS.

{
"type": "post",
"id": "2125797463047258119",
"url": "https://x.com/elonmusk/status/2125797463047258119",
"text": "Every child in America will receive two SpaceX shares, one from the company and one from me personally",
"created_at": "2026-11-26T03:43:05.000Z",
"lang": "en",
"like_count": 635529,
"repost_count": 62566,
"reply_count": 43757,
"quote_count": 13663,
"bookmark_count": 32050,
"view_count": 38765919,
"is_reply": false,
"conversation_id": "2125797463047258119",
"is_repost": false,
"is_quote": false,
"is_pinned": false,
"hashtags": [],
"mentions": [],
"urls": [],
"media": [],
"author": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"url": "https://x.com/elonmusk",
"avatar": "https://pbs.twimg.com/profile_images/2122506092437504001/NSS4RHyZ_400x400.jpg",
"followers": 239376475,
"following": 1430,
"posts_count": 113240,
"is_blue_verified": true,
"affiliation": "X",
"protected": false
},
"quoted_post": null,
"reposted_post": null,
"source_type": "post",
"source": "post 2125797463047258119",
"scraped_at": "2026-12-01T19:35:51Z"
}
FieldNotes
text, lang, created_atThe full text (a long post's whole text, not the first 280 characters), its language and when it was posted
like_count, repost_count, reply_count, quote_count, bookmark_count, view_countEngagement, as X shows it
is_reply, in_reply_to_*, conversation_idWhat it replies to, and the thread it belongs to
is_repost, reposted_post, is_quote, quoted_postThe post it reposts or quotes, in full
mediaPhotos, videos and GIFs: image, size, alt text, and for a video its best MP4, length and every format
hashtags, cashtags, mentions, urls, cardEverything in the post, with each link's real address and its preview card
authorUsername, name, bio, location, profile picture, followers, following, post count, blue check, verified type and affiliation
is_pinned, is_long_post, is_edited, possibly_sensitive, community_idMore about the post
search_termWith Include Search Terms: the search or handle that found it
source_type, source, source_urlThe search, profile, list or conversation it came from

The run's SUMMARY record shows what each search and link gave, the search operators your filters added, and any waits for X's limits.


Reliable on big runs

  • Inputs are read forgivingly. x.com and twitter.com links, post ids, handles with or without @, dates as 2026-11-01, 01/11/2026 or 30 days, and field names used by other X scrapers (maxTweets, searchQueries, handles...) all work. Anything that cannot be read is skipped with a note in the log, not the whole run.
  • One failure costs only itself. An account that doesn't exist or a deleted post is skipped and listed in the summary; the rest of the run carries on.
  • No failed runs for X's limits. A run that has to stop ends normally, says why in its status, and can be continued.
  • Resumable. Progress is saved every 30 seconds.

FAQ

Do I need an X account, cookies or an API key? No. The scraper reads X with signed-in accounts of its own. You never give it a login.

Can I use my own X accounts? Yes. Under Your own X accounts, give one account per line: its auth_token and ct0 cookies from x.com (browser DevTools > Application > Cookies) as auth_token:ct0. The run then uses your accounts alone, never ours, with the same care: at most half of what X allows each 15 minutes, spread out, and a rest whenever X pushes back. Each account goes out through the Proxy setting, keeping to one IP, or through a proxy of its own written after it: auth_token:ct0:http://user:pass@host:port. The field is stored encrypted. The price per post is the same either way.

Which posts can it get? Public posts: any search, any public account, public lists and conversations. Posts of protected (private) accounts are not visible.

How far back can it go? For searches and handles, as far back as X's search goes, years for most accounts. Use Start date and End date for a window.

Why is a run waiting? X limits what each account may read per 15 minutes. When the scraper's accounts have used that, the run waits for the window to reset. Profile links, lists and conversations are limited far less than searches.

What's the difference between a handle and a profile link? A handle is searched (from:apify): every filter and the date range apply, and it can go back years. A profile link reads the account's own timeline: faster, newest first, with its pinned post.

Do the filters apply to profile and list links? Yes: dates, language, minimum likes, media and the rest are checked on every post read from a profile, list or conversation. The location filters work in searches only. A link to a single post is always returned.

Can I use my own proxies? Yes. Give their http:// or https:// URLs under Proxy and the run goes through them alone: it never switches to Apify Proxy and never sends a request without a proxy. Put {session} where your provider takes a session id (http://user-session-{session}:pass@gate.example.com:7000) and each of the scraper's accounts gets an IP of its own.


  • Google Search Scraper: organic results for any query
  • Meta Ads Library Scraper: the ads a business runs on Facebook and Instagram
  • Website Contact Scraper: emails, phones and social profiles from websites
  • Trustpilot Reviews Scraper: reviews and replies of any company on Trustpilot