# Fast WhatsApp Number Validator | $1.5/1K | Bulk Phone Cleanup (`apivault_labs/whatsapp-number-validator`) Actor

Clean and validate phone lists before WhatsApp/SMS outreach. Bulk-check numbers: validity, E.164 format, country, region, carrier, line type (mobile/landline) and WhatsApp-ready flag. 100% offline — no login, no bans. Optional Premium: live WhatsApp registration check with your own provider key.

- **URL**: https://apify.com/apivault\_labs/whatsapp-number-validator.md
- **Developed by:** [Apivault Labs](https://apify.com/apivault_labs) (community)
- **Categories:** Lead generation, Marketing, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 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/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

## ⚡ Fast WhatsApp Number Validator — Bulk Phone Check & List Cleanup

**Clean and validate any phone list before you launch a WhatsApp or SMS
campaign — thousands of numbers in seconds.** Paste numbers in bulk and get back, for each one: whether it's a
**valid** number, its **E.164** format, **country**, **region**, **carrier**,
**line type** (mobile / landline / VoIP), time zones, and a **WhatsApp-ready**
flag — so you stop wasting sends on landlines, typos and dead numbers.

> ✅ **100% offline — no login, no QR scan, no proxy, no API keys, no bans.**
> Built on Google's libphonenumber, the same engine carriers use. It can't be
> blocked and it won't silently break.

> _Also known as: phone number validator, phone list cleaner, WhatsApp number
> checker, bulk phone verifier, mobile vs landline checker._

---

### ⚡ Quick start

```json
{
  "phoneNumbers": ["+14155552671", "+442071838750", "+5511991234567"],
  "defaultCountry": "US"
}
````

Each number comes back as one clean record.

***

### 🎯 Why this matters

WhatsApp and SMS only work on **valid mobile** numbers. A raw list is full of
landlines, mistypes, wrong country codes and dead entries. Sending to those:

- wastes your WhatsApp Business message allowance and sender reputation,
- inflates costs on per-message platforms,
- and can get your number flagged for high failure rates.

Run your list through this first, drop everything that isn't a valid mobile,
and only then spend on outreach.

***

### 📦 What you get per number

| Field | Description |
|---|---|
| `valid` | Is it a real, dialable number |
| `e164` | Normalised `+<country><number>` (the format every API wants) |
| `international` / `national` | Human-readable formats |
| `country` / `regionCode` | e.g. `United States` / `US` |
| `location` | City / area description when available |
| `carrier` | Mobile carrier name when known (Claro, Airtel, JT …) |
| `lineType` | `mobile`, `landline`, `fixed-or-mobile`, `voip`, `toll-free` … |
| `timezones` | Time zones for the number (great for send-time targeting) |
| `whatsappCapable` | `true` for valid mobile numbers that can hold a WhatsApp account |

***

### ⚙️ Input parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `phoneNumbers` | array | — | Numbers to validate (one per line) |
| `numbersText` | string | — | Optional: paste a whole list / spreadsheet column at once (merged & de-duplicated) |
| `defaultCountry` | string | `US` | ISO region for numbers without a leading `+` |
| `onlyValid` | bool | `false` | Return only valid numbers (clean list) |
| `onlyWhatsappCapable` | bool | `false` | Return only valid mobile numbers |
| `exportFormat` | enum | `default` | `default` / `csv` / `both` |

***

### 📤 Output example

```json
{
  "input": "+5511991234567",
  "valid": true,
  "e164": "+5511991234567",
  "international": "+55 11 99123-4567",
  "country": "Brazil",
  "regionCode": "BR",
  "carrier": "Claro",
  "lineType": "mobile",
  "timezones": ["America/Sao_Paulo"],
  "whatsappCapable": true
}
```

Set `"exportFormat": "csv"` for HubSpot / Excel-friendly columns.

***

### 💡 Use cases

- **Pre-campaign list cleaning** — drop landlines, typos and invalid numbers before a WhatsApp/SMS blast.
- **Cut messaging costs** — only keep numbers that can actually receive messages.
- **CRM hygiene** — normalise every number to E.164 and tag carrier / country.
- **Lead enrichment** — append country, region, carrier and line type to a contact list.
- **Send-time targeting** — use the time zone to message at the right local hour.

***

### 💰 Pricing

**$1.5 / 1,000 results** ($0.0015 per number). You pay per number returned —
use `onlyValid` / `onlyWhatsappCapable` to return (and pay for) just the numbers
you care about.

***

### ❓ FAQ

**Does `whatsappCapable` mean the number is on WhatsApp?**
It means the number *can* hold a WhatsApp account — it's a valid mobile line.
WhatsApp has no public registration API, and bulk-checking through an unofficial
logged-in session gets accounts **banned**, so this Actor stays 100% reliable by
validating offline. Use `whatsappCapable` to drop landlines, VoIP and invalid
numbers — the entries that can never receive a WhatsApp message.

**Which countries are supported?**
Global — libphonenumber covers every country's numbering rules.

***

### ⚖️ Use responsibly

This tool validates and formats phone numbers. You are responsible for having a
lawful basis and any required consent before contacting people, and for
complying with WhatsApp's terms, the TCPA, GDPR and other applicable laws.

# Actor input Schema

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

Phone numbers to validate (one per line). Include the country code with a leading + when possible, e.g. +14155552671. Numbers without a + are parsed using the Default country below.

## `numbersText` (type: `string`):

Optional. Paste many numbers at once (one per line, or comma/semicolon separated — e.g. a copied spreadsheet column). They are merged with the list above and de-duplicated.

## `defaultCountry` (type: `string`):

ISO 3166 alpha-2 region code (US, GB, BR, IN, DE, ...) used to interpret numbers that don't start with +. Leave empty to require + on every number.

## `onlyValid` (type: `boolean`):

If on, drop numbers that fail validation from the output (cleaned list only).

## `onlyWhatsappCapable` (type: `boolean`):

If on, keep only valid mobile (WhatsApp-capable) numbers — ideal right before a WhatsApp campaign.

## `exportFormat` (type: `string`):

default = full JSON. csv = flat CSV-friendly columns. both = JSON + nested \_csv.

## Actor input object example

```json
{
  "phoneNumbers": [
    "+14155552671",
    "+442071838750",
    "+5511991234567",
    "+919876543210"
  ],
  "defaultCountry": "US",
  "onlyValid": false,
  "onlyWhatsappCapable": false,
  "exportFormat": "default"
}
```

# 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": [
        "+14155552671",
        "+442071838750",
        "+5511991234567",
        "+919876543210"
    ]
};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Fast WhatsApp Number Validator | $1.5/1K | Bulk Phone Cleanup",
        "description": "Clean and validate phone lists before WhatsApp/SMS outreach. Bulk-check numbers: validity, E.164 format, country, region, carrier, line type (mobile/landline) and WhatsApp-ready flag. 100% offline — no login, no bans. Optional Premium: live WhatsApp registration check with your own provider key.",
        "version": "0.3",
        "x-build-id": "HnsdpXDrh6uJRsTWV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apivault_labs~whatsapp-number-validator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apivault_labs-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/apivault_labs~whatsapp-number-validator/runs": {
            "post": {
                "operationId": "runs-sync-apivault_labs-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/apivault_labs~whatsapp-number-validator/run-sync": {
            "post": {
                "operationId": "run-sync-apivault_labs-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",
                        "type": "array",
                        "description": "Phone numbers to validate (one per line). Include the country code with a leading + when possible, e.g. +14155552671. Numbers without a + are parsed using the Default country below.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "numbersText": {
                        "title": "…or paste a list / CSV column",
                        "type": "string",
                        "description": "Optional. Paste many numbers at once (one per line, or comma/semicolon separated — e.g. a copied spreadsheet column). They are merged with the list above and de-duplicated."
                    },
                    "defaultCountry": {
                        "title": "Default country (for numbers without +)",
                        "type": "string",
                        "description": "ISO 3166 alpha-2 region code (US, GB, BR, IN, DE, ...) used to interpret numbers that don't start with +. Leave empty to require + on every number.",
                        "default": "US"
                    },
                    "onlyValid": {
                        "title": "Return only valid numbers",
                        "type": "boolean",
                        "description": "If on, drop numbers that fail validation from the output (cleaned list only).",
                        "default": false
                    },
                    "onlyWhatsappCapable": {
                        "title": "Return only WhatsApp-capable numbers",
                        "type": "boolean",
                        "description": "If on, keep only valid mobile (WhatsApp-capable) numbers — ideal right before a WhatsApp campaign.",
                        "default": false
                    },
                    "exportFormat": {
                        "title": "Export format",
                        "enum": [
                            "default",
                            "csv",
                            "both"
                        ],
                        "type": "string",
                        "description": "default = full JSON. csv = flat CSV-friendly columns. both = JSON + nested _csv.",
                        "default": "default"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
