# X (Twitter) Followers & Following Scraper: Bios & Emails (`memo23/x-twitter-followers-scraper`) Actor

Export the followers or the accounts followed of any public X (Twitter) account: handle, name, bio, email from the bio, location, follower and following counts, join date, verified. Filter by follower count, bio words, location or email. No login.

- **URL**: https://apify.com/memo23/x-twitter-followers-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 7 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 accounts

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/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 (Twitter) Followers & Following Scraper: Bios & Emails

Export the **followers**, or the **accounts followed**, of any public X (Twitter) account without logging in. Every row gives the account's **handle, name, profile link, bio, the email written in the bio, location, follower and following counts, post count, join date and verified badge**, and which account it was found under. Filter by follower count, bio words, location or email, and pay only for the accounts you keep. **$0.10 per 1,000 accounts.**

```json
{
  "handles": ["apify", "https://x.com/nasa"],
  "getFollowers": true,
  "maxPerAccount": 2000
}
```

| Input | Rows |
|---|---|
| Handle (`apify`, `@nasa`) or profile link | One row per follower, and per followed account when "Following" is on |
| A protected or unknown account | No rows (not charged) |

### Why Use This Scraper?

- **No X account.** Nothing to log in to, no cookies, no API keys; your own account is never at risk.
- **Bios and emails.** The first 2,000 accounts of each list come with their bio, and the email written in it is pulled into its own field.
- **Lead filters that cost nothing.** Follower range, verified only, bio words such as "founder" or "CEO", location, or only accounts with an email. Accounts left out are not charged.
- **Followers and following in one run**, for as many accounts as you like, each row tagged with the account it came from.
- **One row per person if you want it.** Turn on de-duplication to keep a person who follows several of your accounts once.

### Use Cases

- **Lead generation:** collect the followers of a competitor or a niche account who write "founder" or an email in their bio.
- **Influencer discovery:** find accounts with 5,000 to 50,000 followers among an audience you care about.
- **Audience research:** see where an account's followers are and what they say about themselves.
- **Competitor analysis:** compare who follows rival brands, and who those brands follow.
- **Networking:** export the accounts a well-connected person follows.

### How It Works

1. Put one or more handles or profile links in **handles**, and choose followers, following or both.
2. The actor reads each list up to **maxPerAccount**: the first 2,000 accounts with their bios, then, for longer lists, the rest page by page with name, handle, followers, location and join date.
3. Your filters are applied and each account kept is saved as one row.
4. Download the dataset as JSON, CSV, Excel or HTML, or read it from the API.

### Input Configuration

| Field | Type | Default | What it does |
|---|---|---|---|
| `handles` | array | — | Handles or profile links. |
| `getFollowers` | boolean | true | Export each account's followers. |
| `getFollowing` | boolean | false | Export the accounts each account follows. |
| `maxPerAccount` | integer | 1000 | Most rows per list (followers and following are counted separately). |
| `maxItems` | integer | 10000 | Cap on rows across all accounts. Free-plan runs return up to 100. |
| `minFollowers` / `maxFollowers` | integer | 0 | Follower range to keep; 0 means no limit. |
| `verifiedOnly` | boolean | false | Keep only verified accounts. |
| `onlyWithEmail` | boolean | false | Keep only accounts with an email in their bio. |
| `bioContains` | array | — | Keep accounts whose bio contains any of these words. |
| `locationContains` | string | — | Keep accounts whose location contains this text. |
| `dedupeAcrossAccounts` | boolean | false | Save a person once across all the accounts in the run. |

#### Example input

Founders and CEOs with an email, among the followers of two accounts:

```json
{
  "handles": ["ycombinator", "paulg"],
  "maxPerAccount": 2000,
  "bioContains": ["founder", "ceo"],
  "onlyWithEmail": true,
  "dedupeAcrossAccounts": true
}
```

### Output Samples

The values below are made up; the fields are what you get.

```json
{
  "type": "follower",
  "handle": "example_founder",
  "url": "https://x.com/example_founder",
  "userId": "1234567890",
  "name": "Alex Example",
  "bio": "Founder @ExampleCo. Building tools for teams. hello@example.com",
  "email": "hello@example.com",
  "bioIncluded": true,
  "location": "Berlin, Germany",
  "website": null,
  "followers": 4820,
  "following": 612,
  "tweets": 3120,
  "createdAt": "2014-06-18T15:39:26.000Z",
  "verified": true,
  "isProtected": false,
  "avatar": "https://pbs.twimg.com/profile_images/example_normal.jpg",
  "relation": "followers",
  "ofAccount": "apify",
  "ofAccountUrl": "https://x.com/apify",
  "scrapedAt": "2026-11-13T09:00:00.000Z"
}
```

### Key Output Fields

| Field | Meaning |
|---|---|
| `handle`, `name`, `url`, `userId` | The account found. `userId` stays the same if the handle changes. |
| `bio`, `email` | The bio (empty when none is written) and the first email in it. |
| `bioIncluded` | `true` on rows that come with a bio (the first 2,000 of a list); `false` on rows past that, where `bio`, `following` and `tweets` are not filled. |
| `followers`, `following`, `tweets` | The account's counts. |
| `location`, `createdAt`, `verified` | Where the account says it is, when it joined, its badge. |
| `relation`, `ofAccount` | Whether it is a follower of, or followed by, which account in your input. |

