Twitter (X) Tweet Replies & Conversation Scraper avatar

Twitter (X) Tweet Replies & Conversation Scraper

Pricing

from $0.20 / 1,000 results

Go to Apify Store
Twitter (X) Tweet Replies & Conversation Scraper

Twitter (X) Tweet Replies & Conversation Scraper

Collect public replies and nested conversation responses from tweet IDs or URLs. Combines native threads and conversation search with unique tweet IDs, full text, authors, engagement and media.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Dev

Dev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public replies and nested conversation responses from tweet IDs or URLs. Combines native threads and conversation search with unique tweet IDs, full text, authors, engagement and media.

What this Actor collects

Collect replies using native thread pages plus Latest and Top conversation search. The original tweet is excluded. Supply a conversation-root tweet for nested replies; conversation membership is checked locally. directRepliesOnly restricts results to direct children of that root.

Quick start

Enter inputs, start with a small maxItems, and run. No customer X cookies are required. Export the default dataset as JSON, CSV, Excel or JSONL, or use the Apify API.

{
"tweetIds": [
"2107237881668313108"
],
"maxItems": 100,
"maxItemsPerSource": 100
}

Limits and deduplication

maxItems is the total unique output ceiling, not a per-source allowance. maxItemsPerSource caps each input and defaults to maxItems. maxDurationSeconds defaults to 300 and cannot exceed 600. Account rate limits, spending limits and X visibility may yield fewer results. Startup has bounded retries; very short deadlines may elapse during initialization.

IDs are strings. No duplicate IDs are emitted within a run; migration recovery reconciles existing writes. If several inputs discover the same record, the first source gets attribution. This is a unique-profile/result export, not an exhaustive relationship-edge export.

Output schema

Rows are normalized tweets with id, url, text/fullText, createdAt, author, engagement metrics, entities, media and conversation relationships. Every row includes sourceInput, sourceType and searchTerm. searchTerm is the query for user search, otherwise an empty string.

canDm reads dm_permissions.can_dm or legacy.can_dm: true/false when reported, null when unknown. Permission can depend on the authenticated X account; it is not a global guarantee that anyone may DM that profile.

The Output tab links to results and COVERAGE. COVERAGE lists source/strategy pages, limits, failures, repeated cursors and the exact stop reason. Dataset and output schemas are included for Store publishing.

Coverage and responsible use

X may withhold protected, deleted, blocked, suspended or unindexed content, or shorten lists despite larger public counters. An empty result is not a completeness guarantee. This Actor does not bypass access controls. Follow applicable terms and privacy obligations.

API

After deployment, POST JSON input to https://api.apify.com/v2/acts/

Operator setup

Not yet published; no price or Store publication is configured. Each new Actor requires secret X_ACCOUNTS and proxy environment configuration. Credentials never belong in input forms, source, datasets or logs. Arbitrary JavaScript mapping is not supported.

Prepare a clean build directory:

node scripts/prepare-actor.mjs replies

Build from .artifacts/actors/replies. Staging never deploys or publishes. Memory is fixed at 1024 MB. Pure HTTP with compressed responses and account-aware rate limits; no browser or third-party data API.