# WhatsApp Profile Scraper - Picture, About, Business Data (`vero-api/whatsapp-scraper`) Actor

Extract publicly available contact and business profile information from WhatsApp and WhatsApp Business. Retrieve profile details such as display name, phone number, business information, profile photo, status for automation, CRM enrichment, lead qualification, and business intelligence workflows.

- **URL**: https://apify.com/vero-api/whatsapp-scraper.md
- **Developed by:** [Veronica](https://apify.com/vero-api) (community)
- **Categories:** Social media, Automation, Integrations
- **Stats:** 23 total users, 11 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 number checkeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## WhatsApp Profile Scraper & Number Validator

**WhatsApp Scraper** is a bulk **WhatsApp data extraction** tool that turns a list of phone numbers into rich, structured profile data. For every number it verifies whether the account exists on **WhatsApp** and then **scrapes the public WhatsApp profile** — **profile picture**, **about/status text**, **personal-vs-business** account type, and, for **WhatsApp Business** accounts, the full business profile: **business name, category, email, website, address, and opening hours**. Feed it phone numbers and get back clean data you can download as **JSON, CSV, Excel, HTML, or XML**.

It's both a **WhatsApp profile scraper** and a **WhatsApp number validator**: use it to **scrape WhatsApp Business contact details** (email, website, address) for lead generation, **enrich CRM records** with profile data, and **check if a number is on WhatsApp** to clean phone lists before a campaign. It runs in the cloud and needs no coding.

### What does the WhatsApp Scraper do?

For each phone number, the Actor:

1. **Validates the phone number format** — malformed numbers are rejected up front, so you never waste a lookup on a number that can't be valid.
2. **Checks WhatsApp registration** — confirms whether the number is a real, registered WhatsApp account.
3. **Scrapes the public WhatsApp profile** — for a registered number it pulls the public **profile picture URL**, the **about/status** text, and whether the account is **personal** or a **WhatsApp Business** account.
4. **Extracts the full WhatsApp Business profile** — for business accounts it also captures the **business description, category, contact email, website(s), address, time zone, and opening hours** in a structured `business` object.

### What data does it scrape?

Each result is **one row per phone number**:

| Data | Details |
|---|---|
| 📱 **Number** | the phone number that was checked, in E.164 digits |
| ✅ **Has WhatsApp** | whether the number is a registered WhatsApp account (`true` / `false`) |
| 🏷️ **Account type** | `personal` or `business` (WhatsApp Business) |
| 💬 **About / status** | the public about text the user has chosen to share |
| 🖼️ **Profile picture** | public profile picture URL |
| 🏢 **Business profile** | nested `business` object for Business accounts: description, category, email, websites, address, time zone, and opening hours |

> Fields hidden by a user's WhatsApp privacy settings come back as `null`.

### Features

#### 🖼️ Public WhatsApp profile scraping
Beyond a simple yes/no, the Actor scrapes the public **profile picture URL**, the **about/status text**, and the **account type** (personal or WhatsApp Business) for every registered number — the data you'd otherwise have to open each chat to see.

#### 🏢 WhatsApp Business profile data extraction
Flags whether each number is a **WhatsApp Business** account or personal, and for business accounts scrapes the full public profile — **description, category, email, websites, address, time zone, and opening hours** — straight into a nested `business` object. It's a ready-made **WhatsApp Business lead scraper**.

#### ✅ Bulk WhatsApp number validation
Pass an array of phone numbers and the Actor checks each one independently. **Invalid numbers are reported per-number without stopping the run**, so a single bad number never kills the whole job — ideal for validating and enriching large phone lists in one go.

#### 🧹 Phone-list cleaning & lead verification
Filter a raw phone list down to numbers that **actually have WhatsApp**, so your outreach reaches real, reachable people and your message credits aren't wasted on bounces.

#### 📤 Clean, structured output
Results are written to a dataset you can export as **JSON, CSV, Excel, HTML, or XML** — one row per phone number, ready to drop into a spreadsheet, CRM, or automation.

### How to scrape WhatsApp profile data

1. Add the phone numbers you want to look up to the input in international **E.164 format** (e.g. `+14155552671`).
2. Click **Start** and let the Actor run.
3. Download the scraped results from the **Storage** tab as JSON, CSV, or Excel — or push them anywhere with Apify integrations.

### Input example

```json
{
    "numbers": ["+14155552671", "+905010740316"]
}
````

Provide numbers in international **E.164 format** (e.g. `+14155552671`). See the **Input** tab for the full schema.

### Output example

The Actor returns **one record per number**:

```json
{
    "number": "14155552671",
    "hasWhatsApp": true,
    "accountType": "business",
    "about": "Hey there! I am using WhatsApp.",
    "profilePicUrl": "https://pps.whatsapp.net/...",
    "business": {
        "description": "Fresh groceries delivered daily.",
        "category": "Grocery Store",
        "email": "hello@example.com",
        "websites": ["https://example.com"],
        "address": "123 Market St, San Francisco, CA",
        "timezone": "America/Los_Angeles",
        "hours": [
            { "day": "mon", "mode": "specific_hours", "openTime": "09:00", "closeTime": "17:00" }
        ]
    }
}
```

For **personal** accounts `business` is `null`.

Numbers **not** on WhatsApp return `{ "hasWhatsApp": false }`; **invalid** numbers return `{ "hasWhatsApp": false, "error": "..." }` without stopping the run.

### Input reference

| Field | Type | Description |
|---|---|---|
| `numbers` | array | Phone numbers to scrape, in international E.164 format (e.g. `+14155552671`). Invalid formats are reported per-number without stopping the run. |

### Real-time API

Need profile data on demand? Turn on **Standby mode** and call the actor like a live API — send a batch of numbers, get the scraped results straight back in the HTTP response. Up to 50 numbers per request.

Every request needs your Apify token, passed as a `Bearer` token (or a `?token=` query param).

**Scrape a batch of numbers:**

```bash
curl -X POST "https://vero-api--whatsapp-scraper.apify.actor/" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"numbers": ["+14155552671", "+353830648858"]}'
```

The response is JSON: a `results` array (one entry per number, same fields as the dataset) plus `checked` and `skipped` counts.

### Why use a WhatsApp scraper?

Scraping WhatsApp profile data and validating numbers before you contact them saves time, money, and your sender reputation. Common use cases for this WhatsApp scraper include:

- **B2B lead generation from WhatsApp Business** — turn a phone number into a company's public **email, website, address, and opening hours**, ready for sales outreach or a directory.
- **Lead enrichment & data cleaning** — attach WhatsApp status, account type, and profile data to raw phone lists, then filter down to numbers that actually have WhatsApp.
- **Marketing & WhatsApp campaigns** — validate audiences before a broadcast to cut bounce rates and avoid wasted message credits.
- **CRM hygiene & enrichment** — de-duplicate and enrich contact records with verified WhatsApp status, account type, and public profile fields.
- **Research & verification** — confirm whether a number is on WhatsApp and capture the public profile details a user has chosen to share.

### Frequently asked questions

#### What can the WhatsApp Scraper extract?

For each number it scrapes the public **profile picture URL**, the **about/status text**, the **account type** (personal or WhatsApp Business), and the full **business profile** for Business accounts (description, category, email, websites, address, opening hours) — plus a `hasWhatsApp` flag for validation.

#### How do I check if a phone number is on WhatsApp?

Add the number in E.164 format to the input and run the Actor. It returns `hasWhatsApp: true` or `false`, plus the scraped public profile data for registered numbers.

#### Can I scrape and validate WhatsApp numbers in bulk?

Yes. Pass an array of numbers and the Actor processes each one, returning a separate result row per number. Invalid numbers are skipped individually without stopping the run.

#### Can it tell a WhatsApp Business account from a personal one?

Yes. Every registered number is tagged with an `accountType` of `business` or `personal`, and Business accounts also return a nested `business` object with the company's public details.

#### What WhatsApp Business details can it scrape?

For a WhatsApp Business account, the `business` object includes the **business description, category/vertical, contact email, website URLs, physical address, time zone, and opening hours** — everything the business has chosen to publish on its WhatsApp profile. Personal accounts return `business: null`.

#### In what formats can I export the scraped data?

You can download the dataset as **JSON, CSV, Excel, HTML, or XML** from the Storage tab, or send it to Google Sheets, a database, or any service through Apify integrations.

# Actor input Schema

## `numbers` (type: `array`):

Phone numbers to check, in international E.164 format (e.g. +14155552671). Invalid formats are reported per-number without stopping the run. Up to 50 numbers per run.

## Actor input object example

```json
{
  "numbers": [
    "+15558681494",
    "+353830648858"
  ]
}
```

# Actor output Schema

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

One row per checked phone number.

# 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 = {
    "numbers": [
        "+15558681494",
        "+353830648858"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vero-api/whatsapp-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 = { "numbers": [
        "+15558681494",
        "+353830648858",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vero-api/whatsapp-scraper").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 '{
  "numbers": [
    "+15558681494",
    "+353830648858"
  ]
}' |
apify call vero-api/whatsapp-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=vero-api/whatsapp-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "WhatsApp Profile Scraper - Picture, About, Business Data",
        "description": "Extract publicly available contact and business profile information from WhatsApp and WhatsApp Business. Retrieve profile details such as display name, phone number, business information, profile photo, status for automation, CRM enrichment, lead qualification, and business intelligence workflows.",
        "version": "1.0",
        "x-build-id": "AIJztC4sL0b67xrzs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/vero-api~whatsapp-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-vero-api-whatsapp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/vero-api~whatsapp-scraper/runs": {
            "post": {
                "operationId": "runs-sync-vero-api-whatsapp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/vero-api~whatsapp-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-vero-api-whatsapp-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "numbers"
                ],
                "properties": {
                    "numbers": {
                        "title": "Phone numbers",
                        "maxItems": 50,
                        "type": "array",
                        "description": "Phone numbers to check, in international E.164 format (e.g. +14155552671). Invalid formats are reported per-number without stopping the run. Up to 50 numbers per run.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