### FAQ

**Do I need an X account or API keys?**
No. Give handles and run it.

**Why do some rows have no bio?**
Bios come with the first 2,000 accounts of each list. Rows past that carry name, handle, followers, location and join date, and `bioIncluded` is `false`. Filters on the bio or email keep only rows that come with a bio, so with those filters each list is read up to its first 2,000 accounts.

**How far does a filtered run read?**
With bio or email filters, the first 2,000 accounts of each list. With only follower, verified or location filters, up to 12,000 accounts of each list. Without filters, up to `maxPerAccount`.

**Can I export followers of a protected account?**
No. Protected accounts show their lists only to approved followers; they return no rows and cost nothing.

**Are filtered-out accounts charged?**
No. You pay only for the rows saved to your dataset.

**How fresh is the data?**
Every run reads the lists at that moment.

### Pricing

- **$0.10 per 1,000 accounts** saved ($0.0001 a row).
- No start fee beyond Apify's own $0.00005 a run.
- Filtered-out accounts, protected accounts and skipped links are free.
- Free-plan accounts get up to 100 accounts a run to try it.

### Support

Found an account whose lists do not come through, or need a field we do not return? Open an issue on the Issues tab with the handle. We read every issue.

### Explore More Scrapers

- [X (Twitter) Replies Scraper](https://apify.com/memo23/x-twitter-replies-scraper): replies under any post, with likes and authors.
- [X (Twitter) Search Scraper](https://apify.com/memo23/x-twitter-search-scraper): tweets by keyword, profiles, trends, communities and lists.
- [X (Twitter) Trends Scraper](https://apify.com/memo23/x-twitter-trends-scraper): trending topics by country, with categories.

### 🤖 For AI Agents & LLM Apps

Call it with `{"handles": ["<handle>"], "maxPerAccount": 500}` and read the default dataset. Each row is one account with stable keys; `userId` is the join key across runs and `ofAccount` says which input it belongs to. Use `bioContains`, `minFollowers` and `onlyWithEmail` to keep results small.

### ⚠️ Disclaimer

This actor collects only information X shows publicly on account lists and profiles. It does not log in or read protected accounts. Follower data is personal data: you are responsible for having a lawful basis to process it under the laws that apply to you (for example the GDPR or CCPA) and for following X's Terms of Service. Do not use the output for spam or unsolicited bulk messaging. This actor is not affiliated with or endorsed by X Corp.

### SEO Keywords

twitter followers scraper, x followers scraper, twitter following scraper, export twitter followers, twitter followers export csv, x followers export, twitter follower list, twitter followers email, scrape twitter followers, twitter audience export, twitter lead generation, x following list, twitter follower emails

# Actor input Schema

## `handles` (type: `array`):

Accounts to export: a handle (apify, @nasa) or a profile link (https://x.com/nasa), one per line.

## `getFollowers` (type: `boolean`):

Export the accounts that follow each account.

## `getFollowing` (type: `boolean`):

Export the accounts each account follows.

## `maxPerAccount` (type: `integer`):

Most followers (and, separately, most followed accounts) to save for each account. The first 2,000 of each list come with bios; beyond that, rows carry name, handle, followers, location and join date.

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

Cap on rows across all accounts. Free-plan runs return up to 100.

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

Keep only accounts with at least this many followers. Accounts left out are not charged.

## `maxFollowers` (type: `integer`):

Keep only accounts with at most this many followers, e.g. to find micro-influencers. 0 means no maximum.

## `verifiedOnly` (type: `boolean`):

Keep only verified accounts.

## `onlyWithEmail` (type: `boolean`):

Keep only accounts that wrote an email address in their bio. Applies to the first 2,000 accounts of each list, the ones that come with a bio. Accounts left out are not charged.

## `bioContains` (type: `array`):

Keep only accounts whose bio contains at least one of these words, e.g. founder, CEO, marketing. Case does not matter. Applies to the first 2,000 accounts of each list, the ones that come with a bio.

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

Keep only accounts whose location contains this text, e.g. London or Germany.

## `dedupeAcrossAccounts` (type: `boolean`):

When several accounts are exported, save someone who follows more than one of them only once.

## Actor input object example

```json
{
  "handles": [
    "apify"
  ],
  "getFollowers": true,
  "getFollowing": false,
  "maxPerAccount": 1000,
  "maxItems": 10000,
  "minFollowers": 0,
  "maxFollowers": 0,
  "verifiedOnly": false,
  "onlyWithEmail": false,
  "dedupeAcrossAccounts": false
}
```

# Actor output Schema

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

Followers or followed accounts with handle, name, bio, email, location and counts.

# 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 = {
    "handles": [
        "apify"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/x-twitter-followers-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 = { "handles": ["apify"] }

# Run the Actor and wait for it to finish
run = client.actor("memo23/x-twitter-followers-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 '{
  "handles": [
    "apify"
  ]
}' |
apify call memo23/x-twitter-followers-scraper --silent --output-dataset

```

## MCP server setup

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