X (Twitter) Post Replies Scraper avatar

X (Twitter) Post Replies Scraper

Pricing

from $0.20 / 1,000 result items

Go to Apify Store
X (Twitter) Post Replies Scraper

X (Twitter) Post Replies Scraper

Extract replies/comments from X posts (tweets) provided as input URLs. Retrieve comment text, author, timestamp, reactions, and more. Ideal for social media monitoring, sentiment analysis, and engagement tracking. ๐Ÿš€

Pricing

from $0.20 / 1,000 result items

Rating

3.3

(9)

Developer

Scraper One

Scraper One

Maintained by Community

Actor stats

46

Bookmarked

2.7K

Total users

312

Monthly active users

2 days ago

Last modified

Share

Apify Actor

This Apify Actor extracts replies from X (Twitter) posts (tweets) provided as input URLs. It retrieves reply content, authors, timestamps, media, and engagement metrics. Perfect for social media monitoring, sentiment analysis, and trend tracking. ๐Ÿš€

Features

  • ๐Ÿ” Scrape replies from multiple posts (tweets)
  • ๐Ÿ‘ค Extract author profiles and metadata
  • ๐Ÿ•’ Retrieve timestamps, media, and conversation context
  • ๐Ÿ”ข Limit the number of replies per post

Input Parameters

ParameterTypeRequiredDescription
postUrlsstring[]โœ…Array of X (Twitter) post URLs to extract replies from.
resultsLimitnumberโŒMaximum number of results to retrieve (for each post url). If not set, only a few of the first replies will be returned.
includeOriginalPostbooleanโŒIf true, the original post will be included as a first reply. False by default.

Example Input

{
"postUrls": [
"https://x.com/ZippoJeje/status/1905584213761351970"
],
"resultsLimit": 20,
"includeOriginalPost": true
}

Output Data

The actor returns an array of JSON objects with extracted replies and related data.

Input URLs, errors and charges

Every successful result includes inputUrl, the exact original postUrls entry, including when X redirects it. postUrl, replyUrl and their IDs keep their existing meanings.

An invalid or unsupported input URL produces one row containing only inputUrl and error: "INVALID_URL". Confirmed unavailable content produces the same two-field row with error: "PAGE_UNAVAILABLE". Other URLs continue to be processed. Successful results have no error field. Empty results, temporary connection problems, login requirements and rate limits do not by themselves mean the content is unavailable.

Error rows are free: they do not trigger a result-item charge or count toward resultsLimit. Successful results retain normal result-item charges. The existing initialization charge still applies. Supported inputs are X/Twitter post URLs such as https://x.com/username/status/123.

Example Output

[
{
"inputUrl": "https://x.com/FunFootballPod/status/1906833084554650018",
"replyId": "1906884256397189461",
"replyUrl": "https://x.com/TheyCallMeMrYu/status/1906884256397189461",
"replyText": "@FunFootballPod https://t.co/gz6yT4D4wl",
"inReplyTo": "1906833084554650018",
"postUrl": "https://x.com/FunFootballPod/status/1906833084554650018",
"postId": "1906833084554650018",
"timestamp": 1743471609000,
"conversationId": "1906833084554650018",
"media": [
{
"mediaUrlHttps": "https://pbs.twimg.com/tweet_video_thumb/GnadH35XkAAcY0z.jpg",
"type": "animated_gif",
"id": "1906884250827198464"
}
],
"author": {
"name": "โ€ผ๏ธ โ“‚๏ธโ„น๏ธ๐ฌ๐ญ๐Ÿ…ฐ ๐˜๐ฎโ€ผ๏ธ",
"screenName": "TheyCallMeMrYu",
"followersCount": 21960,
"favouritesCount": 67879,
"friendsCount": 22146,
"description": "๐ŸŽคPodcast Host of T3 (Thurs), Insp Station (M-W), BBL (Fri), One on One (M-F), His & Hers (4th Fri) #NYG #MICH #NYY #NYK ๐Ÿช™ #SportcoinCertified"
},
"replyCount": 1,
"quoteCount": 0,
"repostCount": 0,
"favouriteCount": 1,
"viewsCount": 15
},
{
"inputUrl": "https://x.com/example/status/123",
"error": "PAGE_UNAVAILABLE"
}
]
Let me know if you need additional output fields! ๐Ÿค™

Usage

  1. Create an Apify account and open the actor page.
  2. Enter input parameters in the Apify UI or via API.
  3. Run the actor and monitor its progress.
  4. Export replies as JSON, CSV, or Excel for analysis.

Limitations & Notes

  • Scraping X (Twitter) must comply with their Terms of Service.
  • Avoid overuse to prevent rate limiting or bans.
  • Data availability may depend on post visibility, account privacy, and X's structure.
  • Free users can process up to 5 post URLs per run and retrieve up to 100 replies per post URL.
  • Free users are rate-limited to a certain number of processed post URLs per day.
  • For higher usage limits, upgrade to a paid Apify plan. Contact us if you need custom limits!

Works Best With

For best results, use this actor together with X Posts Search or X Profile Posts Scraper.

First, find posts matching your criteria using X Posts Search, or collect posts from specific profiles using X Profile Posts Scraper. Then pass the postUrl values from their results into this X Post Replies Scraper's postUrls input to extract replies and enrich your dataset. โœ…

Best Use Case Flow

  • ๐Ÿ”Ž Run X Posts Search โ†’ Find relevant posts based on keywords or hashtags
  • ๐Ÿ‘ค Or run X Profile Posts Scraper โ†’ Find posts from specific profiles
  • ๐Ÿ“ฅ Feed postUrl values into X Post Replies Scraper's postUrls input โ†’ Get replies for each post
  • ๐Ÿ“Š Gain insights โ†’ Analyze engagement, sentiment, and conversation threads

This combination provides a powerful workflow for understanding discussions around specific topics or profiles on X. ๐Ÿš€

If you're working with multiple platforms or want additional data sources, check out these scrapers:

Support & Contact

โœ‰๏ธ Having issues or suggestions? Open an issue or contact us at scraper1one@gmail.com.