# Export X Replies by Account and Date

**Use case:** 

Export replies an X account wrote within a UTC date range. The verified NASA example returned two replies for November 10 to 12, 2026, with author, date, text, and link. At the Free tier rate, two saved replies and one start event cost $0.00548. The sample allows up to 20 replies.

## Input

```json
{
  "screenNames": [
    "https://x.com/NASA"
  ],
  "userIds": [
    "11348282"
  ],
  "maxTweetsPerAccount": 20,
  "tweetType": "replies",
  "includeRetweets": false,
  "mediaType": "any",
  "startDate": "2026-11-10",
  "endDate": "2026-11-12"
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Message",
    "format": "string"
  },
  "created_at": {
    "label": "Posted at (UTC)",
    "format": "string"
  },
  "post_type": {
    "label": "Post type",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "author.username": {
    "label": "Username",
    "format": "text"
  },
  "tweet_url": {
    "label": "Tweet link",
    "format": "string"
  },
  "like_count": {
    "label": "Likes",
    "format": "integer"
  },
  "reply_count": {
    "label": "Replies",
    "format": "integer"
  },
  "retweet_count": {
    "label": "Reposts",
    "format": "integer"
  },
  "view_count": {
    "label": "Views",
    "format": "integer"
  }
}
```

## How it works

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

The X (Twitter) User Tweets & Replies Scraper Actor is ready to run with the inputs already set for "Export X Replies by Account and Date". [Sign up or log in](https://console.apify.com/create-task-from-example/6TDYfv3bba6L93WZL) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export X Replies by Account and Date" task

The X (Twitter) User Tweets & Replies Scraper Actor will start running based on the input automatically. You can also change all the input fields, like 👤 usernames or x profile links, 🆔 numeric x user ids, and more, to match your specific use case.

### 3. Receive the "Export X Replies by Account and Date" 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, message, posted at (utc), 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 X Replies by Account and Date" task via API](https://apify.com/arjun_code/x-twitter-user-tweets-scraper.md).

## FAQ

### Whose replies does this example collect?

It collects replies written by the selected account. For replies from other users under one specific tweet, use the separate X Replies & Comments Scraper.

### Are both dates included?

Yes. The first and last calendar days are included in UTC. To export a single day, use the same start and end date.

### How do I use a different numeric user ID?

Replace NASA's ID with the other account's numeric user ID. Enter it as a string in JSON. Adjust the dates to the period you want to review.

### How much does the sample cost?

The verified example returned two replies. At the current Free tier rate, two saved replies and one start event cost $0.00548. The task can save up to 20 replies.

## About this Actor

This example demonstrates how to use [X (Twitter) User Tweets & Replies Scraper](https://apify.com/arjun_code/x-twitter-user-tweets-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/arjun_code/x-twitter-user-tweets-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-user-tweets-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`).
