# X Retweeters Scraper (`coregent/x-engagement-scraper`) Actor

Scrape who reposted public X (Twitter) posts: retweeter usernames, names, followers, following and bios, one row per retweeter. No login, no cookies. Pay only for retweeters saved.

- **URL**: https://apify.com/coregent/x-engagement-scraper.md
- **Developed by:** [Delowar Munna](https://apify.com/coregent) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 retweeter results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## X Retweeters Scraper — Who Reposted a Post

![X Retweeters Scraper](https://raw.githubusercontent.com/coregentdevspace/x-engagement-scraper-assets/main/thumbnail-x-engagement-scraper.png)

See **who reposted any public X (Twitter) post**. You get one clean row per retweeter: username, display name, user ID, profile link, followers, following and bio, plus the post they reposted. Paste post URLs or IDs, set a limit, and export the rows to JSON, CSV or Excel.

No X login, no cookies, no browser and no proxy setup. You pay only for retweeters saved to your dataset.

### ✨ What it does

- 🔁 **Retweeters of any public post**: username, display name, user ID, profile URL, followers, following and bio.
- 📋 **One post or a hundred**: x.com, twitter.com, mobile and `/i/status/` links all work, and so do bare numeric post IDs. Duplicates are fetched once.
- ⚖️ **A global limit that means what it says**: **Maximum results** caps the whole run across all posts. Posts take turns, so one viral post can't use up the run.
- 🎯 **Follower filter**: keep only retweeters above a follower count, for influencer and audience research.
- ♻️ **Repeat runs without paying twice**: list retweeters you already have (IDs, @handles or profile URLs) and they're skipped and never charged.
- 🧾 **A run summary you can trust**: the `RUN_SUMMARY` record shows how many rows were seen, saved, deduplicated, filtered and charged, how each post went, and why the run stopped.

Quote tweets are temporarily unavailable: the data source behind them isn't reliable enough yet. They'll come back as an option in this Actor. Replies aren't reposts; for those, use an X comments scraper.

### 🚀 Quick start

1. Paste one or more X post URLs into **Post URLs or IDs**.
2. Set **Maximum results** (default 10).
3. Click **Start**. Rows appear in the dataset as they're collected.

Run it with the defaults and you get 10 retweeters of the example post.

#### Example inputs

Retweeters of two posts, 10 each. This is the input behind the output preview below:

```json
{
    "tweetUrls": [
        "https://x.com/elonmusk/status/1808168603721650364",
        "https://x.com/elonmusk/status/1585841080431321088"
    ],
    "maxItems": 20
}
```

Retweeters with at least 1,000 followers, skipping accounts you already have:

```json
{
    "tweetUrls": ["https://x.com/elonmusk/status/1808168603721650364"],
    "maxItems": 200,
    "minFollowers": 1000,
    "excludeUserIds": ["@nasa", "11348282"]
}
```

### 📥 Input

| Field | What it does |
|---|---|
| `tweetUrls` | X post URLs or numeric post IDs (up to 100). |
| `maxItems` | Maximum saved retweeters for the whole run (default 10). Never multiplied by the number of posts. |
| `minFollowers` | Only retweeters with at least this many followers. Retweeters whose follower count X didn't return are kept. |
| `excludeUserIds` | Retweeters to skip: user IDs, @handles or profile URLs. Never charged. |
| `maxPagesPerTweet` | Safety limit on pages read per post (about 16–20 accounts a page; default 10). |
| `maxUpstreamCalls` | Safety limit on data-provider requests per run. 0 = set automatically. |
| `failOnPartial` | Mark the run as failed when a post couldn't be read in full. Saved rows are kept. |
| `debug` | Saves the provider's first raw response per post to the key-value store, for troubleshooting. |

### 📤 Output

One row per retweeter. Unknown values are `null`, never guessed.

#### Output preview

**Overview**

![Overview tab](https://raw.githubusercontent.com/coregentdevspace/x-engagement-scraper-assets/main/x-engagement-scraper-output-overview-table-view.png)

**Audience**

![Audience tab](https://raw.githubusercontent.com/coregentdevspace/x-engagement-scraper-assets/main/x-engagement-scraper-output-audience-table-view.png)

#### Example record

A real row from the run behind the preview:

```json
{
    "_type": "engagement",
    "engagementId": "retweet:1585841080431321088:46126090",
    "engagementType": "retweet",
    "sourceTweetId": "1585841080431321088",
    "sourceTweetUrl": "https://x.com/elonmusk/status/1585841080431321088",
    "sourceTweetAuthorUsername": "elonmusk",
    "engagerUserId": "46126090",
    "engagerUsername": "tschmigiel",
    "engagerName": "Tess Schmigiel",
    "engagerProfileUrl": "https://x.com/tschmigiel",
    "engagerFollowers": 2394,
    "engagerFollowing": 4041,
    "engagerDescription": "NO DMs. Sewing, reading, gardening, scrapbooking, painting and all crafts!",
    "sourceInput": "https://x.com/elonmusk/status/1585841080431321088",
    "inputIndex": 1,
    "sourceProvider": "tikhub",
    "collectedAt": "2026-11-23T04:05:25.123Z",
    "scrapedAt": "2026-11-23T04:05:25.124Z",
    "runId": "lYggfk1fGCn1rYfXk",
    "schemaVersion": "1.0"
}
```

#### Fields

| Field | Description |
|---|---|
| `engagementId` | Stable identity `retweet:<post>:<user>`. Use it to deduplicate across runs. |
| `engagementType` | Always `retweet` for now. Kept so the output stays the same when quote tweets return. |
| `sourceTweetId`, `sourceTweetUrl`, `sourceTweetAuthorUsername` | The post that was reposted. The author comes from the URL you gave; it's `null` for a bare post ID. |
| `engagerUserId`, `engagerUsername`, `engagerName`, `engagerProfileUrl` | Who reposted. |
| `engagerFollowers`, `engagerFollowing` | Audience size. |
| `engagerDescription` | The account's bio; `null` when it's empty. |
| `sourceInput`, `inputIndex` | The entry you gave and its position in your list. |
| `sourceProvider`, `collectedAt`, `scrapedAt`, `runId`, `schemaVersion` | Lineage. |

X's repost list doesn't include a verified badge, location, join date or avatar, so those aren't in the output.

#### Dataset views

- **Overview**: retweeter, name, followers, following, bio and links.
- **Audience**: retweeter, followers, following, user ID and links, for sorting by reach.

### 💰 Pricing

Pay per result: one `engagement-result` event for each unique retweeter saved to your dataset (one account reposting one post). You're **not** charged for duplicates, rows dropped by your filter or skip list, posts that fail, or the run summary. A run that finds nothing costs nothing in events.

Your Apify **maximum cost per run** is respected: the run stops cleanly when it's reached.

See the **Pricing** tab for current rates. This README deliberately doesn't quote figures, so it can't go out of date.

### 📏 Coverage and limits

- **Public posts only.** Protected or deleted posts return nothing, and the run summary says so.
- **Retweeter lists come from X.** X doesn't guarantee it shows every reposter of a large post, so very long lists can end early. The run summary marks coverage as `unknown`, never `complete`.
- **No repost dates.** X doesn't expose when an account reposted.
- **Likes are private on X**, so this Actor doesn't list who liked a post.

### 🗓️ Schedule and API

Run it on a schedule to track who picks up your posts, and pass the retweeters you already have in `excludeUserIds` so repeat runs only charge for new ones.

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('coregent/x-engagement-scraper').call({
    tweetUrls: ['https://x.com/elonmusk/status/1808168603721650364'],
    maxItems: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Rows export as JSON, CSV, Excel or XML, and work with Make, n8n, Zapier and other integrations.

### 🛟 Troubleshooting

| What you see | What to do |
|---|---|
| A post returns nothing | Check that the post is public, still online and has reposts. Protected and deleted posts can't be read. |
| The run stopped early | `RUN_SUMMARY.stopReason` says why: your result limit, your maximum cost per run, the page or request limit, or the run's timeout. |
| Follower filter kept accounts with no follower count | That's on purpose. An unknown count isn't treated as zero. |

### ⚖️ Privacy and disclaimer

This is an independent tool by Coregent. It isn't affiliated with, sponsored by or endorsed by X Corp. X and Twitter names are used only to identify the data source. It collects only publicly available information and never asks for an X password, cookies or session data. Use the data lawfully, follow applicable privacy laws and X's terms, and don't use it for harassment, spam or surveillance. Public availability isn't permission for unrestricted reuse.

### 💬 Support

Found a problem or need a field? Open an issue on the Actor's **Issues** tab. Include the run ID so we can look at the run summary.

# Actor input Schema

## `tweetUrls` (type: `array`):

Public X (Twitter) posts whose reposters you want, one per entry: a URL like <code>https://x.com/nasa/status/1234567890123456789</code> or the numeric post ID. twitter.com, mobile and /i/status/ links work too. Duplicates are fetched once.

## `maxItems` (type: `integer`):

Stops the whole run after this many saved retweeters, across all posts. Posts take turns, so one big post can't use up the whole limit.

## `minFollowers` (type: `integer`):

Only retweeters with at least this many followers. Retweeters whose follower count X didn't return are kept. 0 = no minimum.

## `excludeUserIds` (type: `array`):

User IDs, @handles or profile URLs you already have. They are left out and never charged, so a repeat run only returns new retweeters.

## `maxPagesPerTweet` (type: `integer`):

Stops reading a post's retweeters after this many pages from the data provider (about 16–20 accounts each). A safety limit for very large posts.

## `maxUpstreamCalls` (type: `integer`):

Stops the run after this many requests to the data provider. 0 = set automatically from Maximum results (never more than 3,000).

## `failOnPartial` (type: `boolean`):

Mark the run as failed when any post couldn't be read in full (an error or the page limit). Saved rows are kept either way. Off by default: the run succeeds and RUN_SUMMARY says what was incomplete.

## `debug` (type: `boolean`):

Saves the data provider's first raw response for each post to the run's key-value store (DEBUG_RAW_PAGE\_\<post ID>\_retweet). For troubleshooting only.

## Actor input object example

```json
{
  "tweetUrls": [
    "https://x.com/elonmusk/status/1808168603721650364"
  ],
  "maxItems": 10,
  "minFollowers": 0,
  "excludeUserIds": [],
  "maxPagesPerTweet": 10,
  "maxUpstreamCalls": 0,
  "failOnPartial": false,
  "debug": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tweetUrls": [
        "https://x.com/elonmusk/status/1808168603721650364"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("coregent/x-engagement-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tweetUrls": ["https://x.com/elonmusk/status/1808168603721650364"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("coregent/x-engagement-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tweetUrls": [
    "https://x.com/elonmusk/status/1808168603721650364"
  ],
  "maxItems": 10
}' |
apify call coregent/x-engagement-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coregent/x-engagement-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yyyzrOItUZfNebjdr/builds/mNEcWZSQl0a6tEXhz/openapi.json
