# X / Twitter Followers & Following Extractor (PPR $0.08/1K) (`fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k`) Actor

The most cost-effective way to scrape Twitter followers and followings. Bypass rate limits effortlessly. Perfect for lead generation and network analysis. Only $0.08 per 1k results. Pay only for what you get!

- **URL**: https://apify.com/fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k.md
- **Developed by:** [fastcrawler](https://apify.com/fastcrawler) (community)
- **Categories:** Social media
- **Stats:** 277 total users, 18 monthly users, 97.0% runs succeeded, 7 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $0.08 / 1,000 followers

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/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 Followers & Following & Verified\_Followers Scraper

The most cost-effective and lightning-fast tool for extracting following data from any Twitter (X) user. Bypass rate limits effortlessly and pay only for the successful results you get (PPR).

### 🌟 Why choose this scraper?

Say goodbye to manual data gathering. Whether you are conducting research, analyzing competitors, or generating marketing leads, this high-performance scraper delivers speed and precision.

- **⚡ Fast & Reliable:** Built for speed, allowing you to extract large lists without interruption.
- **💰 Pay Per Result (PPR):** Highly affordable. You only pay for the data you successfully extract.
- **📊 Rich Data Points:** Automatically fetches detailed profile information including names, follower/following counts, bios, account creation dates, and recent tweet activity.
- **🗂️ Export Ready:** Seamlessly download your structured data in JSON, CSV, Excel, or HTML formats.

### 🎯 Ideal Use Cases

- **Market Research:** Analyze the network and interests of specific KOLs or target demographics.
- **Lead Generation:** Build targeted lists by extracting the followings of industry leaders.
- **Competitor Analysis:** Discover who your competitors are connecting with and following.

***

### 🛠️ Input Parameters

The tool is incredibly easy to set up. Just provide the target profile URL.

| Field | Type | Description |
| :--- | :--- | :--- |
| `profileUrl` | `String` | The target Twitter (X) profile URL. Example: `https://x.com/elonmusk` or `https://x.com/elonmusk/following` |
| `type` | `String` | List type: following OR followers OR Verified\_Followers |
| `maxItems` | `Integer` | Maximum number of results you want to scrape. |

***

### 📄 Output Example

The scraper returns clean, structured JSON data for each followed account, ready for API integration or database import:

```json
{
  "userId": "1704125562095308801",
  "isBlueVerified": false,
  "following": false,
  "canDm": false,
  "canMediaTag": true,
  "createdAt": "Tue Sep 19 13:29:44 +0000 2023",
  "defaultProfile": true,
  "defaultProfileImage": false,
  "description": "The RWA world's first ecosystem utilizing the latest web3 technology to launch fractional assets on the blockchain.\n\nLinktree: [https://t.co/n7YXJyiswV](https://t.co/n7YXJyiswV)",
  "fastFollowersCount": 0,
  "favouritesCount": 2041,
  "followersCount": 220072,
  "friendCount": 128,
  "hasCustomTimelines": false,
  "isTranslator": false,
  "listedCount": 64,
  "location": "Denmark",
  "mediaCount": 194,
  "name": "RWA Inc.",
  "normalFollowersCount": 220072,
  "pinnedTweetIdsStr": [
    "1846189771795710099"
  ],
  "possiblySensitive": false,
  "profileImageUrlHttps": "[https://pbs.twimg.com/profile_images/1842944897457803264/1dG0DWTn_normal.png](https://pbs.twimg.com/profile_images/1842944897457803264/1dG0DWTn_normal.png)",
  "profileInterstitialType": "",
  "username": "RWA_Inc_",
  "statusesCount": 443,
  "translatorType": "none",
  "verified": false,
  "wantRetweets": false,
  "withheldInCountries": []
}

```

***

### 💸 Cost Analysis

We offer an unbeatable Pay-Per-Result pricing model.

***

### 💡 Related Scrapers

Maximize your data extraction with our specialized suite of Twitter tools:

- [Twitter (X) Reply & Comment Scraper (Sentiment Analyzer)](https://apify.com/fastcrawler/twitter-x-reply-comment-scraper-support-sentiment-tone-analyzer)
- [Twitter Cashtag Scraper (Stock & Crypto Sentiment)](https://apify.com/fastcrawler/twitter-cashtag-scraper-stock-crypto-sentiment-analysis)
- [Stock & Crypto KOL Tracker (Top Influencers)](https://apify.com/fastcrawler/stock-crypto-kol-tracker-discover-top-twitter-influencers)
- [Explore all fastcrawler scrapers](https://apify.com/fastcrawler)

***

### 📞 Support & Feature Requests

Looking for customized solutions or real-time monitoring? I am open to custom feature requests, including:

- Second-level tweet monitoring
- Real-time username change tracking
- Real-time follow activity alerts

Feel free to reach out for support or custom development:
📧 **Email:** fastcrawler9@gmail.com
💬 **Telegram:** [Join our TG group](https://t.me/+MUMR3PKOoVVjNzE9)
👾 **Discord:** [Join our Server](https://discord.gg/s4jyupzaWu)

# Actor input Schema

## `profileUrl` (type: `string`):

The profileUrl of twitter you want to get the data from. eg: https://x.com/elonmusk or https://x.com/elonmusk/following

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

List type

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

Maximum number of items that you want as output.

## Actor input object example

```json
{
  "profileUrl": "https://x.com/elonmusk",
  "type": "Following",
  "maxItems": 200
}
```

# 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 = {
    "profileUrl": "https://x.com/elonmusk",
    "type": "Following"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k").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 = {
    "profileUrl": "https://x.com/elonmusk",
    "type": "Following",
}

# Run the Actor and wait for it to finish
run = client.actor("fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k").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 '{
  "profileUrl": "https://x.com/elonmusk",
  "type": "Following"
}' |
apify call fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastcrawler/x-twitter-followers-following-extractor-ppr-0-08-1k"
        }
    }
}

```

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/4hDLdHfNzjgnztFn2/builds/yuiXJ3YQ5pTnWhbot/openapi.json
