# X Profile Contact Scraper (`leads-scraper/x-profile-contact-scraper`) Actor

X Profile Contact Scraper SD - X Profile Contact Scraper is a lead generation tool that extracts leads with public contact emails, bio, follower counts and profile URLs from X profile URLs or usernames - X profile scraper for creator outreach.

- **URL**: https://apify.com/leads-scraper/x-profile-contact-scraper.md
- **Developed by:** [Leads Scraper](https://apify.com/leads-scraper) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 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.
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 Contact Scraper

The **X Profile Contact Scraper** takes keywords or X (formerly Twitter) profile URLs and handles, and returns the public contact email published for each account, plus the display name, bio and avatar X shows a signed-out visitor.

There are two ways in. Give the X Profile Contact Scraper **keywords** and it goes looking for accounts that publish a contact address, then enriches every one it finds.

Or give it **profile URLs or usernames** for accounts you already have. Either way you get a clean row per profile, ready for CRM import, creator outreach or lead enrichment, and the two combine in one run.

A keyword run in the X Profile Contact Scraper does not return accounts that merely match a word. It targets pages that publish an address beside it, so most rows arrive with an email attached.

**Read this before you run it:** the X Profile Contact Scraper returns the display name, bio and avatar URL, and — when the profile page renders in full — the follower, following and post counts as well.

Some rows still come back with the name and bio only, because that is what X served for them. That is a property of what X publishes to logged-out traffic, not a defect.

This X profile scraper reads **public data only**. It does not log in, use cookies, or touch any private, partner or official API, and runs no browser and no JavaScript rendering.

***

### What the X Profile Contact Scraper Actually Does

The X Profile Contact Scraper runs in two phases, and the order is the whole design.

**Phase 1 — Google harvest, on the GOOGLE_SERP proxy.** Given keywords, the X Profile Contact Scraper searches Google with an email dork — `site:x.com founder "@gmail.com"` — expanded across keyword x modifier x address domain, up to `maxPagesPerKeyword` per query.

Each result block yields the account handle **and** the address published on that page, in one request. Google rarely prints the target URL now, so the handle comes from the site label, the breadcrumb, or a `Name (@handle)` title.

This is where the volume and most of the addresses come from. Asking Google for pages that already carry an address is one request per ten accounts; fetching every profile hoping for one is a request each.

**Phase 2 — profile enrichment, on the RESIDENTIAL proxy.** Every account found is then fetched for its real profile data — display name, bio, avatar and whatever else X publishes — and merged into one row with the phase 1 address. Accounts you supply start here.

The X Profile Contact Scraper pipeline, in order:

1. **Read input and harvest.** `keywords`, `profileUrls` and `usernames` merge into one target list; phase 1 runs and every handle joins the queue with the address found beside it.
2. **Normalise targets.** A bare handle, an `@handle` and a full `https://x.com/...` URL all resolve to the same canonical profile URL, and duplicates are dropped.
3. **Fetch the public profile** through the Apify **residential proxy** using async `aiohttp`, several in parallel, with a fresh exit IP on every retry. The first attempt sends a full browser header set, as a browser asks for a public page; a retry uses a plainer one.
4. **Parse with a regex-first cascade.** A regex battery matches field key names in the raw HTML; then the platform parser; then Open Graph / link-preview meta tags. Each step fills only what the previous could not.
5. **Extract any further emails** from the bio, display name and external URL, then push one row per profile.

Matching key names rather than an object path is deliberate: platforms move those objects between releases, and key names survive. On X the cascade now also reads statistics rendered as page text, which is where the counts come from when the page renders in full.

***

### What X Publishes to a Signed-Out Visitor

What an anonymous request receives depends on which version of the page X serves. When the profile page renders in full it carries the counts as page text; a reduced response carries the link-preview card only — the block that renders when a profile is shared in chat — with the name, bio and avatar and nothing more.

So in a typical X Profile Contact Scraper run you should expect:

| Field | Typical result on X |
|---|---|
| `fullName`, `bio`, `avatarUrl` | Populated |
| `email`, `emails` | Populated whenever the harvest or the bio published an address |
| `keyword`, `query`, `description` | Populated on a keyword run, `null` for a supplied URL |
| `followersCount`, `followingCount`, `postsCount` | Populated when the profile page renders in full |
| `likesCount`, `isVerified` | Usually `null` |

Every field still exists on every X Profile Contact Scraper row, so your schema is stable and your CSV columns line up. The values are simply empty where X published nothing for that account.

Re-running the rows that came back without counts is worth doing, since which page X serves varies between requests.

***

### Key Features of the X Profile Contact Scraper

What the X Profile Contact Scraper genuinely does. Nothing here is aspirational.

| Feature | What it means in practice |
|---|---|
| Google email harvest | An email dork finds accounts and their published address together |
| Query expansion | `expandQueries` and `queryModifiers` search each keyword in several phrasings |
| Profile enrichment | Every account found is then fetched for its public profile data |
| Flexible target input | Full URLs, `@handles` and bare handles all work, deduplicated |
| Obfuscation handling | Understands `[at]`, `(dot)`, spaced `a @ b`, zero-width characters and `＠` |
| Boundary-correct matching | `@gmail.com` will not match inside `@gmail.company` |
| Placeholder filter | Drops `email@`, `yourname@`, `noreply@`; keeps `hi@`, `hey@`, `hello@` |
| Domain steering | `customDomains` sets which address domains are searched and kept |
| Email-only mode | `onlyWithEmail` skips profiles with no address |
| Two Apify proxies | GOOGLE_SERP harvests; RESIDENTIAL fetches each profile |
| Retry logic | Up to 4 attempts per page, exponential backoff, fresh exit IP |
| Resumable runs | Progress is keyed to a hash of your input, so a restarted run continues |
| Streaming writes | Rows land in the dataset as they parse, so you can export mid-run |

***

### Input Schema

Supply the X Profile Contact Scraper with at least one of `keywords`, `profileUrls` or `usernames`; a run with none of them stops and tells you to add one. Everything else is optional.

| Field | Type | Default | Meaning |
|---|---|---|---|
| `keywords` | array | prefilled with example terms | Search terms. The X Profile Contact Scraper finds matching X accounts and scrapes each one. |
| `location` | string | `""` | Added to every keyword search, e.g. `New York`. Keyword search only. |
| `maxPagesPerKeyword` | integer 1-30 | `5` | Google results pages read per query. Raise to find more accounts. Keyword search only. |
| `expandQueries` | boolean | `true` | Search each keyword in several phrasings (keyword + "email", + "contact", ...). Keyword search only. |
| `queryModifiers` | array | `email`, `contact`, `inquiries`, `hire`, `work with me` | Extra words combined with each keyword when expansion is on. |
| `profileUrls` | array | `[]` | Full X profile URLs. Bare usernames also accepted. |
| `usernames` | array | `[]` | Handles without the URL. Combined with the list above. |
| `customDomains` | array | `[]` | Address domains the search asks Google for, and a filter on the results. Empty means the common free-mail providers, and every address found is kept. |
| `onlyWithEmail` | boolean | `false` | Skip profiles whose public bio contains no address. |
| `maxProfiles` | integer 1-100000 | `100` | Profiles to save for EACH keyword and EACH contact type: 20 with one keyword = 20 profiles with an email + 20 with a phone number. Profiles you give directly count as one more group. |
| `findEmails` | boolean | `true` | Collect email addresses. Turn off to collect only phone numbers. |
| `findPhones` | boolean | `true` | Collect phone numbers. Turn off to collect only emails. |
| `countries` | array | US, UK, India | Which countries' phone numbers to look for. Name, ISO code or dial code. |
| `maxConcurrency` | integer 1-30 | `10` | How many profiles are fetched in parallel, and how many Google searches run at once. Higher is faster; lower it if rows come back blocked. |
| `proxyGroup` | select | `RESIDENTIAL` | `RESIDENTIAL`, `BUYPROXIES94952` or `UNBLOCKER`. |
| `countryCode` | string | `""` | Two-letter proxy country (US, GB, DE...). Empty for any. |

The X Profile Contact Scraper has no `dataSource` input; that exists only on the TikTok Actor.

#### JSON input examples

Starting from keywords, with no list of accounts yet:

```json
{
  "keywords": ["indie hacker", "founder"],
  "location": "Berlin",
  "maxPagesPerKeyword": 5,
  "expandQueries": true,
  "onlyWithEmail": false,
  "maxProfiles": 500,
  "maxConcurrency": 10,
  "proxyGroup": "RESIDENTIAL"
}
```

Starting from accounts you already have, or mixing both ways in one run:

```json
{
  "keywords": ["product analytics"],
  "profileUrls": [
    "https://x.com/lumenanalytics",
    "https://twitter.com/pinegrovestudio"
  ],
  "usernames": ["mapleandmoss", "ridgelinegear"],
  "onlyWithEmail": true,
  "maxProfiles": 500,
  "countryCode": "US"
}
```

***

### Finding Accounts From a Keyword

Keyword search in the X Profile Contact Scraper is a real search, not a filter over URLs you supplied. Give this X email finder a niche or job title and the harvest looks for accounts in it that publish a contact address.

With `expandQueries` on, each keyword is combined with every entry in `queryModifiers` and every address domain, and each combination is paged separately. `location` narrows it; `maxPagesPerKeyword` sets the depth.

The harvest runs on the Apify **GOOGLE_SERP** proxy, the profile fetch on the **RESIDENTIAL** proxy. Neither can do the other's job — Google is reachable only through GOOGLE_SERP, and X profile pages need residential exit IPs.

Every account found is enriched by the X Profile Contact Scraper exactly like one you pasted in. Accounts you supplied are queued first, then whatever the harvest discovers; `keyword` and `query` record which search produced each row.

***

### Output Schema

Every X Profile Contact Scraper row carries all of these fields, whether or not X published a value.

| Field | Meaning |
|---|---|
| `success` | True when the profile was fetched and parsed, **or** an address was found. A blocked fetch still yields a usable row when the harvest gave an address. |
| `network` | Platform name |
| `dataSource` | Which path produced the profile data — always `page` on this Actor |
| `keyword` | The keyword that found this account, or `null` for a supplied URL |
| `query` | The exact Google query that found it, or `null` |
| `description` | The result snippet Google showed, cleaned of labels and counters |
| `profileUrl` | The canonical profile URL that was requested |
| `url` | The URL actually returned, after redirects |
| `username` | Handle |
| `fullName` | Display/real name as published |
| `displayName` | Handle or title the platform shows |
| `email` | First public email found, or `null` |
| `emails` | Every public email found, deduplicated |
| `emailSource` | Where the addresses came from: `search` (the Google harvest), `bio` (the profile), `bio+search`, or `null`. `search` is the common value on a keyword run |
| `phone` | The first public phone number found, in E.164 form, or `null` |
| `phones` | Every public phone number found, deduplicated |
| `phoneNational` | The same number as its country writes it |
| `phoneCountry` | ISO country the number belongs to |
| `bio` | Public bio / description text |
| `followersCount` | Followers, when published |
| `followingCount` | Accounts followed, when published |
| `postsCount` | Posts, when published |
| `avatarUrl` | Profile picture URL |
| `error` | Why a row failed, or `null` |
| `scrapedAt` | ISO 8601 UTC timestamp |

A field X does not publish is not part of the row at all.

#### JSON output example

A realistic X Profile Contact Scraper keyword-run row, from a profile page that rendered in full:

```json
{
  "success": true,
  "network": "X",
  "dataSource": "page",
  "keyword": "product analytics",
  "query": "site:x.com product analytics contact \"@gmail.com\"",
  "description": "Retention dashboards. Partnerships: hello@lumenanalytics.io",
  "profileUrl": "https://x.com/lumenanalytics",
  "url": "https://x.com/lumenanalytics",
  "username": "lumenanalytics",
  "fullName": "Lumen Analytics",
  "displayName": "lumenanalytics",
  "email": "hello@lumenanalytics.io",
  "emails": ["hello@lumenanalytics.io"],
  "emailSource": "bio+search",
  "bio": "Retention dashboards for product teams. Weekly notes on activation. Partnerships: hello@lumenanalytics.io",
  "followersCount": 18432,
  "followingCount": 291,
  "postsCount": 4127,
  "avatarUrl": "https://pbs.twimg.com/profile_images/1783204411/lumen_400x400.jpg",
  "error": null,
  "scrapedAt": "2026-08-29T09:14:22Z"
}
```

***

### How to Use the X Profile Contact Scraper: Step by Step

**Step 1 — Open the Actor.** Open the [X Profile Contact Scraper](https://apify.com/leads-scraper/x-profile-email-scraper) and click **Try for free**.

**Step 2 — Start from a keyword, or add your own targets.** Put a niche or job title into `keywords` and the harvest finds X accounts in it that publish an address; add a `location` to narrow it. Or paste URLs into `profileUrls` and handles into `usernames`. Mixing all three is fine; duplicates are removed.

**Step 3 — Decide on filtering.** `customDomains` steers which address domains the search asks for and filters what is kept. Turn on `onlyWithEmail` if you want a contact list rather than a profile audit.

**Step 4 — Set `maxProfiles`.** Default 100. Raise it on a paid plan for a large prospecting list.

**Step 5 — Leave the proxy on `RESIDENTIAL`.** Profile pages block datacenter IPs. Set `countryCode` only for a specific market's view.

**Step 6 — Tune `maxConcurrency`.** The default is 10 and the range is 1-30; it governs both the profile fetches and the Google searches. Lower it to 2 or 3 if you see blocked rows.

**Step 7 — Run and export.** Rows stream: each account goes to enrichment the moment the search finds it, so the first are saved seconds in and keep arriving while the search continues.

Each saved row is logged as it is written, naming the handle, address and counts found. Export to CSV, JSON or Excel, or push into your CRM through the Apify API.

***

### Use Cases for the X Profile Contact Scraper

**Creator outreach.** The X Profile Contact Scraper turns a keyword into a contact sheet for collaboration pitches. Because the harvest targets accounts that publish an address, the run arrives already usable.

**Lead enrichment.** You already have handles in your CRM. This X email finder fills the display name, bio and contact address on each record.

**Sales prospecting.** Founders and operators routinely publish a contact address. Search `founder` and this Twitter profile scraper collects them into one table.

**PR and media lists.** Journalists and analysts often publish a press or tips address. One X Profile Contact Scraper run builds the media list you would otherwise assemble manually.

**Recruiting.** Developer, designer and marketing handles often carry a "reach me at" line. This X bio email extractor pulls it out at list scale.

**Data hygiene.** Re-run the X Profile Contact Scraper over an existing list to refresh bios and catch changed addresses.

***

### Email Hygiene

The X Profile Contact Scraper uses the same address handling as the rest of the family, because bios are messy.

The X Profile Contact Scraper undoes obfuscation before matching, so `name [at] domain (dot) com`, spaced `a @ b`, zero-width characters and `＠` all resolve. Domain matching is boundary-correct, so a filter on `@gmail.com` will not fire inside `@gmail.company`.

Placeholder locals such as `email@`, `yourname@` and `noreply@` are discarded, as are prose words like `the@`. Role addresses — `hi@`, `hey@`, `hello@` — are kept, because they are real inboxes for most small brands.

***

### Plans, Pricing and Run Behaviour

On the **free Apify plan** a run is capped at **100 profiles**. Paid plans are uncapped. Billing for the X Profile Contact Scraper is pay-per-event: `actor-start` once per run, `profile-scraped` per saved row.

Runs are resumable. Progress is keyed to a hash of your input, so a migrated or restarted run continues instead of refetching. Changing the input starts a clean run.

The X Profile Contact Scraper gives each page up to 4 attempts with backoff and a fresh exit IP, and the run ends with a summary of ok / blocked / not found / errors.

***

### Limitations of the X Profile Contact Scraper

Read this section before you build a pipeline on top of the output.

**Counts depend on which page X serves.** Every X Profile Contact Scraper row carries the display name, bio and avatar; `followersCount`, `followingCount` and `postsCount` are filled when the profile page renders in full, and some rows come back with the name and bio only. `likesCount` and the verified flag typically stay `null`.

**Only public data.** No login, no cookies, no private or official API, no browser, no JavaScript rendering. If a signed-out visitor cannot see it, it is not returned.

**Yield varies, and it is not a promise.** The harvest asks for pages that publish an address, so most rows on a keyword run carry one. How many depends on the niche and how many accounts in it publish one at all.

The X Profile Contact Scraper still returns a row when only profile data is available, with `email: null`. Addresses no longer come only from bios: the harvest and the profile are independent sources, and `emailSource` says which answered. Nothing is invented — no guessing, no pattern generation.

**The harvest needs the GOOGLE_SERP proxy.** It is the only route to Google. A keywords-only run fails without that proxy group; a run that also has profile URLs warns and carries on with those.

**Rate limiting happens.** X throttles heavy anonymous traffic. Retries and IP rotation reduce that, but some rows still come back blocked; lower `maxConcurrency` and rerun.

**Private, suspended or renamed accounts.** These return a row with a reason in `error` rather than partial data. A stale handle resolves to a missing profile.

**No posts, follower lists or DMs.** Profile-level only. The X Profile Contact Scraper does not read timelines, follower graphs, likes or messages.

**Compliance is yours.** The X Profile Contact Scraper collects public data; deciding whether your intended use is lawful remains your responsibility.

***

### FAQ

#### How does keyword search work?

In two phases. A Google harvest on the GOOGLE_SERP proxy searches with an email dork — `site:x.com indie hacker "@gmail.com"` — expanded across your keywords, `queryModifiers` and address domains, each result returning a handle with the address published beside it. Every account found is then fetched on the RESIDENTIAL proxy for its profile data, and the two are merged into one row.

#### Why does a row have `success: true` when the fetch was blocked?

Because `success` now means the run produced something usable: the profile was fetched, or an address was found. A blocked profile still yields a row with the email from the harvest, and `error` records what happened.

#### Do profile URLs and usernames still work?

Yes, unchanged. Keywords are an additional way in, not a replacement, and both combine in one run — supplied accounts are queued first, then whatever the harvest discovers.

#### Does it return follower counts?

Yes, when the profile page renders in full: `followersCount`, `followingCount` and `postsCount` are filled from the page text. Display name, bio and avatar always come through.
Some rows still arrive with the name and bio only, because X served the reduced page for them — re-running those often fills the counts in.

#### Does it work with old `twitter.com` URLs?

Yes. Both `x.com` and `twitter.com` normalise to the same canonical target, so a legacy Twitter profile scraper list works as-is.

#### Do I need an X account, API key or cookies?

No. The X Profile Contact Scraper reads only what an anonymous visitor sees — no login, no cookie jar, no official or private API.

#### Can it find emails that were never made public?

No. This X email finder reads public pages — bio, display name, external URL, plus what Google indexed. Addresses never published stay out of reach.

#### How do I get only the profiles with a contact address?

Set `onlyWithEmail` to `true`. Profiles with no public address are skipped instead of written as empty rows.

#### How many profiles can one run process?

The free plan caps a run at 100. On a paid plan the X Profile Contact Scraper accepts a `maxProfiles` of up to 100,000, billed per saved row.

#### Which platform should I use if I need audience size?

X returns it whenever the page renders in full. For a follower count on every row, Instagram, TikTok, YouTube, Pinterest, Threads and Mastodon publish theirs consistently — see below.

***

### Related Actors

The same engine, one Actor per platform. All 29 siblings:

| Actor | What it collects |
|---|---|
| [X Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/x-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from X |
| [X Profile Phone Number Scraper](https://apify.com/leads-scraper/x-profile-phone-number-scraper) | Phone numbers plus bio and follower counts from X profiles |
| [Behance Profile Email Scraper](https://apify.com/leads-scraper/behance-profile-email-scraper) | Emails plus bio and follower counts from Behance profiles |
| [Bluesky Profile Email Scraper](https://apify.com/leads-scraper/bluesky-profile-email-scraper) | Emails plus bio and follower counts from Bluesky profiles |
| [Buy Me a Coffee Profile Email Scraper](https://apify.com/neuro-scraper/buy-me-a-coffee-profile-email-scraper) | Emails plus bio and follower counts from Buy Me a Coffee profiles |
| [DEV Community Profile Email Scraper](https://apify.com/neuro-scraper/dev-to-profile-email-scraper) | Emails plus bio and follower counts from DEV Community profiles |
| [DeviantArt Profile Email Scraper](https://apify.com/leads-scraper/deviantart-profile-email-scraper) | Emails plus bio and follower counts from DeviantArt profiles |
| [Dribbble Profile Email Scraper](https://apify.com/leads-scraper/dribbble-profile-email-scraper) | Emails plus bio and follower counts from Dribbble profiles |
| [Facebook Profile Email Scraper](https://apify.com/leads-scraper/facebook-profile-email-scraper) | Emails plus bio and follower counts from Facebook profiles |
| [Flipboard Profile Email Scraper](https://apify.com/neuro-scraper/flipboard-profile-email-scraper) | Emails plus bio and follower counts from Flipboard profiles |
| [GitHub Profile Email Scraper](https://apify.com/leads-scraper/github-profile-email-scraper) | Emails plus bio and follower counts from GitHub profiles |
| [GitLab Profile Email Scraper](https://apify.com/neuro-scraper/gitlab-profile-email-scraper) | Emails plus bio and follower counts from GitLab profiles |
| [Gumroad Profile Email Scraper](https://apify.com/leads-scraper/gumroad-profile-email-scraper) | Emails plus bio and follower counts from Gumroad profiles |
| [Hashnode Profile Email Scraper](https://apify.com/neuro-scraper/hashnode-profile-email-scraper) | Emails plus bio and follower counts from Hashnode profiles |
| [Hugging Face Profile Email Scraper](https://apify.com/neuro-scraper/hugging-face-profile-email-scraper) | Emails plus bio and follower counts from Hugging Face profiles |
| [Instagram Profile Email Scraper](https://apify.com/leads-scraper/instagram-profile-email-scraper) | Emails plus bio and follower counts from Instagram profiles |
| [Kick Profile Email Scraper](https://apify.com/leads-scraper/kick-profile-email-scraper) | Emails plus bio and follower counts from Kick profiles |
| [Linktree Profile Email Scraper](https://apify.com/leads-scraper/linktree-profile-email-scraper) | Emails plus bio and follower counts from Linktree profiles |
| [Mastodon Profile Email Scraper](https://apify.com/leads-scraper/mastodon-profile-email-scraper) | Emails plus bio and follower counts from Mastodon profiles |
| [Mixcloud Profile Email Scraper](https://apify.com/leads-scraper/mixcloud-profile-email-scraper) | Emails plus bio and follower counts from Mixcloud profiles |
| [Patreon Profile Email Scraper](https://apify.com/leads-scraper/patreon-profile-email-scraper) | Emails plus bio and follower counts from Patreon profiles |
| [Pinterest Profile Email Scraper](https://apify.com/leads-scraper/pinterest-profile-email-scraper) | Emails plus bio and follower counts from Pinterest profiles |
| [Snapchat Profile Email Scraper](https://apify.com/leads-scraper/snapchat-profile-email-scraper) | Emails plus bio and follower counts from Snapchat profiles |
| [SoundCloud Profile Email Scraper](https://apify.com/leads-scraper/soundcloud-profile-email-scraper) | Emails plus bio and follower counts from SoundCloud profiles |
| [Substack Profile Email Scraper](https://apify.com/leads-scraper/substack-profile-email-scraper) | Emails plus bio and follower counts from Substack profiles |
| [Telegram Profile Email Scraper](https://apify.com/leads-scraper/telegram-profile-email-scraper) | Emails plus bio and follower counts from Telegram profiles |
| [Threads Profile Email Scraper](https://apify.com/leads-scraper/threads-profile-email-scraper) | Emails plus bio and follower counts from Threads profiles |
| [TikTok Profile Email Scraper](https://apify.com/leads-scraper/tiktok-profile-email-scraper) | Emails plus bio and follower counts from TikTok profiles |
| [Tumblr Profile Email Scraper](https://apify.com/leads-scraper/tumblr-profile-email-scraper) | Emails plus bio and follower counts from Tumblr profiles |
| [Twitch Profile Email Scraper](https://apify.com/leads-scraper/twitch-profile-email-scraper) | Emails plus bio and follower counts from Twitch profiles |
| [YouTube Profile Email Scraper](https://apify.com/leads-scraper/youtube-profile-email-scraper) | Emails plus bio and follower counts from YouTube profiles |
| [Behance Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/behance-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Behance |
| [Bluesky Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/bluesky-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Bluesky |
| [Buy Me a Coffee Profile Email and Phone Number Scraper](https://apify.com/neuro-scraper/buy-me-a-coffee-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Buy Me a Coffee |
| [DEV Community Profile Email and Phone Number Scraper](https://apify.com/neuro-scraper/dev-to-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from DEV Community |
| [DeviantArt Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/deviantart-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from DeviantArt |
| [Dribbble Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/dribbble-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Dribbble |
| [Facebook Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/facebook-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Facebook |
| [Flipboard Profile Email and Phone Number Scraper](https://apify.com/neuro-scraper/flipboard-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Flipboard |
| [GitHub Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/github-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from GitHub |
| [GitLab Profile Email and Phone Number Scraper](https://apify.com/neuro-scraper/gitlab-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from GitLab |
| [Gumroad Profile Email and Phone Number Scraper](https://apify.com/leads-scraper/gumroad-profile-email-and-phone-number-scraper) | Emails, phone numbers and profile details from Gumroad |

### Leave a review

If the X Profile Contact Scraper saved you time, please leave a star rating and a short review on
the Actor page.

Reviews are how other buyers judge whether a tool works, and they tell us which features to
build next.

If something did not work, email <neurodata.apify@gmail.com>
instead - bugs get fixed faster than they get complained about.

### Support

Questions about the X Profile Contact Scraper, a bug to report, or a custom build for your own target list? Email **<neurodata.apify@gmail.com>** and describe what you want to collect.

Feature requests that fit the engine — new platforms, filters, output fields — are welcome, and the X Profile Contact Scraper is maintained alongside all 29 siblings listed above.

### How the X Profile Contact Scraper counts your profiles

The X Profile Contact Scraper counts profiles **per keyword and per contact type**. Set **Max profiles per keyword** to 20 and run one keyword: you get up to 20 profiles with an email and 20 profiles with a phone number, 40 in total.

Add a second keyword and the X Profile Contact Scraper gives each keyword its own 20 and 20. One keyword can never use up the share of another.

Profile URLs and usernames you give directly count as one more group of their own, with the same maximum.

#### Only emails or only phone numbers with the X Profile Contact Scraper

The X Profile Contact Scraper has two switches, **Find emails** and **Find phone numbers**. Both are on by default.

Turn off **Find phone numbers** and the X Profile Contact Scraper collects emails only. Turn off **Find emails** and it collects phone numbers only. The columns of every row stay the same either way, so a saved export or sheet keeps working.

#### Why choose the X Profile Contact Scraper

- The X Profile Contact Scraper returns the public email and the public phone number of a X profile in one run.
- The X Profile Contact Scraper saves only profiles that carry a contact you asked for, so every row has an email or a phone number.
- The X Profile Contact Scraper also returns the bio, follower counts and the profile link of each account.
- The X Profile Contact Scraper never logs in and reads public X profiles only.
- The X Profile Contact Scraper removes duplicates, so the same profile is never delivered twice.
- The X Profile Contact Scraper is billed per profile, and you pay only for the rows you ask for.
- The X Profile Contact Scraper lets you cap the cost of a run with the maximum cost setting.
- Every row of the X Profile Contact Scraper names the keyword that found it.

# Actor input Schema

## `keywords` (type: `array`):

Search terms - a niche, job title or industry. The Actor finds X accounts matching each term, then scrapes every account it finds. Use this when you do not already have a list of accounts. You can combine keywords with the profile URLs below.

## `location` (type: `string`):

Added to every keyword search, e.g. `New York`. Leave empty to search everywhere. Only applies to keyword search.

## `profileUrls` (type: `array`):

Full X profile URLs, e.g. `https://x.com/username`. Bare usernames also work. Use this when you already know which accounts you want.

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

X handles without the URL. Combined with the list above.

## `customDomains` (type: `array`):

Domains the keyword search asks Google for, e.g. `@gmail.com`. Also filters results to these domains. Leave EMPTY (recommended) to search the 12 biggest free-mail providers - Gmail, Yahoo, Outlook, Hotmail, iCloud, AOL, Proton, Live, GMX, Mail.com, Yandex and Zoho - and keep every address found, including company domains. Listing domains here narrows the search to only those.

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

Skip profiles whose public bio contains no contact address.

## `maxProfiles` (type: `integer`):

Profiles to save for EACH keyword and EACH contact type: 20 with one keyword saves up to 20 profiles with an email and 20 with a phone number; switch one type off and it is 20 in total. Profiles you give directly (URLs or usernames) count as one more group of their own.

## `findEmails` (type: `boolean`):

Collect email addresses. Turn off to collect only phone numbers.

## `findPhones` (type: `boolean`):

Collect phone numbers. Turn off to collect only emails.

## `countries` (type: `array`):

Which countries' phone numbers to look for. The search asks Google for that country's dial code, and every number found is validated against that country's real numbering plan. Country name, ISO code or dial code all work. Each extra country multiplies the number of searches.

## `maxPagesPerKeyword` (type: `integer`):

How many Google results pages to read per search query. Raise it to find more accounts. Keyword search only.

## `expandQueries` (type: `boolean`):

Search each keyword in several phrasings (keyword + "email", + "contact", ...) to reach accounts a single query misses. Keyword search only.

## `queryModifiers` (type: `array`):

Extra words combined with each keyword when query expansion is on. Leave empty to use the defaults for this platform.

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

How many profiles are fetched in parallel, and how many Google searches run at once. Raise it for speed, lower it if you see blocked rows.

## `proxyGroup` (type: `string`):

RESIDENTIAL is recommended. Profile pages block datacenter IPs.

## `countryCode` (type: `string`):

Two-letter country code for the proxy (e.g. US, GB, DE). Empty for any.

## Actor input object example

```json
{
  "keywords": [
    "founder",
    "indie hacker"
  ],
  "location": "",
  "profileUrls": [],
  "usernames": [],
  "customDomains": [],
  "onlyWithEmail": false,
  "maxProfiles": 100,
  "findEmails": true,
  "findPhones": true,
  "countries": [
    "United States",
    "United Kingdom",
    "India"
  ],
  "maxPagesPerKeyword": 5,
  "expandQueries": true,
  "queryModifiers": [
    "email",
    "contact",
    "inquiries",
    "hire",
    "work with me"
  ],
  "maxConcurrency": 10,
  "proxyGroup": "RESIDENTIAL",
  "countryCode": ""
}
```

# Actor output Schema

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

Records produced by X Profile Contact Scraper, stored in the run's default dataset.

# 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 = {
    "keywords": [
        "founder",
        "indie hacker"
    ],
    "location": "",
    "countries": [
        "United States",
        "United Kingdom",
        "India"
    ],
    "countryCode": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("leads-scraper/x-profile-contact-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 = {
    "keywords": [
        "founder",
        "indie hacker",
    ],
    "location": "",
    "countries": [
        "United States",
        "United Kingdom",
        "India",
    ],
    "countryCode": "",
}

# Run the Actor and wait for it to finish
run = client.actor("leads-scraper/x-profile-contact-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 '{
  "keywords": [
    "founder",
    "indie hacker"
  ],
  "location": "",
  "countries": [
    "United States",
    "United Kingdom",
    "India"
  ],
  "countryCode": ""
}' |
apify call leads-scraper/x-profile-contact-scraper --silent --output-dataset

```

## MCP server setup

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