# Export All Visible Replies From an X Post

**Use case:** 

Export every unique visible reply X returns for a public post, including direct comments, nested replies, engagement, and author profiles. This example follows all available reply pages instead of stopping at a fixed result count.

## Input

```json
{
  "tweets": [
    "https://x.com/Quackity/status/2076058596291322290"
  ],
  "maxRepliesPerTweet": 0,
  "includeSourcePost": true,
  "includeRawReply": false
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "reply_display_text": {
    "label": "Reply display text",
    "format": "string"
  },
  "author_profile_image_url": {
    "label": "Author avatar",
    "format": "string"
  },
  "author_username": {
    "label": "Author username",
    "format": "string"
  },
  "author_name": {
    "label": "Author name",
    "format": "string"
  },
  "reply_created_at": {
    "label": "Replied at (UTC)",
    "format": "string"
  },
  "reply_language": {
    "label": "Reply language",
    "format": "string"
  },
  "is_direct_reply": {
    "label": "Direct reply",
    "format": "boolean"
  },
  "reply_is_quote": {
    "label": "Reply quotes another post",
    "format": "boolean"
  },
  "reply_quoted_tweet_text": {
    "label": "Quoted post text",
    "format": "string"
  },
  "reply_quoted_author_username": {
    "label": "Quoted post author username",
    "format": "string"
  },
  "reply_like_count": {
    "label": "Reply likes",
    "format": "integer"
  },
  "reply_reply_count": {
    "label": "Reply replies",
    "format": "integer"
  },
  "reply_retweet_count": {
    "label": "Reply retweets",
    "format": "integer"
  },
  "reply_view_count": {
    "label": "Reply views",
    "format": "integer"
  },
  "author_followers_count": {
    "label": "Author followers",
    "format": "integer"
  },
  "author_following_count": {
    "label": "Author following",
    "format": "integer"
  },
  "author_verified": {
    "label": "Author verified",
    "format": "boolean"
  },
  "author_blue_verified": {
    "label": "Author blue verified",
    "format": "boolean"
  },
  "author_account_label": {
    "label": "Author account label",
    "format": "string"
  },
  "author_professional_categories": {
    "label": "Author professional categories",
    "format": "array"
  },
  "author_affiliation_name": {
    "label": "Author affiliation",
    "format": "string"
  },
  "reply_to_username": {
    "label": "Replied-to username",
    "format": "string"
  },
  "reply_to_name": {
    "label": "Replied-to name",
    "format": "string"
  },
  "reply_tweet_id": {
    "label": "Reply post ID",
    "format": "string"
  },
  "source_tweet_id": {
    "label": "Source post ID",
    "format": "string"
  },
  "reply_tweet_url": {
    "label": "Reply URL",
    "format": "string"
  },
  "author_profile_url": {
    "label": "Author profile",
    "format": "string"
  },
  "source_tweet_url": {
    "label": "Source post URL",
    "format": "string"
  },
  "message": {
    "label": "Message",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The X (Twitter) Replies Scraper — Thread Context Actor is ready to run with the inputs already set for "Export All Visible Replies From an X Post". [Sign up or log in](https://console.apify.com/create-task-from-example/4MncqfWwXyz2tv9Eo) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export All Visible Replies From an X Post" task

The X (Twitter) Replies Scraper — Thread Context 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.

### 3. Receive the "Export All Visible Replies From an X Post" 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, reply display text, author avatar, and more.

### 4. 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 All Visible Replies From an X Post" task via API](https://apify.com/arjun_code/x-twitter-replies-scraper.md).

## About this Actor

This example demonstrates how to use [X (Twitter) Replies Scraper — Thread Context](https://apify.com/arjun_code/x-twitter-replies-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/arjun_code/x-twitter-replies-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/arjun_code/x-twitter-replies-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
