# X (Twitter) Retweeters Scraper (`khadinakbar/x-retweeters-scraper`) Actor

Scrape who retweeted any public X/Twitter post — retweeter username, display name, bio, followers, verification status. Provider-backed (SociaVault), cookieless, no login. MCP-ready.

- **URL**: https://apify.com/khadinakbar/x-retweeters-scraper.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Social media, Lead generation, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## X (Twitter) Retweeters Scraper

Scrape **who retweeted** any public X/Twitter post — username, display name, bio, follower count, verification status, location, and more. Give it one or more tweet URLs (or raw tweet IDs); get back a flat dataset of retweeter profiles, ready for lead gen, audience analysis, or influencer outreach.

- **No X login or API key required** — provider-backed via SociaVault, cookieless
- **Auto-pagination** — fetches up to 100 retweeters per request, auto-pages until your `maxRetweetersPerTweet` cap
- **MCP-ready** — works as a tool call for Claude, GPT, and any OpenAI-compatible agent

### What data do you get?

| Field | Description | Example |
|---|---|---|
| `tweet_id` | Source tweet numeric ID | `1895656695831191692` |
| `tweet_url` | Source tweet URL | `https://x.com/…/status/…` |
| `user_id` | Retweeter's numeric X ID | `229110314` |
| `username` | Handle (no @) | `johndoe` |
| `display_name` | Full display name | `John Doe` |
| `bio` | Profile bio text | `Growth hacker @ Acme` |
| `follower_count` | Number of followers | `12 400` |
| `following_count` | Accounts they follow | `853` |
| `tweet_count` | Total tweets posted | `4 200` |
| `like_count` | Total likes given | `31 000` |
| `is_blue_verified` | X Blue (paid) verification | `true` |
| `verified` | Legacy blue tick | `false` |
| `is_private` | Protected/private account | `false` |
| `location` | Self-reported location | `New York, NY` |
| `profile_image_url` | Full-size profile photo URL | `https://pbs.twimg.com/…` |
| `banner_url` | Profile banner URL | `https://pbs.twimg.com/…` |
| `created_at` | Account creation date | `Mon Jan 01 00:00:00 +0000 2020` |
| `profile_url` | Direct link to profile | `https://x.com/johndoe` |
| `scraped_at` | Scrape timestamp (ISO 8601) | `2026-08-19T12:34:56.789Z` |

### Use cases

- **Lead generation** — find people who engaged with a competitor's viral post
- **Influencer discovery** — who amplifies content in your niche
- **Audience research** — profile breakdown of a post's amplifiers
- **PR monitoring** — track who shares your brand announcements
- **B2B outreach** — identify decision-makers retweeting industry news

### Input

```json
{
  "tweetUrls": ["https://x.com/elonmusk/status/1895656695831191692"],
  "maxRetweetersPerTweet": 100
}
```

| Field | Type | Default | Description |
|---|---|---|---|
| `tweetUrls` | string\[] | — | Full X/Twitter post URLs |
| `tweetIds` | string\[] | — | Numeric tweet IDs (alternative to URLs) |
| `maxRetweetersPerTweet` | integer | 500 | Cap per tweet (1–10 000) |

Provide `tweetUrls` OR `tweetIds` — both work; duplicates are de-duped by ID.

### Pricing

**Pay per event + platform usage:**

| Event | Price |
|---|---|
| Actor start | $0.00005 |
| Retweeter found | $0.006 |

Typical costs: 100 retweeters = ~$0.60 + ~$0.05 platform usage ≈ **$0.65 total**.

### API / cURL example

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/khadinakbar~x-retweeters-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tweetUrls": ["https://x.com/elonmusk/status/1895656695831191692"],
    "maxRetweetersPerTweet": 50
  }'
```

### Agent prompt card (Claude / GPT)

> Use the `apify--x-retweeters-scraper` tool to get a list of users who retweeted a tweet.
> Input: `tweetUrls` (array of X post URLs), `maxRetweetersPerTweet` (integer, default 500).
> Output: one row per retweeter with username, follower count, bio, and profile URL.
> Charged $0.006 per retweeter returned.

### Limitations

- Returns **public retweeters only** — private/protected accounts are not surfaced by the provider
- Provider returns up to **100 retweeters per page**; pagination is automatic up to your cap
- X's API occasionally returns fewer retweeters than the true count for very large threads — this is a platform-side limit, not a bug
- Liker identities (not retweeters) are **not available** in public no-login data

### Related actors

- [x-tweet-scraper](https://apify.com/khadinakbar/x-tweet-scraper) — scrape tweets by search, hashtag, or user
- [twitter-profile-followers-scraper](https://apify.com/khadinakbar/twitter-profile-followers-scraper) — get followers/following of any X profile
- [x-community-members-scraper](https://apify.com/khadinakbar/x-community-members-scraper) — extract members of an X Community

### Legal disclaimer

This actor scrapes publicly available data from X (Twitter) in the same way a logged-out visitor would see it. Use only for lawful purposes and in compliance with [X's Terms of Service](https://x.com/en/tos) and applicable data-protection laws (GDPR, CCPA). Do not use to harass, spam, or build prohibited databases of personal data.

# Actor input Schema

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

One or more public X/Twitter post URLs to get retweeters for. Paste the full URL like https://x.com/elonmusk/status/1895656695831191692. Accepts twitter.com or x.com URLs. Use this OR Tweet IDs below — not both.

## `tweetIds` (type: `array`):

Numeric tweet IDs (10–19 digits) as an alternative to full URLs. Example: 1895656695831191692. Use this OR Tweet URLs above — not both. Useful for agent/API calls where you already have the raw ID.

## `maxRetweetersPerTweet` (type: `integer`):

Maximum number of retweeter profiles to return for each tweet. Each page from the provider returns up to 100 users. Default is 500. Set to a lower value to control cost; set higher (up to 10 000) for viral tweets.

## Actor input object example

```json
{
  "tweetUrls": [
    "https://x.com/NASA/status/1842633697437560908"
  ],
  "tweetIds": [
    "1895656695831191692"
  ],
  "maxRetweetersPerTweet": 500
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

No description

## `outputSummary` (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/NASA/status/1842633697437560908"
    ],
    "maxRetweetersPerTweet": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/x-retweeters-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/NASA/status/1842633697437560908"],
    "maxRetweetersPerTweet": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/x-retweeters-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/NASA/status/1842633697437560908"
  ],
  "maxRetweetersPerTweet": 500
}' |
apify call khadinakbar/x-retweeters-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,khadinakbar/x-retweeters-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/68k1cG7Je75YGK8Xc/builds/lS7qNCd41euf4habH/openapi.json
