# Twitter Follower Scraper (`bhansalisoft/twitter-follower-scraper-with-email`) Actor

Extract Twitter (X) followers by username and collect profile details such as names, usernames, bios, locations, follower counts, and profile URLs. Includes email data when available through supported extraction or enrichment.

- **URL**: https://apify.com/bhansalisoft/twitter-follower-scraper-with-email.md
- **Developed by:** [bhansalisoft](https://apify.com/bhansalisoft) (community)
- **Categories:** Automation, Lead generation
- **Stats:** 158 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

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/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

### Twitter Follower Scraper with Email

The **Twitter Follower Scraper** by BhansaliSoft helps you extract follower profile data from a target Twitter (X) account using the username and Twitter cookie authentication method.

Simply enter your target Twitter username, provide the required Twitter cookie, and start the scraping process. The Actor collects available follower profile information and organizes the results into structured data for research, audience analysis, influencer discovery, and business intelligence.

Whether you want to analyze a Twitter audience, research competitors, discover relevant profiles, or collect follower data for further analysis, this Twitter/X follower scraper helps automate the process.

### Features of the Twitter Follower Scraper

- **Twitter Follower Extraction:** Collect follower profile records for a specified Twitter/X username.
- **Cookie-Based Authentication:** Provide the Twitter cookie required by the Actor to access the supported follower data.
- **Detailed Profile Information:** Extract available profile details, follower statistics, descriptions, and profile image URLs.
- **Email Data Field:** Collect email information when available through the Actor's supported extraction process. Email addresses are not guaranteed for every profile.
- **Structured Data Export:** Organize the extracted information for further analysis and reporting.
- **Multiple Export Formats:** Export results to Excel, CSV, and text formats using the supported software export options.
- **Automated Data Collection:** Reduce the manual work involved in collecting and organizing follower profiles.
- **Real-Time Processing:** Retrieve available results during the Actor run, subject to authentication, access restrictions, rate limits, and source availability.

### What Data Can You Extract?

The Twitter follower scraper can collect the following fields when available:

- `Profile_link` — Twitter/X profile URL
- `Name` — Profile display name
- `ID` — Twitter/X user ID
- `Email` — Email value when available through supported extraction
- `description` — Profile biography
- `location` — Profile location
- `followers_count` — Number of followers
- `friends_count` — Number of accounts followed
- `media_count` — Available media count
- `profile_banner_url` — Profile banner image URL
- `profile_image_url_https` — Profile image URL

The availability and completeness of individual fields depend on the source data and the Actor's access.

### Watch the Demo Video

Watch the demonstration to learn how to configure the Twitter follower scraper and start collecting profile data:

https://youtu.be/90xAFYz6ZUY

### How to Use the Twitter Follower Scraper

Follow these steps to extract Twitter followers from a target account.

1. Open the Twitter Follower Scraper and access its input settings.
2. Enter your Twitter cookie in the **Twitter Cookie** field.
3. Enter the target account's username in the **Twitter Target Username** field.
4. Review your input and click **Save and Start** to begin the process.
5. Monitor the run and review the extracted follower records.
6. Export the collected data in your preferred supported format.

**Example:** If you want to research the followers of a particular Twitter/X account, enter that account's username and the required authentication information, then start the Actor.

The number of records returned depends on the target account, access permissions, platform restrictions, and the Actor's configuration.

### How to Get Twitter Cookies

The Actor uses cookie-based authentication. Follow the instructions below to obtain the cookie required by your software.

1. **Install the browser extension:** Open the [Export Cookie JSON File for Puppeteer Chrome extension](https://chromewebstore.google.com/detail/export-cookie-json-file-f/nmckokihipjgplolmcmjakknndddifde/reviews).
2. **Log in to Twitter/X:** Open Twitter/X in Chrome and sign in to an account you are authorized to use.
3. **Export your cookies:** Open the extension and use its cookie export function to export the cookies in JSON format.
4. **Copy the required cookie data:** Follow your software's instructions to identify and copy the cookie information it requires.
5. **Enter the cookie:** Return to the Actor input area and paste the required value into the **Twitter Cookie** field.
6. **Start the Actor:** Enter your target username and begin the scraping process.

**Security notice:** Twitter cookies can provide access to your authenticated session. Treat them like passwords, never share them publicly, avoid posting them in logs or screenshots, and revoke the session if a cookie is exposed. Use only accounts and data you are authorized to access.

### Use Cases for Twitter Follower Scraping

#### Twitter Audience Research

Analyze available follower profiles and audience characteristics to support social media research and reporting.

#### Influencer Discovery

Research followers associated with relevant creators and industry accounts to identify potential collaboration opportunities.

#### Competitor Analysis

Study publicly available profile information and audience metrics associated with competitor accounts.

#### Market Research

Organize follower profile information for audience segmentation, trend analysis, and research workflows.

#### Business Research and Lead Discovery

Identify potentially relevant profiles for further research using available profile details. Email availability is not guaranteed, and users should follow applicable privacy and marketing requirements.

### Frequently Asked Questions

#### What is a Twitter follower scraper?

A Twitter follower scraper is a data extraction tool that collects available follower profile information from a target Twitter/X account.

#### Can I scrape Twitter followers by username?

Yes. Enter the target username and provide the required cookie authentication information according to the Actor's input instructions.

#### Does the Twitter follower scraper extract email addresses?

The Actor includes an email field, but email addresses are not guaranteed for every profile. Availability depends on the Actor's supported extraction process and the source data.

#### Can I export Twitter follower data to Excel or CSV?

The software supports Excel, CSV, and text exports as described in its export options. Apify dataset export formats may differ from the formats supported by the separate software interface.

#### Why might some follower records be missing?

Missing records can result from access restrictions, authentication problems, rate limits, unavailable profile information, or changes to Twitter/X.

#### Is cookie authentication required?

The current workflow described for this Actor requires a Twitter cookie. Follow the latest input instructions on the Actor page.

### Start Collecting Twitter Follower Data

Automate your Twitter/X follower research with the **Twitter Follower Scraper by BhansaliSoft**.

Enter a target username, provide the required cookie authentication, run the Actor, and review the available follower profile data for your research and analysis workflows.

For assistance, contact **bhansalisoft781986@gmail.com**.

# Actor input Schema

## `Twitter_cookie` (type: `array`):

Insert your Twitter cookie here.please login to Twitter and use editthiscookie extention and get cookie and insert here

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

Twitter Target UserName

## `Run_Last` (type: `boolean`):

If checked then actors runs where last stop

## `proxySettings` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "target_username": "motivation_line_",
  "proxySettings": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "target_username": "motivation_line_",
    "Run_Last": false,
    "proxySettings": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bhansalisoft/twitter-follower-scraper-with-email").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 = {
    "target_username": "motivation_line_",
    "Run_Last": False,
    "proxySettings": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("bhansalisoft/twitter-follower-scraper-with-email").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 '{
  "target_username": "motivation_line_",
  "Run_Last": false,
  "proxySettings": {
    "useApifyProxy": false
  }
}' |
apify call bhansalisoft/twitter-follower-scraper-with-email --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bhansalisoft/twitter-follower-scraper-with-email"
        }
    }
}
```

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/oSNvWiseOVP8T3DVM/builds/Wfxldx53GAfisRJzu/openapi.json
