Go to example tasks

Export X Reply JSON with Original Post Context

Get structured reply records plus the original X reply objects for a data workflow. This example saves up to 20 replies and includes the source post. Use the detailed result view, then export JSON to preserve the nested author and conversation data.

Try for free
X (Twitter) Replies Scraper — Comments & Authors
X (Twitter) Replies Scraper — Comments & Authorsarjun_code/x-twitter-replies-scraper
Status
Requested input
Source post ID
Source post URL
+22 fields
Text
Number
Boolean
List
Object

Input

X post IDs or URLs(required):https://x.com/SecScottBessent/status/2102804771727876490
Maximum replies per post:20
Include source post details:true
Include raw X reply object:true

Output fields

Status
Requested input
Source post ID
Source post URL
Message
Replies stored
Reply post ID
Reply URL
Reply text
Reply display text
Replied at (UTC)
Reply language
Reply client
Reply client URL
Conversation ID
Direct reply
Replying to
Reply author
Reply engagement
Reply possibly sensitive
Reply text entities
Reply media
Reply quotes another post
Quoted post
Source post details
Raw X reply with author

How it works

Sign up on Apify or log in

The X (Twitter) Replies Scraper — Comments & Authors Actor is ready to run with the inputs already set for "Export X Reply JSON with Original Post Context". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export X Reply JSON with Original Post Context" task

The X (Twitter) Replies Scraper — Comments & Authors Actor will start running based on the input automatically. You can also change all the input fields, like x post ids or urls, maximum replies per post, and more, to match your specific use case.

Receive the "Export X Reply JSON with Original Post Context" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, requested input, source post id, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Export X Reply JSON with Original Post Context" task via API.

Image

Integrate "Export X Reply JSON with Original Post Context" into your workflow

Connect "Export X Reply JSON with Original Post Context" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Developers who need both normalized reply fields and the original X response object. For simpler spreadsheet exports, use the standard reply example and leave Include raw X reply object off.

No. The raw reply object already contains its embedded reply-author data when X returns it. Include source post details adds the original post context separately.

Not necessarily. Deleted, private, hidden or otherwise unavailable replies may not be exposed. The export includes replies X currently returns, and does not guarantee the displayed total.

Each successfully saved reply incurs a reply-result fee, plus the Actor start fee. Empty, unavailable and diagnostic rows have no reply-result fee. Use the result limit and Maximum cost per run to control spending.