# X (Twitter) Followers & Following Scraper | $0.00625/1K (`xcrop/x-followers`) Actor

Export the followers and following of any X (Twitter) account: username, name, bio, followers, following, verified, location and join date for every row. $0.00625 per 1,000 rows, plus $0.0001125 per account for its full profile. No login or cookies. Cost is estimated before each account starts

- **URL**: https://apify.com/xcrop/x-followers.md
- **Developed by:** [XCROP](https://apify.com/xcrop) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.06 / 1,000 followers (10)

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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) Followers & Following Scraper

Export the **followers** and the **following** list of any X (Twitter) account. Paste one or more usernames or profile links and get one row per follower (or per followed account) with username, name, bio, followers, following, posts, verified badge, location, website and join date. Download the results as CSV, Excel or JSON. No X login, no cookies, no X developer account.

**$0.00625 per 1,000 followers or following rows**, plus **$0.0001125 per account** for its profile (every account is read first and comes with its full profile). The cost of each account's lists is estimated from its follower and following counters before anything is collected.

### Use cases

- **Audience research:** who follows a competitor, a creator or a brand, with each follower's own follower count, bio and location
- **Lead lists:** export the followers of a niche account and filter them by bio keywords, location or size
- **Influencer vetting:** check whether an account's followers look real (follower counts, join dates, default profiles)
- **Network mapping:** export who an account follows to see the people and projects it watches
- **Follower backups:** keep a dated copy of your own followers list

### How it works

1. Each account's profile is read first (one profile event): bio, followers count, following count, protected or not. It is read only if your budget covers the profile plus one block of rows.
2. The lists' cost is **estimated from those counters** before any list is collected (counter x row price, cut at your **Max items per list**).
3. The lists start only if your budget covers the **whole estimate** (your max cost per run, or the free monthly allowance). Otherwise the account gets its profile row with the estimate, and only the profile is charged.
4. Each chosen list is collected page by page to the end (or to **Max items per list**).
5. You pay only for the rows actually returned, in blocks of 10, rounded up per request (3 or 10 rows cost one block, 15 cost two). X does not list suspended and deactivated accounts, so the list is usually a little shorter than the counter and the charge a little lower than the estimate.
6. A list whose counter is 0 is not read. Protected accounts show their lists only to approved followers, so they are reported and their lists skipped (the profile is still delivered and charged).
7. An account that does not exist, or whose profile cannot be read, costs nothing.

### Input

| Field | What it does |
|---|---|
| `usernames` | X usernames (`nasa`, `@nasa`) or profile links (`https://x.com/nasa`); duplicates are read once |
| `mode` | `followers`, `following` or `both` |
| `maxItems` | optional cap per account and per list; empty = everything X serves |

### Output

One dataset, one row per item, with a `type` column:

- `follower` / `following`: `source_username` (whose list it came from), user id, username, name, followers, following, posts, listed, verified, verified type, protected, join date, location, bio, website, avatar, profile link
- `account`: one row per username you entered, written when it is done: `status`, `followers_count`, `following_count`, the estimate, `collected` (rows per list) and the account's full profile (name, bio, location, website, posts, likes, media, verified, join date, avatar, banner). Status: `collected`, `partial` (a list could not be finished), `stopped` (max cost or free allowance reached), `over_budget`, `no_rows` (counters are 0), `protected`, `not_found`, `unreadable`, `error`, `not_started` (the run stopped before it). `skipped_lists` names chosen lists whose counter was 0 (not read)

**Run summary** (`OUTPUT` record): rows collected per list, events charged and each account's status.

### Pricing

| Event | Price |
|---|---|
| Run start | $0.00005 per run (Apify standard start event) |
| Followers, per block of 10 | $0.0000625 ($0.00625 per 1,000), rounded up per request |
| Following, per block of 10 | $0.0000625 ($0.00625 per 1,000), rounded up per request |
| Profile | $0.0001125 per account read (every account that exists) |

- Example: 5,000 followers of one account cost 500 blocks = $0.03125, plus $0.0001125 for its profile.
- Every request is charged at least one block, as the data source bills a minimum per request; a list is fetched in pages of up to 1,000 rows, so rounding adds at most 9 rows per page.
- **Apify free plan:** 10,000 credits per month (a block of 10 rows is 10 credits, a profile 18), one run at a time. Accounts whose estimate does not fit are skipped before they start. Paid Apify plans have no monthly cap.

### FAQ

**How do I export Twitter followers to CSV or Excel?**
Enter the username, keep `mode` on `followers` and run. Every run saves a dataset that Apify exports as CSV, Excel, JSON and more from the run's Output tab or the API.

**Is this a Twitter followers scraper that works without an API key?**
Yes. You need no X account, no cookies and no X developer key. Public usernames are enough.

**Can I see who a Twitter account is following?**
Yes, set `mode` to `following` (or `both` for both lists in one run).

**Can I scrape the followers of several accounts at once?**
Yes. Add as many usernames as you like; each row says which account it came from (`source_username`).

**Why do I get fewer followers than the profile shows?**
X does not list suspended and deactivated accounts, so the list is usually a little shorter than the counter. You pay only for the rows returned.

**Can I get all followers of a very large account?**
The estimate for a large account is big (the full list of a 1M-follower account is about $6.25), so set `maxItems` to what you need or raise your max cost per run.

**What about private (protected) accounts?**
X shows their lists only to approved followers, so the account is reported as `protected` with its profile (one profile event) and its lists are not read.

**Is there a free tier?**
Apify free plan users get 10,000 credits a month (see Pricing), close to 10,000 follower rows.

### More X (Twitter) tools

- [X (Twitter) Retweeters & Replies Scraper](https://apify.com/xcrop/x-post-engagement): everyone who retweeted, replied to or quoted a post
- [X (Twitter) Giveaway Checker](https://apify.com/xcrop/x-interaction-check): check follows, retweets, replies, account age and more for a list of accounts

### Questions

A field you are missing, or a result that looks wrong: open an issue on this Actor.

# Actor input Schema

## `usernames` (type: `array`):

X usernames (nasa, @nasa) or profile links (x.com/nasa). Each account's profile is read first (one profile event, $0.0001125) and its lists are estimated from its counters before they start

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

Followers of each account, the accounts it follows, or both

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

Optional, per account and per list. Empty = everything X serves. Lowers the estimate and the cost

## Actor input object example

```json
{
  "usernames": [
    "nasa"
  ],
  "mode": "followers",
  "maxItems": 100
}
```

# Actor output Schema

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

One row per account you entered (status, counters, estimate, full profile) and one per follower or followed account

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

Rows collected per list, events charged, account statuses

# 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 = {
    "usernames": [
        "nasa"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("xcrop/x-followers").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 = {
    "usernames": ["nasa"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("xcrop/x-followers").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 '{
  "usernames": [
    "nasa"
  ],
  "maxItems": 100
}' |
apify call xcrop/x-followers --silent --output-dataset

```

## MCP server setup

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

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/UH8ycKOhbKnqRXbWp/builds/JR4qh3LQNarekednx/openapi.json
