# WhatsApp Number Validator ✅📱 (`scrapier/whatsapp-number-validator`) Actor

- **URL**: https://apify.com/scrapier/whatsapp-number-validator.md
- **Developed by:** [Scrapier](https://apify.com/scrapier) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.99 / 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.

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 Number Validator

**Instantly verify whether any phone number is registered on WhatsApp.** Paste one number or thousands, hit **Start**, and watch clean, structured results stream in live. Perfect for cleaning lead lists before a campaign, confirming customer reachability, or de-duplicating a CRM.

> Powered by a dedicated WhatsApp validation engine — no WhatsApp account, login, or device required.

---

### 🌟 Why Choose This Actor?

| | |
|---|---|
| 🚀 **Bulk-first** | Validate a whole list in one run — not one number at a time. |
| ⚡ **Real-time** | Every result is pushed to the dataset the instant it's decided. A crash never loses completed work. |
| 🌐 **Smart proxy escalation** | Starts **direct** for speed; auto-falls back to **datacenter** then **residential** proxies only if blocked. |
| 🧾 **Clean output** | Structured JSON ready for Sheets, CRMs, and pipelines. |
| 🔌 **API & MCP ready** | Trigger from cURL, Make, n8n, or any HTTP client. |
| 🎯 **Zero setup** | No API keys or configuration required to get started. |

---

### ✨ Key Features

- ✅ Check if a phone number is **active on WhatsApp**
- 🌍 **Global coverage** — works with any country code
- 📞 **Bulk validation** — paste many numbers at once
- 📊 **Three dataset views** — All Results, Registered, Full Details
- 🔁 **Automatic retries** with graceful error records
- 🕒 **Timestamps & metadata** on every record (toggleable)

---

### 📥 Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `phoneNumbers` | array | ✅ | Bulk list of numbers (digits + country code). |
| `phoneNumber` | string | — | Optional single number, merged with the bulk list. |
| `proxyConfiguration` | object | — | Proxy settings. Default: direct (no proxy). |
| `concurrency` | integer | — | Parallel checks (1–10, default 3). |
| `rpm` | integer | — | Max checks per minute (default 5). |
| `maxRetries` | integer | — | Retries per number (default 3). |
| `includeMeta` | boolean | — | Add `meta` block (default true). |
| `includeTimestamp` | boolean | — | Add `timestamp` (default true). |

#### Example input

```json
{
  "phoneNumbers": ["212612542343", "15005550000", "447911123456"],
  "proxyConfiguration": { "useApifyProxy": false }
}
````

> **Tip:** include the full country code and digits only. `+`, spaces, dashes and brackets are cleaned automatically.

***

### 📤 Output

Each validated number produces one record:

```json
{
  "phoneNumber": "212612542343",
  "isValid": true,
  "exists": true,
  "timestamp": "2026-06-17T09:48:19.944292+00:00",
  "meta": {
    "instance": "wavalidator.com",
    "source": "live"
  },
  "status": "success"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `phoneNumber` | string | The number you validated (normalized digits). |
| `isValid` | boolean | `true` if registered on WhatsApp. |
| `exists` | boolean | Same as `isValid` (kept for compatibility). |
| `timestamp` | string | ISO-8601 time of the check. |
| `meta.instance` | string | Validation engine instance. |
| `meta.source` | string | Source of the validation (`live`). |
| `status` | string | `success`, or `error` on a failed check. |
| `error` | string | Present only when `status` is `error`. |

***

### 🚀 How to Use (Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) → **Actors**.
2. Open **WhatsApp Number Validator**.
3. Paste your numbers into **📞 Phone Numbers (bulk)**.
4. (Optional) tweak proxy / concurrency under the advanced sections.
5. Click **Start**.
6. Watch results appear **live** in the run log.
7. Open the **Output** tab — switch between **All Results**, **Registered**, and **Full Details** views.
8. Export to **JSON / CSV / XLSX**.

***

### 🤖 Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{ "phoneNumbers": ["212612542343", "447911123456"] }'
```

***

### 💡 Best Use Cases

- 🎯 **Marketing** — clean WhatsApp campaign lists before sending.
- 🛡️ **Verification** — confirm customers have an active WhatsApp.
- 🧹 **Data cleaning** — drop unreachable numbers from your database.
- 🔌 **CRM enrichment** — flag which leads are reachable on WhatsApp.

***

### 💰 Pricing

This Actor uses **Pay-Per-Event**. The primary event is **`number-checked`**, billed once per number validated. You also pay standard Apify platform usage (compute). Bulk runs are efficient — you only pay for the numbers you check.

***

### ❓ FAQ

**Do I need a WhatsApp account or API key?**
No. It works out of the box.

**Does it message the number?**
No. Validation is passive — the target person is never contacted or notified.

**Why did a number come back as an error?**
Transient network/engine hiccups can cause an occasional `error` status. Re-run those numbers — the Actor always returns the successful ones regardless.

**Can I check thousands of numbers?**
Yes. Add them all to `phoneNumbers`. Results stream in live as they complete.

***

### ⚖️ Cautions / Legal

- Only validates **publicly determinable** WhatsApp registration status — no private data, messages, or profile content is accessed.
- You are responsible for compliance with GDPR, CCPA, anti-spam laws, and WhatsApp's Terms when using the results.

***

### 🛟 Support & Feedback

Found a bug or want a feature? Open an issue on the Actor's **Issues** tab. We read every report.

# Actor input Schema

## `phoneNumbers` (type: `array`):

Add one or more phone numbers to validate. Include the full country code and digits only — spaces, +, dashes and brackets are cleaned automatically. Examples: 212612542343, 12125551234, 447700900123.

## `proxyConfiguration` (type: `object`):

Runs direct (no proxy) by default for best speed. If the validation engine blocks the connection, the Actor automatically escalates to a datacenter proxy and then to a residential proxy — and stays there for the rest of the run.

## `concurrency` (type: `integer`):

How many numbers to validate at the same time.

## `rpm` (type: `integer`):

Maximum validation submissions per minute. Keep modest to stay friendly with the validation engine.

## `maxRetries` (type: `integer`):

How many times to retry a number before recording it as an error.

## `includeMeta` (type: `boolean`):

Add a 'meta' object (instance + source) to each result.

## `includeTimestamp` (type: `boolean`):

Add an ISO-8601 'timestamp' to each result.

## Actor input object example

```json
{
  "phoneNumbers": [
    "212612542343",
    "15005550000",
    "447911123456"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "concurrency": 3,
  "rpm": 5,
  "maxRetries": 3,
  "includeMeta": true,
  "includeTimestamp": true
}
```

# 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 = {
    "phoneNumbers": [
        "212612542343",
        "15005550000",
        "447911123456"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapier/whatsapp-number-validator").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 = {
    "phoneNumbers": [
        "212612542343",
        "15005550000",
        "447911123456",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapier/whatsapp-number-validator").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 '{
  "phoneNumbers": [
    "212612542343",
    "15005550000",
    "447911123456"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scrapier/whatsapp-number-validator --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "WhatsApp Number Validator ✅📱",
        "version": "0.1",
        "x-build-id": "RDSSegbclzjqUTFMJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapier~whatsapp-number-validator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapier-whatsapp-number-validator",
                "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/scrapier~whatsapp-number-validator/runs": {
            "post": {
                "operationId": "runs-sync-scrapier-whatsapp-number-validator",
                "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/scrapier~whatsapp-number-validator/run-sync": {
            "post": {
                "operationId": "run-sync-scrapier-whatsapp-number-validator",
                "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": [
                    "phoneNumbers"
                ],
                "properties": {
                    "phoneNumbers": {
                        "title": "📞 Phone Numbers (bulk)",
                        "minItems": 1,
                        "type": "array",
                        "description": "Add one or more phone numbers to validate. Include the full country code and digits only — spaces, +, dashes and brackets are cleaned automatically. Examples: 212612542343, 12125551234, 447700900123.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "🌐 Proxy Configuration",
                        "type": "object",
                        "description": "Runs direct (no proxy) by default for best speed. If the validation engine blocks the connection, the Actor automatically escalates to a datacenter proxy and then to a residential proxy — and stays there for the rest of the run.",
                        "default": {
                            "useApifyProxy": false
                        }
                    },
                    "concurrency": {
                        "title": "⚡ Parallel checks",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "How many numbers to validate at the same time.",
                        "default": 3
                    },
                    "rpm": {
                        "title": "⏱️ Checks per minute",
                        "minimum": 1,
                        "maximum": 60,
                        "type": "integer",
                        "description": "Maximum validation submissions per minute. Keep modest to stay friendly with the validation engine.",
                        "default": 5
                    },
                    "maxRetries": {
                        "title": "🔁 Max retries",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "How many times to retry a number before recording it as an error.",
                        "default": 3
                    },
                    "includeMeta": {
                        "title": "🧾 Include meta block",
                        "type": "boolean",
                        "description": "Add a 'meta' object (instance + source) to each result.",
                        "default": true
                    },
                    "includeTimestamp": {
                        "title": "🕒 Include timestamp",
                        "type": "boolean",
                        "description": "Add an ISO-8601 'timestamp' to each result.",
                        "default": true
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
