# X (Twitter) Followers Contact Extractor - Emails & Websites (`seemuapps/x-followers-contact-extractor`) Actor

Extract emails, websites, and social links from the bios of any X (Twitter) account's followers or following. Filter by keyword, location, and follower count.

- **URL**: https://apify.com/seemuapps/x-followers-contact-extractor.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 contact founds

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?

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 Contact Extractor - Emails & Websites

Turn any X (Twitter) audience into a contact list. Enter an account, and the actor scans its followers (or the accounts it follows) and returns every profile that exposes an email address, website, or social link in its bio - filtered by keyword, location, follower count, and verification. No login or cookies required.

### What you get

One row per profile with contact info:

- **Emails** found in the bio
- **Websites** - the profile link and any URLs in the bio, with t.co short links resolved to real URLs
- **Social links** - Instagram, LinkedIn, YouTube, TikTok, GitHub, Telegram, Linktree and more, kept separate from websites
- **Matched keywords** - which of your bio keywords each profile hit
- Username, display name, bio, location, follower/following/tweet counts, verification, account creation date, DM-open flag, profile picture and profile URL
- A resume cursor so you can keep scanning a huge follower list across multiple runs
- Export to JSON, CSV, Excel, or Google Sheets from the Apify console

### Use cases

- **Lead generation** - pull emails and websites from the followers of a competitor, industry account, or event
- **Influencer and creator outreach** - find creators in a niche with a contact email in their bio
- **B2B prospecting** - filter followers by bio keywords like "founder", "CEO", "agency" and export their websites
- **Partnership and PR lists** - collect the sites and socials of everyone following a brand
- **Recruiting** - find developers, designers, or marketers following a company account, with portfolio links

### How to use

1. Enter the X **username** (with or without @; profile URLs work too)
2. Choose **Followers**, **Following**, or **Both**
3. Optionally tick **Only profiles with an email** or **Only profiles with a website**
4. Optionally add **Bio keywords**, **Location keywords**, a **Minimum followers** threshold, or **Only verified accounts**
5. Set **Max contacts to return** (default 500) and **Max profiles to scan** (default 20,000)
6. Run the actor - results appear in the **Dataset** tab

Only a small share of profiles list an email (typically 1-3%), so the actor scans many more profiles than it returns. Scanning is fast and cheap; you are only charged for contacts actually returned.

#### Scanning very large lists

After the run finishes, open the **Key-value store** tab, copy the `NEXT_PAGE_ID` value, and paste it into **Page ID** on your next run to continue where you left off. If `NEXT_PAGE_ID` is `null`, the whole list has been scanned.

### Output format

Each dataset record:

```json
{
  "scrapedFromUsername": "apify",
  "relationship": "followers",
  "username": "patcreatordev",
  "userId": "1728561904",
  "name": "Pat Creator",
  "bio": "Indie dev building tools for creators. Contact: ppatcreator@gmail.com",
  "location": "Lisbon, Portugal",
  "emails": ["ppatcreator@gmail.com"],
  "websites": ["https://patcreator.dev"],
  "socialLinks": ["https://www.instagram.com/patcreator"],
  "matchedKeywords": ["indie dev"],
  "isVerified": false,
  "followersCount": 1240,
  "followingCount": 512,
  "tweetsCount": 3391,
  "createdAt": "2013-09-04T11:22:31.000Z",
  "canDm": true,
  "profilePicture": "https://pbs.twimg.com/profile_images/.../photo.jpg",
  "profileUrl": "https://x.com/patcreatordev"
}
```

### Free tier limits

Runs on a free Apify plan return at most **25 contacts** and scan at most 5,000 profiles per run. Upgrade to any paid Apify plan to remove these limits.

### FAQ

**Do I need to log in or provide cookies?** No. No login, no cookies, no risk to your own account.

**Why are there fewer results than profiles scanned?** Most X users don't put contact details in their bio. The actor keeps scanning until it finds your requested number of contacts or hits the scan limit.

