# WhatsApp Number Validator — Live Registration Check (`khadinakbar/whatsapp-number-validator`) Actor

Validate consented phone lists against an authorized WhatsApp provider. Returns a normalized number and a per-number live registration result; it never sends messages or extracts profiles.

- **URL**: https://apify.com/khadinakbar/whatsapp-number-validator.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 live whatsapp number validations

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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 — Live Registration Check

Validate phone numbers you are authorized to process against a configured WhatsApp provider. The Actor normalizes E.164 input, deduplicates it, returns one structured live registration result per completed number, and records actionable batch diagnostics.

### Use it for

- Consent-based CRM hygiene and customer-contact verification.
- Verifying numbers your organization is authorized to validate before a support workflow.
- Agent workflows that need a compact, machine-readable registration result.

Do not use it to enumerate people, collect profiles, discover contacts, or conduct unsolicited outreach. The Actor never sends a WhatsApp message and does not request profile data.

### Setup

An owner must configure an authorized `WHAPI_API_KEY` environment secret before live checks can run. It is intentionally not accepted as ordinary Actor input, logged, returned, or included in diagnostics. The provider may require a linked WhatsApp channel and has its own account, rate-limit, and acceptable-use requirements.

### Input

```json
{
  "phoneNumbers": ["+14155550123", "+442071838750"],
  "maxConcurrency": 2,
  "batchSize": 25,
  "consentConfirmed": true
}
```

Use full E.164 numbers. Local numbers are deliberately rejected rather than guessed from a country setting, preventing incorrect validation against another person’s number.

### Output

```json
{
  "inputNumber": "+14155550123",
  "normalizedNumber": "+14155550123",
  "isRegisteredOnWhatsApp": true,
  "providerStatus": "valid",
  "checkedAt": "2026-07-21T12:00:00.000Z",
  "warnings": []
}
```

`isRegisteredOnWhatsApp` is a live provider result, not a format-only “WhatsApp-ready” heuristic. Each run also writes `OUTPUT` and `RUN_SUMMARY`, using `COMPLETE`, `PARTIAL`, `VALID_EMPTY`, `INVALID_INPUT`, `UPSTREAM_FAILED`, or `CONFIG_ERROR` outcomes.

### Pricing

The Actor uses Pay per Event plus platform-usage pass-through:

| Event | Price |
| --- | ---: |
| Actor start | $0.00005 |
| Live WhatsApp number validation | $0.006 per persisted result |

Only a successfully persisted provider-backed record is charged. Invalid input and failed provider requests are not charged. Your provider may charge separately under its own plan.

### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~whatsapp-number-validator/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumbers":["+14155550123"],"consentConfirmed":true}'
```

### Related workflow

Use [Phone Number Lookup API](https://apify.com/khadinakbar/phone-number-lookup-api) when you need format, carrier, or fraud signals rather than a live WhatsApp registration result.

# Actor input Schema

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

Use this when you have consented phone numbers to validate. Enter one E.164 number per line, for example '+14155550123'. Local-format numbers are rejected rather than guessed. Maximum 10,000 unique numbers per run; this is not a contact-discovery tool.

## `maxConcurrency` (type: `integer`):

Use this to limit parallel provider calls. Choose an integer from 1 to 10; the default of 2 is conservative for linked WhatsApp sessions. This does not increase the provider's allowed request rate.

## `batchSize` (type: `integer`):

Use this to group normalized numbers for the authorized provider API. Choose 1 to 100; the default of 25 balances speed and provider-session safety. It is not a billing batch size because each persisted result is billed separately.

## `consentConfirmed` (type: `boolean`):

Confirm that you have a lawful basis and the affected people's authorization to submit these phone numbers for a WhatsApp registration check. Do not use this actor for contact enumeration, unsolicited outreach, or profile discovery.

## Actor input object example

```json
{
  "phoneNumbers": [
    "+12025550123"
  ],
  "maxConcurrency": 2,
  "batchSize": 25,
  "consentConfirmed": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

One provider-backed registration result for each processed, normalized number.

## `output` (type: `string`):

Compact outcome, counts, charges, and warnings for machine use.

## `runSummary` (type: `string`):

Detailed safe diagnostics and provider aggregate statistics.

# 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": [
        "+12025550123"
    ]
};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/NWRlHRJofcaIFxPkw/builds/9yLKOIXQROBW5fexX/openapi.json
