# Social Media Phone Finder (`caprolok/social-media-phone-finder`) Actor

Extract phone numbers from websites and social media profiles—like TikTok and Twitter. Works with URLs, usernames, or keyword searches. Perfect for lead generation, data scraping, and enrichment workflows.

- **URL**: https://apify.com/caprolok/social-media-phone-finder.md
- **Developed by:** [Caprolok](https://apify.com/caprolok) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 75 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#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

## Social Media Phone Finder

Find social profiles by niche keyword and extract publicly listed phone numbers across Instagram, TikTok, YouTube, Twitter (X), Threads, Reddit, Facebook, and VK.

### Expected hit-rate (honest)

Public phones on social SERP are **much rarer** than emails. Many profiles seed **0** numbers even when the search returns profile links. Enrichment can add a few more, but treat this Actor as sparse contact discovery - not a phone directory.

### What you can extract

- Validated E.164 `phone_numbers[]` (invalid strings dropped before charge)
- `phone` (primary), best-effort `phone_country`, `phone_line_type` (usually `unknown`)
- Name, username, about / bio
- Platform, profile link, thumbnail
- Followers / following / posts when present
- Keyword used for the run

### Phone mode

| Mode | Bias |
| ---- | ---- |
| `creator` (default) | WhatsApp / call-me / +country style bios |
| `local_business` | call us / hours / store wording (IG and Facebook often better) |

### Link-in-bio (Linktree)

When `include_link_in_bio` is on (default), after platform profiles the Actor runs a capped `site:linktr.ee` filler (`platform: linktree`). Prefer `SEARCH_CONFIG.indexes.LINKTREE_BIOS`; exploded social-only stores often return 0 (fail-open).

### How to use

1. Create a free Apify account.
2. Open the [Social Media Phone Finder](https://apify.com/caprolok/social-media-phone-finder) on Apify.
3. Enter a keyword, choose platforms, set max results (optional `phone_mode` / `include_link_in_bio` / location / exclusions).
4. Click Start, then download JSON / CSV / Excel or use the API.

### Pricing

This actor uses **pay-per-event** pricing.

| Event | When it charges |
| ----- | --------------- |
| `data_request` (primary) | Once per profile row with ≥1 validated E.164 phone |
| `platform_usage` | Usage true-up based on Apify platform compute |

Free users are capped and may see upgrade placeholders after a small reveal. Set the Console Monetization primary event to `data_request`.

### Input parameters

| Field | Type | Description | Required |
| ----- | ---- | ----------- | -------- |
| `keyword` | string | Niche or industry keyword | Yes |
| `platforms` | array of string | One or more of `INSTAGRAM`, `TIKTOK`, `YOUTUBE`, `TWITTER`, `THREADS`, `REDDIT`, `FACEBOOK`, `VK` | Yes |
| `max_results` | integer | Max profiles with phone numbers (default 10) | Yes |
| `phone_mode` | string | `creator` or `local_business` | No |
| `include_link_in_bio` | boolean | Linktree filler pass (default true) | No |
| `location` | string | Country filter (e.g. `US`) | No |
| `exclusions` | array of string | Keywords / usernames to exclude | No |

#### Sample input

```json
{
    "keyword": "marketing",
    "platforms": ["INSTAGRAM"],
    "location": "US",
    "max_results": 10,
    "phone_mode": "creator"
}
```

### Sample output

```json
[
  {
    "contentType": "profile",
    "phone_numbers": ["+15551234567"],
    "phone": "+15551234567",
    "phone_country": "US/CA",
    "phone_line_type": "unknown",
    "keyword": "marketing",
    "platform": "instagram",
    "user_link": "https://www.instagram.com/example",
    "username": "example"
  }
]
```

### Support

Questions or feature requests: open an issue on the actor page or contact the publisher via Apify.

### Related scrapers

| Actor | Use for |
| ----- | ------- |
| [Social Media Email Finder](https://apify.com/caprolok/social-media-email-finder) | Public emails by niche |
| [Social Media Profile Extractor](https://apify.com/caprolok/social-media-profile-extractor) | Enrich known handles |
| [Social Media Influencer Finder](https://apify.com/caprolok/social-media-influencer-finder) | Creator shortlist |
| [Social Media Posts Extractor](https://apify.com/caprolok/social-media-posts-extractor) | Posts from known accounts |
| [Social Media Hashtag Posts Extractor](https://apify.com/caprolok/social-media-hashtag-posts-extractor) | Niche hashtag / keyword posts |

# Actor input Schema

## `keyword` (type: `string`):

Keyword, niche, or industry to find relevant profiles (e.g. marketing).

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

Restrict search to a specific country (e.g. US).

## `platforms` (type: `array`):

Select one or more platforms to search for profiles with phone numbers.

## `exclusions` (type: `array`):

Exclude usernames, keywords, or domains from results.

## `phone_mode` (type: `string`):

creator = WhatsApp / call-me style bios; local\_business = store / hours / call-us bias (IG/FB often better).

## `include_link_in_bio` (type: `boolean`):

After platform search, fill remaining slots from site:linktr.ee. Fail-open if the index has no Linktree pages.

## `max_results` (type: `integer`):

Maximum number of profiles with phone numbers to return across selected platforms.

## Actor input object example

```json
{
  "keyword": "marketing",
  "platforms": [
    "INSTAGRAM"
  ],
  "exclusions": [],
  "phone_mode": "creator",
  "include_link_in_bio": true,
  "max_results": 10
}
```

# Actor output Schema

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

Dataset of profiles with phone numbers, usernames, and profile links.

# 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 = {
    "keyword": "marketing",
    "platforms": [
        "INSTAGRAM"
    ],
    "exclusions": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("caprolok/social-media-phone-finder").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 = {
    "keyword": "marketing",
    "platforms": ["INSTAGRAM"],
    "exclusions": [],
}

# Run the Actor and wait for it to finish
run = client.actor("caprolok/social-media-phone-finder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "marketing",
  "platforms": [
    "INSTAGRAM"
  ],
  "exclusions": []
}' |
apify call caprolok/social-media-phone-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=caprolok/social-media-phone-finder",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/VFMCBOcd2yE5YpuXZ/builds/F87NNzGd9cqU10BNO/openapi.json