**Can I get every follower, not just ones with contact info?** Use the [X Followers & Following Scraper](https://apify.com/seemuapps/x-followers-following-scraper) for the full list.

### Related X (Twitter) actors

Part of a complete X (Twitter) toolkit - explore the rest of the suite:

- [X (Twitter) Profile Scraper](https://apify.com/seemuapps/x-profile-scraper) - Public profile data - bio, counts, links
- [X (Twitter) User Tweets Scraper](https://apify.com/seemuapps/x-user-tweets-by-username) - Full timeline of any account by username
- [X (Twitter) Tweet Scraper](https://apify.com/seemuapps/x-tweet-scraper) - Search and export tweets by query, hashtag, user
- [X (Twitter) Tweet Replies Scraper](https://apify.com/seemuapps/x-tweet-replies-scraper) - Every reply under a post for sentiment analysis
- [X (Twitter) Quote Tweets Scraper](https://apify.com/seemuapps/x-quote-tweets-scraper) - Every quote tweet of a post, with engagement
- [X (Twitter) Followers & Following Scraper](https://apify.com/seemuapps/x-followers-following-scraper) - Full followers and following lists, no login
- [X (Twitter) List Members Scraper](https://apify.com/seemuapps/x-list-members-scraper) - Members or followers of any public list
- [X (Twitter) Retweeters Scraper](https://apify.com/seemuapps/x-tweet-retweeters-scraper) - Find every account that retweeted a post
- [X (Twitter) User Mentions Scraper](https://apify.com/seemuapps/x-user-mentions-scraper) - Brand and keyword monitoring across mentions
- [X (Twitter) User Search Scraper](https://apify.com/seemuapps/x-user-search-scraper) - Find accounts by bio or keyword for lead gen
- [X (Twitter) Trends Scraper](https://apify.com/seemuapps/x-trends-scraper) - Trending topics and hashtags by location
- [X (Twitter) Article to Markdown Scraper](https://apify.com/seemuapps/x-article-to-markdown-scraper) - Long form Articles as clean Markdown
- [X (Twitter) MCP Server](https://apify.com/seemuapps/x-mcp) - All X tools for AI agents via MCP

# Actor input Schema

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

The X (Twitter) account whose followers or following you want to mine for contact info (with or without @; profile URLs work too).

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

Scan the account's followers, the accounts it follows, or both.

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

Stop after this many profiles with contact info have been found. Set 0 for no limit (bounded by Max Profiles to Scan).

## `maxScan` (type: `integer`):

Upper bound on how many follower/following profiles are examined looking for contact info. Set 0 to scan the whole list.

## `requireEmail` (type: `boolean`):

Return only profiles that expose an email address in their bio.

## `requireWebsite` (type: `boolean`):

Return only profiles with a non-social website link (bio link or profile URL).

## `bioKeywords` (type: `array`):

Keep only profiles whose bio contains at least one of these words or phrases (case-insensitive). Leave empty to skip this filter.

## `locationKeywords` (type: `array`):

Keep only profiles whose location field contains one of these words (e.g. "London", "NY", "Australia"). Leave empty to skip this filter.

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

Skip profiles with fewer followers than this. 0 disables the filter.

## `onlyVerified` (type: `boolean`):

Keep only blue-verified profiles.

## `resolveShortLinks` (type: `boolean`):

Follow t.co redirects so website links come back as real URLs (e.g. https://example.com) instead of https://t.co/abc. Slightly slower.

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

Paste NEXT\_PAGE\_ID from the previous run's Key-value store to continue scanning where it left off. Only valid for Followers or Following mode, not Both.

## Actor input object example

```json
{
  "username": "apify",
  "mode": "followers",
  "maxItems": 500,
  "maxScan": 20000,
  "requireEmail": false,
  "requireWebsite": false,
  "bioKeywords": [],
  "locationKeywords": [],
  "minFollowers": 0,
  "onlyVerified": false,
  "resolveShortLinks": true
}
```

# Actor output Schema

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

One row per profile with contact info: username, name, bio, location, emails\[], websites\[], socialLinks\[], matchedKeywords\[], follower counts, verification, profile URL.

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

NEXT\_PAGE\_ID record in the default key-value store. Paste into Page ID on the next run to keep scanning; null when the list is exhausted.

# 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 = {
    "username": "apify",
    "bioKeywords": [],
    "locationKeywords": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/x-followers-contact-extractor").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 = {
    "username": "apify",
    "bioKeywords": [],
    "locationKeywords": [],
}

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/x-followers-contact-extractor").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 '{
  "username": "apify",
  "bioKeywords": [],
  "locationKeywords": []
}' |
apify call seemuapps/x-followers-contact-extractor --silent --output-dataset

```

## MCP server setup

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

```

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/CW3rEHyeyfNQFHdpG/builds/cS88jAzkUaCgbgTkF/openapi.json
