X Replies Scraper avatar

X Replies Scraper

Pricing

from $0.05 / 1,000 reply delivereds

Go to Apify Store
X Replies Scraper

X Replies Scraper

Every reply on an X (Twitter) post, most visible first, with its author, likes, views and place in the reply tree, plus the post and its stats. No login or cookies. $0.05 per 1,000 replies on every plan; pay only for replies delivered. Also an MCP server for AI agents.

Pricing

from $0.05 / 1,000 reply delivereds

Rating

0.0

(0)

Developer

Comment Verdict

Comment Verdict

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissionsSingle-tenantServer interface

Share

X (Twitter) Tweet Replies & Posts Scraper

Every reply on an X (Twitter) post, most visible first, with its author, likes, views and place in the reply tree, plus the post itself and its stats. No login or cookies needed. $0.05 per 1,000 replies, the same on every Apify plan, and you pay only for the replies delivered.

What you get

  • The replies, in order of visibility. The thread is read page by page in X's own ranking, so if you cap a run you get the most-seen replies first, not one deep reply chain.
  • No account needed. You give post URLs; no X login, cookies or API key.
  • Clean data by default. Deleted and unavailable replies, emoji-only and link-only replies, and accounts named as bots are dropped, and you are not charged for them. Turn Clean replies off for the raw thread.
  • No silent truncation. Each post has a row saying how many replies it has, how many you got, and why any are missing.
  • Continue where you stopped. A post with more replies than your cap gets a nextCursor. Pass it back and you get the next batch only, never paying for the first one twice.

Examples

Ready-to-run examples, each with its input already filled in. Open one and press Try for free, then swap in your own post:

Input

FieldWhat it does
X postsPost URLs (https://x.com/<user>/status/<id>), twitter.com links or numeric post IDs. Up to 200 per run.
Max replies per postDefault 100, up to 10,000. A ceiling, not a minimum charge. 0 = the post only, with a cursor to fetch its replies later.
Reply orderBest (relevance), Top (most liked) or New (most recent).
Clean repliesOn by default (see above).
Only replies newer thanOptional. Re-run a post and get only what is new.
Continue from an earlier runPaste the NEXT_CURSORS record from an earlier run. Cursors last 7 days.

Example input: the 100 most relevant replies of one post, cleaned.

{
"posts": ["https://x.com/InternetH0F/status/2112758565593129390"],
"maxComments": 100,
"sort": "best",
"cleanComments": true
}

Output

Each run has two tables, linked from the run's Output tab:

  • Replies (the run's main dataset, and what Export downloads): one row per reply.
  • Posts: one row per post, with the post itself (author, text, stats, link) and how its delivery went.

Every row has type and schemaVersion.

Reply

{
"type": "comment",
"schemaVersion": 1,
"id": "2112759000000000000",
"postId": "2112758565593129390",
"parentId": "2112758565593129390",
"depth": 0,
"author": "example_user",
"body": "The reply text.",
"likeCount": 42,
"replyCount": 3,
"retweetCount": 1,
"quoteCount": 0,
"views": 10400,
"lang": "en",
"createdUtc": 1792555973,
"permalink": "https://x.com/i/status/2112759000000000000"
}

Replies keep the service's comment shape — body, parentId, depth — so the same downstream tools read Reddit comments and X replies the same way.

Post

{
"type": "post",
"schemaVersion": 1,
"id": "2112758565593129390",
"author": "InternetH0F",
"text": "The post text.",
"createdUtc": 1792555869,
"commentCount": 820,
"likeCount": 54000,
"retweetCount": 6100,
"quoteCount": 240,
"bookmarkCount": 1800,
"views": 4100000,
"lang": "en",
"permalink": "https://x.com/i/status/2112758565593129390",
"status": "ok",
"errorCode": null,
"commentsAvailable": 820,
"commentsReturned": 100,
"commentsDropped": 7,
"commentsNotShown": null,
"hasMore": true,
"nextCursor": "…"
}

status is ok (the thread was read to your cap or its end), partial (it stopped at the cap, the run budget or a read limit — nextCursor continues it), failed, not_found or cancelled. errorCode names why a post is not ok (for example READ_BUDGET, QUOTA_EXCEEDED, CANCELLED).

Use it from AI agents (MCP)

This Actor is also an MCP server, so Claude, Cursor, VS Code, ChatGPT or any other MCP client can call it directly. Add it to your client with your Apify API token:

{
"mcpServers": {
"x": {
"url": "https://mendi-ai-reply-pilot--x-replies-scraper.apify.actor/mcp",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
}
}
}
}

The transport is Streamable HTTP. There is nothing to install and nothing to start: the server wakes up on the first call.

ToolWhat it returnsUsual time
get_x_postOne post: text, author, time, language, reply, like, repost, quote and bookmark counts, views, link.about 10 s
get_x_repliesThe post and a batch of its replies, most visible first.10 to 40 s

get_x_replies takes:

ArgumentWhat it does
postThe post's URL (x.com or twitter.com), or the numeric post ID.
max_commentsReplies to return in this call: default 25, up to 100.
sortbest (default), top or new.
cleanOn by default, as in a run: cleaned-out replies are not charged.
sinceOnly replies newer than this: a date, an ISO time, Unix seconds, or a relative time such as 2 days.
cursorThe nextCursor of an earlier call, to get the next batch.
{
"post": "https://x.com/InternetH0F/status/2112758565593129390",
"max_comments": 25
}

The answer holds post, comments (the same rows as the tables above, without type and schemaVersion), commentsReturned, hasMore and nextCursor.

Reading a long thread. A call returns up to max_comments, or fewer when reading takes longer than about 40 seconds, so an agent is never left waiting. When hasMore is true, call again with the same post and the nextCursor: you get the next batch only, and nothing is returned or charged twice.

Same prices as a run. A call is charged one post event plus one event per reply returned; a call that fails is free. For whole threads of thousands of replies, or many posts at once, start a run instead: your agent can do that through Apify's own MCP server, https://mcp.apify.com?tools=mendi_ai_reply_pilot/x-replies-scraper.

Pricing

Pay per event, only for what is delivered. The prices are the same on every Apify plan, the free plan included:

EventPriceCharged when
Reply$0.00005 ($0.05 per 1,000)a reply is delivered. Cleaned-out, too-old and unavailable replies are free.
Post$0.00004a post is read for you (once per post per run, or per MCP tool call). A post that fails or no longer exists is free.

A post with 500 replies costs 500 × $0.00005 + $0.00004 = $0.02504. Set a maximum cost per run in the run options: the run stops cleanly when it is reached, and you keep everything delivered so far.

How it works

The Actor submits one job to our scraping service, pages the results into the run's dataset, and charges per delivered item. Threads are read at a steady, human pace, so a run is reliable rather than fast, and very long threads take a while. A run waits out a short service restart (about two minutes of retries) instead of failing.