Pricing
from $1.61 / 1,000 comments
Go to Apify Store
X / Twitter Comments Scraper
Scrape comments and replies from any X (Twitter) posts. Get comment text, author details, likes, replies, views, and timestamps - with full pagination support. No API keys required, fast and ready to scale.
Pricing
from $1.61 / 1,000 comments
Rating
5.0
(1)
Developer
Actor stats
1
Bookmarked
42
Total users
17
Monthly active users
a month ago
Last modified
Categories
Share
X (Twitter) Comment Scraper
Scrape comments and replies from public X (Twitter) posts. Get comment text, author details, likes, replies, views, and timestamps with full pagination support.
Input
| Field | Type | Description |
|---|---|---|
postUrls | array | X post URLs to scrape comments from |
maxCommentsPerPost | integer | Max comments per post (default: 30) |
Supported URL formats
https://x.com/username/status/IDhttps://twitter.com/username/status/IDhttps://x.com/i/status/ID
Example Input
{"postUrls":["https://x.com/IntCyberDigest/status/2051790347370373289","https://x.com/X/status/2043383260927918213","https://x.com/NatGeo/status/2052010494282682723"],"maxCommentsPerPost":30}
Output
Each comment returns a JSON object:
{"post_url":"https://x.com/username/status/1234567890","post_id":"1234567890","comment_id":"9876543210","text":"Comment text here...","created_at":"Mon May 05 10:00:00 +0000 2026","likes":42,"retweets":5,"replies":3,"quotes":1,"views":1200,"author_id":"123456789","author_username":"username","author_name":"Display Name","author_followers":5000,"author_verified":false}
Output fields
| Field | Description |
|---|---|
post_url | Source post URL |
post_id | Source post ID |
comment_id | Comment ID |
text | Full comment text |
created_at | Comment timestamp |
likes | Like count |
retweets | Retweet count |
replies | Reply count |
quotes | Quote count |
views | View count |
author_username | Author handle |
author_name | Author display name |
author_followers | Author follower count |
author_verified | X Premium (blue checkmark) |
Use Cases
- Sentiment Analysis β Understand audience reactions to posts
- Community Research β Analyse who engages with content
- Competitor Monitoring β Track engagement on competitor posts
- Influencer Vetting β Assess comment quality and authenticity
