# X Profile Scraper & API: Email Export, Links & Twitter Bio (`s_actors/x-profile-scraper`) Actor

Scrape public X (Twitter) profiles in bulk, no login or cookies: exact followers, following and posts, bio with emails, links, hashtags and mentions, location, website, join date, verification, birthday, avatar and banner. Optional: the email from the account website.

- **URL**: https://apify.com/s_actors/x-profile-scraper.md
- **Developed by:** [Superior Actors](https://apify.com/s_actors) (community)
- **Categories:** Social media, Lead generation, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.11 / 1,000 profiles

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/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 Profile Scraper & API: Email Export, Links & Twitter Bio

Scrape **public X (Twitter) profiles** in bulk: exact **followers, following and posts**, the **bio with its emails, links, hashtags and mentions**, location, website, **join date**, verification (blue check, Business or Government label), birthday when the account shows it, avatar, banner and the pinned post. Optionally the **email from the account's website**.

```json
{ "profiles": ["nasa", "apify", "https://x.com/github"], "findWebsiteEmail": false }
```

No X account, no cookies, no browser, no API key. One light request per profile: thousands of profiles per run.

#### What you get

Real example, 1 November 2026:

| handle | followers | following | posts | joined | label | location | website |
|---|---|---|---|---|---|---|---|
| NASA | 92,296,130 | 115 | 74,481 | 2007-12-19 | Government | Pale Blue Dot | nasa.gov |
| apify | 21,169 | 305 | 5,214 | 2015-09-01 | Business | The Interwebz | apify.com |
| BillGates | 65,226,682 | 574 | 4,532 | 2009-06-24 | blue check | Seattle, WA | gatesnot.es/tgn |

Bio links of `apify`: `apify.com`, `mcp.apify.com`, `github.com/apify`. With **Find the email on the account website** on, `apify` returns `support@apify.com` from its website.

| Field | Description |
|---|---|
| `handle`, `name`, `userId`, `url` | The account |
| `bio`, `location`, `website` | Profile text (links expanded, not `t.co`), location, website |
| `bioEmails`, `bioLinks`, `bioHashtags`, `bioMentions` | Emails, links, hashtags and @mentions found in the bio |
| `followers`, `following`, `posts`, `mediaPosts`, `likesGiven`, `listedCount` | Exact counts |
| `isVerified`, `isBlueVerified`, `verifiedType`, `isProtected`, `isParody`, `affiliatesCount` | Blue check, Business / Government label, protected, parody label, affiliated accounts of a business |
| `createdAt`, `accountAgeDays`, `birthday` | Join date (UTC), age in days, birthday when public |
| `pinnedPostId`, `avatarUrl`, `bannerUrl` | Pinned post, profile picture (400×400), banner |
| `email`, `emailSource` | The first email found: from the bio, or from the website |
| `websiteEmail`, `websiteEmails`, `websiteEmailPage`, `websiteSocials` | With the website option: emails found on the website (mail server checked), the page, social profiles of the website |
| `scrapedAt` | Run time |

#### How it works

1. Add **X accounts**, one per line: a handle (`nasa`, `@nasa`) or a link (`https://x.com/nasa`, `https://twitter.com/nasa`)
2. Optionally turn on **Find the email on the account website**
3. Run, then download the dataset as CSV, Excel, JSON or HTML. Tabs: **Profiles**, **Bio and links**, **Not found**

#### Why this Actor

| | |
|---|---|
| 🧾 **Everything on the profile** | Bio, links, hashtags, mentions, join date, verification, birthday when public, pinned post |
| ✉️ **Emails** | From the bio for free; from the account's website on demand, with a mail server check |
| 🎯 **Exact counts** | `92,296,130`, not "92.3M" |
| ⚡ **Fast and light** | One request per account, hundreds per minute, no login, no browser |
| 🔁 **Clean errors** | Missing and suspended accounts come back as a free error row, the run continues |
| 💰 **$0.14 per 1,000 profiles** | No subscription, no X API plan |

#### Pricing

Pay per profile in the results, no subscription needed. Apify Scale and Business plans pay less:

| Event | Free and Starter plans | Scale plan | Business plan |
|---|---|---|---|
| Run start | $0.001 | $0.001 | $0.001 |
| Profile (one row) | $0.00014 | $0.000126 | $0.000112 |
| Website email (only when found) | $0.00199 | $0.00199 | $0.00199 |

| Task | Cost |
|---|---|
| 100 profiles | ~$0.015 |
| 10,000 profiles | ~$1.40 |
| 1,000 profiles with website emails (about 30% found) | ~$0.75 |

Accounts that do not exist or are suspended, emails written in the bio and profiles without a website email are not charged extra.

#### FAQ

**Can it export who follows an account?** No. The list of people who follow an account is shown by X to logged-in users only, and this Actor does not log in. You get the exact counts, and X Followers Scraper tracks how they change.

**Where does the data come from?** From the public profile data the X website itself loads for visitors who are not logged in.

**How many emails will I get?** Many profiles have none: the bio email is rare, and the website option finds one on roughly a third of business and creator websites. Rows without an email are not charged for it.

**Do I need an X (Twitter) account?** No.

**Private accounts?** Their public profile fields are returned with `isProtected: true`. Suspended and deleted accounts return an error row and are free.

#### Use with the API and AI agents

Run it via the [Apify API](https://docs.apify.com/api/v2) from Python, Node.js or any HTTP client as a Twitter profile API, or connect it to Claude, ChatGPT and other AI agents through the [Apify MCP server](https://mcp.apify.com): "Get the bio, website and follower count of these 50 accounts."

#### Other X (Twitter) tools

| Tool | What it does |
|---|---|
| [Twitter (X) Trends Scraper](https://apify.com/s_actors/x-trends-scraper) | Trending topics and hashtags in 467 locations, history since 2023 |
| [Facebook Email Scraper](https://apify.com/s_actors/facebook-email-scraper) | Contact emails of Facebook pages |
| [Google Sheets Import & Export](https://apify.com/s_actors/google-sheets-import-export) | Send the results to a Google Sheet |

#### Is it legal?

The Actor collects public profile data (names, bios, links and counts) that X shows to any visitor without logging in. Respect the privacy laws that apply to you (GDPR and similar) when you store and use personal data, and do not use the results for spam.

# Actor input Schema

## `profiles` (type: `array`):

Accounts to scrape, one per line: a handle (nasa, @nasa) or a profile link (https://x.com/nasa, https://twitter.com/nasa). Thousands per run are fine.

## `findWebsiteEmail` (type: `boolean`):

Open the website from the profile (or the first link of the bio), look for a public email on its pages and contact pages, and check that the email domain receives mail. Emails written in the bio are always returned for free. Charged per email found.

## `maxConcurrency` (type: `integer`):

Accounts read at the same time.

## `debugLog` (type: `boolean`):

Log every request retry.

## Actor input object example

```json
{
  "profiles": [
    "nasa",
    "apify",
    "github"
  ],
  "findWebsiteEmail": false,
  "maxConcurrency": 8,
  "debugLog": false
}
```

# Actor output Schema

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

Followers, following, posts, verification, location, website and email.

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

Bio text with its emails, links, hashtags and mentions.

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

Every field.

# 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 = {
    "profiles": [
        "nasa",
        "apify",
        "github"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("s_actors/x-profile-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 = { "profiles": [
        "nasa",
        "apify",
        "github",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("s_actors/x-profile-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 '{
  "profiles": [
    "nasa",
    "apify",
    "github"
  ]
}' |
apify call s_actors/x-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s_actors/x-profile-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/aHr8FEDzIFnh3xsdg/builds/QJaDDXJ17oAkCWQiK/openapi.json
