Twitter (X) Reply Scraper

Twitter (X) Reply Scraper

by louisdeconinck

Extract detailed information about tweets and their replies from Twitter/ X.com. This scraper collects data on tweet & comment details, user informati...

1,315 runs
451 users
Try This Actor

Opens on Apify.com

About Twitter (X) Reply Scraper

Extract detailed information about tweets and their replies from Twitter/ X.com. This scraper collects data on tweet & comment details, user information, and reply content, providing insights for social media analysis, sentiment tracking & trend monitoring. No authentication or cookies needed.

What does this actor do?

Twitter (X) Reply Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Twitter (X) Reply Scraper Twitter (X) Reply Scraper is an Apify actor that allows you to extract detailed information about tweets and their replies from Twitter.com / X.com. This scraper can collect data on tweet & comment details, user information, and reply content, providing valuable insights for social media analysis, sentiment tracking, or trend monitoring. ## Why use Twitter (X) Reply Scraper? - Comprehensive Data Collection: Gather extensive information about tweets, including text, engagement metrics, and timestamps. - Reply Insights: Extract detailed information about replies & comments, including user data and engagement metrics. - Flexible Scraping Options: Choose to focus on specific tweets or users based on your research needs. - No Authentication Required: No need for cookies or authentication, removing the risk of bans and making it easier to use. ## How to use Twitter (X) Reply Scraper 1. Set up your Input: - Provide start URLs from X.com (e.g., specific search URLs). - Set the maximum number of tweets to scrape. - Set the maximum number of replies per tweet to scrape. 2. Run the Actor: Start the actor and let it crawl the specified X pages. 3. Retrieve Results: Once the run is complete, download the scraped data in your preferred format (JSON, CSV, or Excel). ## Input Configuration - startUrls: Provide a list of URLs from X.com (e.g., specific tweet URLs). - maxSearchResults: Set the maximum number of search results to scrape. - maxReplies: Set the maximum number of replies per tweet to scrape. If you're only interested in the tweet, set this to 0, it will greatly reduce your usage costs and speed up the process a lot. ### Example Input json { "startUrls": [ { "url": "https://x.com/search?q=%23journorequest+min_replies%3A10&src=typed_query&f=live" }, { "url": "https://x.com/search?q=%23durftevragen+min_replies%3A10&src=typed_query&f=live" } ], "maxSearchResults": 30, "maxReplies": 10 } ### Obtaining Start URLs You can copy any X.com search URL and use it as a start URL. You can select the Latest tab to get the latest tweets or the Top tab to get the most popular tweets. There is also an advanced search option available at https://x.com/search-advanced where you can use various parameters to refine your search results more precisely. You can set these parameters in the advanced search page: - Words: - Use keywords or phrases to search for specific content. - Example: "breaking news" will find tweets containing the exact phrase "breaking news". - Use "OR" to search for tweets containing either of two terms (e.g., "cats OR dogs"). - Use "-" before a word to exclude tweets containing that word (e.g., "-cats" excludes tweets with "cats"). - Use "#" to search for specific hashtags (e.g., "#ThrowbackThursday"). - Accounts: - Use "from:" to find tweets from a specific account (e.g., "from:@X"). - Use "to:" to find replies to a specific account (e.g., "to:@X"). - Use "@" to find tweets mentioning specific accounts (e.g., "@SFBART OR @Caltrain"). - Filters: - Select "Replies" to include or exclude reply tweets. - Choose "Links" to include or focus on tweets with links. - Engagement: - Use "min_replies:", "min_faves:", or "min_retweets:" followed by a number to set minimum engagement thresholds. - Date Range: - Specify a date range to narrow down the search period. - Language: - Select a specific language to filter tweets. - Location: - Specify a location to find geo-tagged tweets from that area. ## Output Data The actor will output the following data for each tweet and its replies: - tweetLink: The URL of the tweet. - avatar: The URL of the user's avatar. - fullname: The full name of the user who posted the tweet. - handle: The handle of the user who posted the tweet. - verified: Whether the user is verified. - tweetDate: The timestamp of the tweet. - tweetContent: The text of the tweet. - commentCount: The number of comments the tweet has received. - retweetCount: The number of retweets the tweet has received. - quoteCount: The number of quotes the tweet has received. - likeCount: The number of likes the tweet has received. - repliesData: An array of replies to the tweet, each containing the same fields as the tweet. ### Example Output json { "tweetLink": "https://x.com/meehikabarua/status/1867564631180632295", "avatar": "https://pbs.twimg.com/profile_images/1690785189792735232/BmUFicth_bigger.jpg", "fullname": "Meehika Barua", "handle": "@meehikabarua", "verified": null, "tweetDate": "2024-12-13T13:38:00.000Z", "tweetContent": "Looking for menswear experts to comment on what to wear to job interview for a Men's Journal piece. Deadline 16th Dec. Email in bio.\n#journorequest #prrequest", "commentCount": 11, "retweetCount": 4, "quoteCount": 0, "likeCount": 11, "repliesData": [ { "tweetLink": "https://x.com/editorielle/status/1867567715252408465", "avatar": "https://pbs.twimg.com/profile_images/1730590378942681088/MbS2v-ce_bigger.jpg", "fullname": "EDITORIELLE", "handle": "@editorielle", "verified": "verified", "tweetDate": "2024-12-13T13:50:00.000Z", "tweetContent": "We've shared this with our Fashion network for you Meehika! Thanks, Bethany x", "commentCount": 1, "retweetCount": 0, "quoteCount": 0, "likeCount": 1 }, { "tweetLink": "https://x.com/MediaMatchMaker/status/1867585988102697438", "avatar": "https://pbs.twimg.com/profile_images/1148575226432802818/nLiLszhz_bigger.png", "fullname": "MediaMatchMaker", "handle": "@MediaMatchMaker", "verified": "verified", "tweetDate": "2024-12-13T15:02:00.000Z", "tweetContent": "Hi Meehika, we have shared this for you and let us know if we can help with any future journo requests. - Media Matchmaker Team", "commentCount": 1, "retweetCount": 0, "quoteCount": 0, "likeCount": 0 }, { "tweetLink": "https://x.com/KintijaPR/status/1867602139679498305", "avatar": "https://pbs.twimg.com/profile_images/1854884381308895232/uPeanSn1_bigger.jpg", "fullname": "kintija/ kiki", "handle": "@KintijaPR", "verified": null, "tweetDate": "2024-12-13T16:07:00.000Z", "tweetContent": "Hey Meehika, have dropped you an email in regard to this! 😊", "commentCount": 1, "retweetCount": 0, "quoteCount": 0, "likeCount": 1 }, { "tweetLink": "https://x.com/makesyoucakes/status/1867565936443580435", "avatar": "https://pbs.twimg.com/profile_images/1767833219280580608/MR3fO5Yd_bigger.jpg", "fullname": "Makepeace Sitlhou", "handle": "@makesyoucakes", "verified": null, "tweetDate": "2024-12-13T13:43:00.000Z", "tweetContent": "Only guy worth talking to @dieworkwear", "commentCount": 1, "retweetCount": 0, "quoteCount": 0, "likeCount": 2 } ] }

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Twitter (X) Reply Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
louisdeconinck
Pricing
Paid
Total Runs
1,315
Active Users
451
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support