# Twitter Engagement Scraper - X Retweets & Quotes | $0.10/1K (`kaitoeasyapi/twitter-engagement-scraper`) Actor

Twitter Engagement Scraper & X.com Retweets API — From $0.10/1K ($0.10/1K Gold+, $0.14/1K Free–Silver · $0 Platform Compute Fee). Extract tweet retweeters, quote tweets, replies & engagement metrics in one unified JSON schema.

- **URL**: https://apify.com/kaitoeasyapi/twitter-engagement-scraper.md
- **Developed by:** [Kaito T](https://apify.com/kaitoeasyapi) (community)
- **Categories:** Social media, Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 x (twitter) engagement records

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/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 (Twitter) Engagement Scraper | From $0.10/1K

> **From $0.10/1K ($0.10/1K Gold+, $0.14/1K Free–Silver · $0 Platform Compute Fee · Free-Plan Live Access)** — Analyze **who amplified and interacted with any X (Twitter) post** in a single unified run: extract **retweeters, quote tweets, and replies** normalized into one schema with `engagementType` tagging, engager follower reach, and computed **post-level engagement rate** (`ENGAGEMENT_SUMMARY`).

### Why Use X (Twitter) Engagement Scraper?

- **Three Engagement Signals in One Run (`mode: "all"`)**: Instead of stitching together three separate exports, collect **retweeters**, **quote tweets**, and **replies** together—or isolate a single signal (`retweeters`, `quotes`, `replies`) with one toggle.
- **High-Value Amplifier Discovery**: Set `minEngagerFollowers` (for example `5000`) to immediately surface influential accounts, investors, or creators who retweeted, quoted, or replied to a launch post.
- **Post-Level Engagement Rate & KPI Summary**: Automatically computes `totalEngagements` and `engagementRatePct` (`(likes + retweets + replies + quotes + bookmarks) / views * 100`) and saves a structured breakdown in Key-Value Store (`ENGAGEMENT_SUMMARY`) alongside every item's `sourceTweetMetrics`.
- **Zero Compute Surcharge**: Pay strictly per delivered engagement record—filtered accounts, empty runs, and duplicate items bill **$0.00**.

### Transparent Pay-Per-Result Pricing

| Apify Plan Tier | Price per 1,000 Engagement Records | Platform Compute / Start Fees |
| :--- | :--- | :--- |
| **Free / Starter / Bronze / Silver** | **$0.14 / 1K** | **$0 (Included)** |
| **Gold / Platinum / Diamond** | **$0.10 / 1K** | **$0 (Included)** |

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `tweetUrls` | `array` | `["https://x.com/OpenAI/status/2125635627341561995"]` | Public X/Twitter post URLs or numeric tweet IDs. |
| `mode` | `string` | `"all"` | Which engagement signals to collect: `all`, `retweeters`, `quotes`, or `replies`. |
| `maxItems` | `integer` | `60` | Maximum total engagement records to deliver across selected modes (`1–50,000`). |
| `maxPerType` | `integer` | `0` | Optional cap per engagement type when `mode` is `"all"` (`0` auto-splits `maxItems` evenly). |
| `minEngagerFollowers` | `integer` | `0` | Keep only engagers with at least this many followers (`0` = all engagers). |
| `includeTweetSummary` | `boolean` | `true` | Attach `sourceTweetMetrics` to each item and write a full rollup to `ENGAGEMENT_SUMMARY`. |

#### Quick-Start Input Example

```json
{
  "tweetUrls": [
    "https://x.com/OpenAI/status/2125635627341561995"
  ],
  "mode": "all",
  "maxItems": 60,
  "maxPerType": 20,
  "minEngagerFollowers": 0,
  "includeTweetSummary": true
}
```

### Output Fields

- **Signal Tagging**: `engagementType` (`"retweeter"` | `"quote"` | `"reply"`), `engagementId`, `engagementUrl`, `engagementText`, `engagementCreatedAt`, `engagementLikes`, `engagementViews`
- **Engager Reach**: `engagerHandle`, `engagerFollowers`, plus nested `engager` object (`userId`, `userName`, `name`, `profileUrl`, `followers`, `following`, `isVerified`, `isBlueVerified`, `location`, `description`, `canDm`, `profilePicture`)
- **Post-Level Summary (`sourceTweetMetrics` & `ENGAGEMENT_SUMMARY`)**: `likeCount`, `retweetCount`, `replyCount`, `quoteCount`, `bookmarkCount`, `viewCount`, `totalEngagements`, `engagementRatePct`

### Ideal Workflows

- **Viral Launch & PR Attribution**: Quantify total amplifier reach and identify every creator or journalist who quoted or retweeted an announcement.
- **Competitor Campaign Teardown**: Benchmark engagement rate and warm prospect lists from competitor announcements.
- **Giveaway & Ambassador Tracking**: Verify retweeters and quote-tweeters in one export ready for CSV, JSON, Excel, or CRM sync.

### Complete X (Twitter) Suite — All From $0.10/1K

| Actor on Apify Store | Primary Use Case |
| :--- | :--- |
| [**Tweet Scraper (Enterprise 40+ Filters)**](https://apify.com/kaitoeasyapi/twitter-x-data-tweet-scraper-pay-per-result-cheapest) | Full historical & real-time X search with 40+ query filters |
| [**Twitter Scraper (Fast Lite)**](https://apify.com/kaitoeasyapi/twitter-scraper) | Streamlined 1-click tweet search by keywords, handles, or URLs |
| [**Twitter Follower Scraper**](https://apify.com/kaitoeasyapi/premium-x-follower-scraper-following-data) | Bulk followers & following graphs for any public X account |
| [**X (Twitter) Replies Scraper**](https://apify.com/kaitoeasyapi/twitter-replies-scraper) | Full reply threads, nested reply depth & author metadata |
| [**X (Twitter) Profile Scraper**](https://apify.com/kaitoeasyapi/twitter-profile-scraper) | Full user profiles, computed metrics & optional recent posts |
| [**X (Twitter) User Search Scraper**](https://apify.com/kaitoeasyapi/twitter-user-search-scraper) | Discover X accounts by keyword, niche, role, location & filters |
| [**X (Twitter) Engagement Scraper**](https://apify.com/kaitoeasyapi/twitter-engagement-scraper) | Unified retweeters, quote tweets, replies & post engagement stats |

# Actor input Schema

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

One or more public X/Twitter post URLs (e.g. https://x.com/OpenAI/status/2125635627341561995) or numeric tweet IDs.

## `mode` (type: `string`):

Extract all three engagement signals together (all) or focus exclusively on retweeters, quotes, or replies.

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

Maximum total engagement records to deliver across selected modes and tweets (default 60).

## `maxPerType` (type: `integer`):

Optional per-type cap when mode is "all" (e.g. set 20 to collect up to 20 retweeters + 20 quotes + 20 replies). 0 splits maxItems evenly.

## `minEngagerFollowers` (type: `integer`):

Filter out engagers below this follower count to spotlight high-reach amplifiers and influencers (0 returns all engagers).

## `includeTweetSummary` (type: `boolean`):

Attach sourceTweetMetrics (likes, retweets, quotes, replies, views, bookmarks, engagementRatePct) to each record and save a full summary in Key-Value Store (ENGAGEMENT_SUMMARY).

## Actor input object example

```json
{
  "tweetUrls": [
    "https://x.com/OpenAI/status/2125635627341561995"
  ],
  "mode": "all",
  "maxItems": 60,
  "maxPerType": 0,
  "minEngagerFollowers": 0,
  "includeTweetSummary": true
}
```

# Actor output Schema

## `results` (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/OpenAI/status/2125635627341561995"
    ],
    "mode": "all",
    "maxItems": 60,
    "includeTweetSummary": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("kaitoeasyapi/twitter-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/OpenAI/status/2125635627341561995"],
    "mode": "all",
    "maxItems": 60,
    "includeTweetSummary": True,
}

# Run the Actor and wait for it to finish
run = client.actor("kaitoeasyapi/twitter-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/OpenAI/status/2125635627341561995"
  ],
  "mode": "all",
  "maxItems": 60,
  "includeTweetSummary": true
}' |
apify call kaitoeasyapi/twitter-engagement-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kaitoeasyapi/twitter-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/wa4XW9qyTBtQcaOd6/builds/mdqbsJfpe6OHjzbK8/openapi.json
