# All-in-One Social Media Phone Number Scraper (`maximedupre/social-media-phone-number-scraper`) Actor

Find public phone numbers on one selected social or professional platform at a time using keywords, country filters, and location filters. Get each number with its source profile or page, platform, and public context when available.

- **URL**: https://apify.com/maximedupre/social-media-phone-number-scraper.md
- **Developed by:** [Maxime Dupré](https://apify.com/maximedupre) (community)
- **Categories:** Social media, Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.65 / 1,000 phone numbers

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?

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

### 📞 Find public phone numbers on social media

Social Media Phone Number Scraper helps sales teams, recruiters, and researchers find phone numbers publicly shown on profiles and pages. Choose one platform, add search keywords, and review phone matches with the number, profile or page, URL, platform, country details when available, and public context.

- Build a public business phone list with **[Business Phone Number Scraper](https://apify.com/maximedupre/social-media-phone-number-scraper/examples/business-phone-number-scraper)** for a keyword such as a restaurant type.
- Find public phone numbers across a chosen platform with **[Find Phone Numbers on Social Media](https://apify.com/maximedupre/social-media-phone-number-scraper/examples/find-phone-numbers-on-social-media)**.
- Search public LinkedIn profiles and pages with **[LinkedIn Phone Number Scraper](https://apify.com/maximedupre/social-media-phone-number-scraper/examples/linkedin-phone-number-scraper)**.
- Search public Facebook profiles and pages with **[Facebook Phone Number Scraper](https://apify.com/maximedupre/social-media-phone-number-scraper/examples/facebook-phone-number-scraper)**.
- Collect public phone matches with source details using **[Social Media Phone Number Scraper](https://apify.com/maximedupre/social-media-phone-number-scraper/examples/social-media-phone-number-scraper)**.

#### 📋 See phone results with source details

Each dataset row contains a phone number found in matching public content. It also includes the source profile or page name, its URL, the platform, detected phone-country details when available, and relevant public context when available.

#### ▶️ Search one platform at a time

Choose one social or professional platform, add one or more keywords, and start the run. You can narrow discovery by phone country or by city or region, then set a result limit when you want fewer rows. A run searches the selected platform only, so separate platform searches are not combined into one run.

#### ⚙️ Input

**Input fields**

| Field | Type | What it does |
| --- | --- | --- |
| `platform` | string | Choose the social or professional platform to search. |
| `keywords` | array of strings | Required search terms that describe the public profiles or pages to find. |
| `phoneCountry` | string | Optional country filter. Use `All countries`, a country code such as `US`, or a calling code such as `+1`. |
| `location` | string | Optional city or region used to narrow profile discovery. |
| `maxItems` | integer | Optional limit on saved phone results. Leave it empty to return all available results until public sources are exhausted. |

**Example input**

This example is copied from the public input of the successful Hosted QA default-input run:

```json
{
  "platform": "Yelp",
  "keywords": [
    "restaurant"
  ],
  "phoneCountry": "US",
  "location": "New York",
  "maxItems": 2
}
```

Use one or more keywords for the selected platform. Suggested platform values cover common services, and you can enter another supported platform. Leave `location` blank when you do not need a location filter. Leave `maxItems` empty to return all available results until public sources are exhausted.

#### 🧾 Output

The Output panel links to the default dataset. The dataset uses one row shape, and optional fields may be absent when the public source does not provide them.

**Dataset link**

| Field | Type | What it does |
| --- | --- | --- |
| `dataset` | link | Opens the default dataset with the phone results found by the Actor. |

**Phone result fields**

| Field | Type | What it does |
| --- | --- | --- |
| `phoneNumber` | string | Phone number found in public source content. It uses a normalized form when normalization is possible. |
| `profileName` | string | Name or other public identity of the profile or page that contains the phone number. |
| `profileUrl` | URL string | Public URL of the profile or page that contains the phone number. |
| `platform` | string | Social or professional platform where the profile or page was found. |
| `phoneCountry` | object | Detected phone-country details when available. |
| `phoneCountry.code` | string | Detected ISO 3166-1 alpha-2 country code, such as `US`. |
| `phoneCountry.callingCode` | string | Detected international calling code, such as `+1`. |
| `sourceContext` | string | Relevant public context from the source, such as a profile description, bio, or search snippet, when available. |

#### 💳 Pricing

This Actor uses pay-per-event pricing. The buyer-facing event covers one phone number publicly surfaced in content matching the search, with its available source profile or page details. The current price appears in the pricing panel. A run can return fewer rows than requested when matching public data is limited.

#### 🔌 Integrations

Open the default dataset after a run, or read its structured rows through the Apify API.

https://www.youtube.com/watch?v=bNACk1\_S\_6w\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=4

#### ❓ FAQ

##### Can I search more than one platform in one run?

No. Choose one platform for each run. Separate platform searches are not combined into one run.

##### What happens when I leave Maximum results empty?

The Actor returns all available results until public sources are exhausted. A smaller integer stops the run after that many phone results.

##### Can I filter phone numbers by country or calling code?

Yes. Use `All countries`, a country code such as `US`, or a calling code such as `+1` in `phoneCountry`.

##### Can I narrow discovery by city or region?

Yes. Add a city or region in `location`. Leave it blank to search without a location filter.

##### What happens if the same source item matches more than once?

The first eligible occurrence is saved. Later matches for the same source item are ignored, so the saved row keeps the first match's source details.

##### Does the Actor search private or login-only profiles?

No. It is limited to publicly accessible or publicly indexed social and profile content. Phone ownership, reachability, consent, and permission to contact are not verified.

##### What if a matching page has no public phone number?

There is no phone result to save from that page unless a phone number is publicly surfaced and matches the search and filters. The Actor does not promise every matching page or phone number.

### 📝 Changelog

**v0.0** (24-09-2026)

- Initial release.

### 🆘 Support

For issues, questions, or feature requests, [file a ticket](https://console.apify.com/actors/maximedupre~social-media-phone-number-scraper/issues) and I'll fix or implement it in less than 24h 🫡

### 🔗 Related Actors

- **[LinkedIn B2B Phone Number Scraper](https://apify.com/maximedupre/linkedin-b2b-phone-number-scraper)**: Search public LinkedIn content for B2B leads with available phone numbers and business emails.
- **[Instagram Email Phone Scraper - No Cookies](https://apify.com/maximedupre/instagram-b2b-phone-number-scraper)**: Enrich known public Instagram profiles with available phone numbers and emails.
- **[Facebook Profile Lead Scraper](https://apify.com/maximedupre/facebook-profile-lead-scraper)**: Find public personal Facebook profiles by keyword and optional location.
- **[Website Email Scraper](https://apify.com/maximedupre/website-emails-scraper)**: Find public email addresses on submitted website pages after social profile research.
- **[YouTube Channel Search Scraper](https://apify.com/maximedupre/youtube-channel-search-scraper)**: Find public YouTube channels by keyword and review their available channel details.

**Made with ❤️ by Maxime Dupré**

# Actor input Schema

## `platform` (type: `string`):

Choose the social or professional platform to search. The suggestions cover common platforms, and you can enter another supported platform.

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

Enter one or more keywords that describe the public profiles or pages you want to find. The Actor uses them to search public profile and page content.

## `phoneCountry` (type: `string`):

Optional. Choose All countries, a country code such as US, or a calling code such as +1 to keep matching phone numbers from that country.

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

Optional. Enter a city or region to narrow profile discovery. Leave this blank to search without a location filter.

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

Optional. Stop after this many phone results. Leave it blank to return all available results until public sources are exhausted.

## Actor input object example

```json
{
  "platform": "Yelp",
  "keywords": [
    "restaurant"
  ],
  "phoneCountry": "US",
  "location": "New York",
  "maxItems": 2
}
```

# Actor output Schema

## `dataset` (type: `string`):

Open the dataset with the phone results found by the Actor.

# 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 = {
    "platform": "Yelp",
    "keywords": [
        "restaurant"
    ],
    "phoneCountry": "US",
    "location": "New York",
    "maxItems": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("maximedupre/social-media-phone-number-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 = {
    "platform": "Yelp",
    "keywords": ["restaurant"],
    "phoneCountry": "US",
    "location": "New York",
    "maxItems": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("maximedupre/social-media-phone-number-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 '{
  "platform": "Yelp",
  "keywords": [
    "restaurant"
  ],
  "phoneCountry": "US",
  "location": "New York",
  "maxItems": 2
}' |
apify call maximedupre/social-media-phone-number-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maximedupre/social-media-phone-number-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/5WfyhMzyvR4FaSKIb/builds/kalXysaL6YqQszZrb/openapi.json
