# Whatsapp Number Validator (Pay Per Result) (`vtrdev/whatsapp-number-validator`) Actor

Quickly verify WhatsApp presence for phone numbers. Enjoy accurate, bulk validation with pay-per-result pricing. Validate up to 19.200 numbers/min. Perfect for marketing, support, and data enrichment. Efficient, scalable, and reliable.

- **URL**: https://apify.com/vtrdev/whatsapp-number-validator.md
- **Developed by:** [VTRDEV](https://apify.com/vtrdev) (community)
- **Categories:** Lead generation, Automation, Other
- **Features:** Full permissions
- **Stats:** 1,478 total users, 62 monthly users, 100.0% runs succeeded, 25 bookmarks
- **User rating**: 4.18 out of 5 stars

## Pricing

$1.00 / 1,000 results

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

## Whatsapp Number Validator (Pay Per Result)

### Overview

This Apify Actor provides a robust and efficient solution for validating WhatsApp phone numbers. It allows you to quickly determine whether a given phone number has an active WhatsApp account, making it an invaluable tool for businesses, marketers, and developers. With its pay-per-result pricing model, you only pay for the successful validations (true / false), ensuring cost-effectiveness and transparency.

### Key Features

- ✅ **Accurate Validation:** Reliably checks if a phone number is registered on WhatsApp.
- 🚀 **Bulk Processing:** Efficiently validate multiple phone numbers in a single run.
- 💰 **Pay-Per-Result Pricing:** Only pay for successful validations (true/false), optimizing your budget.
- ⚡ **Fast Response Time:** Validate up to 19.200 numbers per minute with parallel processing.
- 🔌 **Simple Integration:** Easy to use with a straightforward input and output format.
- 🔒 **No WhatsApp Account Needed:** Unlike some providers, you don’t need to connect your own WhatsApp account or scan QR codes — everything works out of the box.

### Use Cases

- **Marketing Campaigns:** Clean your contact lists by removing invalid WhatsApp numbers, improving campaign efficiency and reducing bounce rates.
- **Customer Support:** Verify customer contact information to ensure seamless communication via WhatsApp.
- **Lead Generation:** Qualify leads by confirming their WhatsApp presence, enabling targeted outreach.
- **Data Enrichment:** Enhance your existing datasets with accurate WhatsApp availability information.

### How it Works

The Whatsapp Number Validator Actor takes a list of phone numbers as input. It then processes each number, checking for an active WhatsApp account. The output provides a clear indication of whether each number has WhatsApp, along with the original phone number.

### Pricing

This Actor operates on a pay-per-result model, ensuring you only pay for the value you receive.

- **$1 per 1000 Results.**

### Performance

Our tests indicate exceptional performance, allowing for high-volume validation:

- **Response Time:** Approximately only 10 seconds for 100 numbers per actor run.
- **Validation Rate:** Up to 19.200 number validations per minute.
- **Memory:** Only 128MB per actor RUN.

### Input Parameters

| Field         | Type   | Description                                     | Default value |
| :------------ | :----- | :---------------------------------------------- | :------------ |
| `phone_numbers` | `array` | A list of phone numbers to validate for WhatsApp presence. | `[]`          |

### Input Example

```json
{
  "phone_numbers": [
    "12025550123",
    "13125550123"
  ]
}
```

### Output Example

```json
[
  {
    "phone": "12025550123",
    "hasWhatsapp": true
  },
  {
    "phone": "13125550123",
    "hasWhatsapp": true
  }
]
```

### Why Choose Whatsapp Number Validator?

Here's a comparison of using our Actor versus manual checking or other less efficient methods:

| Feature             | Whatsapp Number Validator (Actor) | Manual Checking / Other Methods |
| :------------------ | :-------------------------------- | :------------------------------ |
| **Speed**           | Up to 19.200 checks/minute        | Very slow, human-dependent      |
| **Accuracy**        | High, real-time validation        | Prone to human error, outdated  |
| **Cost-Efficiency** | Pay-per-result, no wasted spend   | High labor costs, fixed fees    |
| **Scalability**     | Unlimited bulk processing         | Limited, resource-intensive     |
| **Automation**      | Fully automated                   | Manual, time-consuming          |
| **Integration**     | Seamless API integration          | Complex, custom solutions       |
| **Reliability**     | Consistent, robust performance    | Inconsistent, prone to blocks   |
| **Account Setup**   | No WhatsApp account required      | Requires personal account / QR  |

### Support

For any questions, issues, or custom requirements, please reach out to our support team. We are dedicated to ensuring your success with the Whatsapp Number Validator Actor.

### FAQ

**Q: How accurate is the validation?**
A: Our validation process is highly accurate, providing reliable results on WhatsApp account presence.

**Q: Do I need to connect my own WhatsApp account or scan QR codes?**
A: No. Unlike other providers, this Actor works independently — no account connection is needed.

**Q: What happens if a number does not have WhatsApp?**
A: The output will clearly indicate `"hasWhatsapp": false` for such numbers.

**Q: Is there a limit to the number of phone numbers I can validate?**
A: No, you can validate as many numbers as you need. The Actor is designed for bulk processing.

**Q: How can I integrate this Actor into my workflow?**
A: The Actor provides a simple API for integration. Refer to the Apify documentation for detailed integration guides.

# Actor input Schema

## `phone_numbers` (type: `array`):

Enter the phone number you want to check, including the country code (e.g., +628123456789).

## Actor input object example

```json
{
  "phone_numbers": [
    "+628123456789",
    "+14155552671",
    "919876543210",
    "+447911123456"
  ]
}
```

# 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 = {
    "phone_numbers": [
        "+628123456789",
        "+14155552671",
        "+919876543210",
        "+447911123456"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vtrdev/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 = { "phone_numbers": [
        "+628123456789",
        "+14155552671",
        "+919876543210",
        "+447911123456",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vtrdev/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 '{
  "phone_numbers": [
    "+628123456789",
    "+14155552671",
    "+919876543210",
    "+447911123456"
  ]
}' |
apify call vtrdev/whatsapp-number-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vtrdev/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/KJ7iuMLQhNJr9w0jM/builds/My4ZwQI2MQlR7sFiZ/openapi.json
