# ✅ WhatsApp Number #️⃣ Validator ✅ (`thinkerpro/whatsapp-number-validator`) Actor

✅ This tool validates whether a phone number is registered on WhatsApp. It is essential for marketing campaigns and other communication strategies.

The result will be true ✅ or false ❌

You will get the result in a file that you can export

- **URL**: https://apify.com/thinkerpro/whatsapp-number-validator.md
- **Developed by:** [Julian](https://apify.com/thinkerpro) (community)
- **Categories:** Automation, Social media, Integrations
- **Security:** Full permissions
- **Stats:** 522 total users, 3 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 4.13 out of 5 stars

## Pricing

$5.00 / 1,000 validations

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

### ✅ Bulk WhatsApp Validator ✅

Ensure your campaign's success! 🚀 Instantly verify if your contact lists have an active WhatsApp account before sending them messages.

It's very simple: our tool allows you to check in bulk if a list of phone numbers is registered on WhatsApp. As a result, you will get a clear and easy-to-understand report (TRUE or FALSE) for each contact. With this information, you can make smart and effective decisions. 📊

#### 👨‍💻 Updates

##### October 16, 2025

We performed a significant refactor of the validator's functionality, resulting in improved speed and enhanced capacity for debugging and scaling.

##### August 7,2025

Now, we can support numbers starting with the plus symbol (+); the script automatically cleans the symbol.

#### 🤔 Why is it so important to validate your contacts?

⚠️ Protect your line and optimize your sends! ⚠️

Before launching any WhatsApp campaign, it is essential that you communicate only with numbers that exist and are active on the platform.

Sending messages to numbers that do not have WhatsApp is a very risky practice. WhatsApp service providers (Meta) actively monitor account behavior. If they detect that a line repeatedly tries to contact invalid numbers, they may interpret it as a sign of spam or poor database management.

Consequences of not validating your numbers:

```
🚫 Line Blocking: Your WhatsApp number could be suspended temporarily or permanently.

📉 Drop in Reputation: The "quality score" of your number will decrease, affecting the delivery of future messages.

💸 Loss of Money: You will spend your budget on messages that will never reach their destination.
```

✨ Key Benefits of Using Our Validator ✨

```
🎯 Improve Delivery Rate: Ensure that 100% of your messages are sent to real and active users.

💰 Save Money and Resources: Don't waste your budget contacting numbers that don't exist on WhatsApp. Every penny counts!

🛡️ Protect Your Line's Reputation: Avoid being marked as spam and maintain the health and trust of your WhatsApp Business number.

📈 Increase Campaign ROI: By targeting only a valid audience, your campaigns will be much more effective and profitable.

📋 Clean Up Your Databases: Keep your contact lists clean, updated, and ready for action. A healthy database is an invaluable asset!
```

💡 Beyond Marketing: Digital Identity Verification 💡

Our validator isn't just for marketing campaigns. You can use it as a simple yet powerful digital identity verification tool.

How it works: A WhatsApp account requires an active, operational phone number for registration and use.

The implication: When our tool returns a TRUE status, it not only confirms the existence of a WhatsApp account but also provides a strong signal that the phone line is active and currently in use.

```
Use Cases:

    📖 User Onboarding: Quickly check if a phone number provided during registration is real.

    🏥 Database Health: Periodically verify the status of user phone numbers in your system.

    🔐 Fraud Prevention: Add an extra layer of validation to reduce fake or inactive phone number submissions.
```

This turns a simple check into a valuable data point about the user's digital footprint. 👣

# Actor input Schema

## `PhoneNumbersArray` (type: `array`):

Phone numbers array including the country code

## Actor input object example

```json
{
  "PhoneNumbersArray": [
    "573168885522",
    "573224448866"
  ]
}
```

# 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 = {
    "PhoneNumbersArray": [
        "573168885522",
        "573224448866"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thinkerpro/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 = { "PhoneNumbersArray": [
        "573168885522",
        "573224448866",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thinkerpro/whatsapp-number-validator").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 '{
  "PhoneNumbersArray": [
    "573168885522",
    "573224448866"
  ]
}' |
apify call thinkerpro/whatsapp-number-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thinkerpro/whatsapp-number-validator"
        }
    }
}
```

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/qhBvlp2ANcGoVSqj5/builds/oadNI6n9tq0Navv6X/openapi.json
