# Phone Number Validator - Bulk E.164, Carrier & Timezone (`helenisapi/phone-number-validator-bulk`) Actor

Phone number validator: numbers in any format → valid or not, mobile or landline, E.164, country, area, original carrier and time zone, 240+ countries. No SMS sent. 📞

- **URL**: https://apify.com/helenisapi/phone-number-validator-bulk.md
- **Developed by:** [Helenis API](https://apify.com/helenisapi) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$0.50 / 1,000 phone validated

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

## 📞 Phone Number Validator - Bulk E.164, Carrier & Timezone

**Paste a phone list, get it clean.** Every number is **validated** against its country's numbering plan, typed (**mobile**, **landline**, toll-free, VoIP...), formatted in **E.164**, international and national style, and located: **country**, **area** for landlines, **original carrier** and **time zone**.

Works for 240+ countries, on a pasted list **or on the dataset of another actor**. Nothing is sent to the numbers: no SMS, no call. No API key: add numbers and hit **Run**.

***

### ⚡ Why this actor?

- ✅ **Real validation:** each country's numbering plan (Google's libphonenumber), not a length check.
- 📱 **Mobile or landline:** keep mobiles for SMS campaigns, landlines for calls.
- 🔢 **One format for your CRM:** every number rewritten in E.164 (`+33612345678`), whatever the input looked like.
- 🌍 **Where and when:** country, area of landlines (`London`, `Mountain View, CA`), time zones to call at the right hour.
- 📡 **Carrier:** the operator the number range was first assigned to.
- 🔗 **Chain it:** validate the numbers found by a lead, contact or maps scraper, straight from its dataset.
- 💸 **Cheap:** pay per number validated, nothing else.

***

### 🏆 How it compares

| Feature | This actor | Regex or length checks | HLR lookups |
|---|:---:|:---:|:---:|
| ✅ Valid for its country | ✅ | ⚠️ Rough | ✅ |
| 📱 Mobile or landline | ✅ | ❌ | ✅ |
| 🔢 E.164 and national formats | ✅ | ❌ | ⚠️ |
| 🌍 Area and time zone | ✅ | ❌ | ⚠️ |
| 📡 Current carrier after porting | ❌ (original) | ❌ | ✅ |
| 💰 Price per 1,000 | Lowest | Free | $5-$50 |

***

### 📊 What data do you get?

One row per number, with these columns:

| Field | Description | Example |
|---|---|---|
| `input` | The number as you gave it | `06 12 34 56 78` |
| `valid` | Fits its country's numbering plan | `true` |
| `reason` | Why, in plain English | `Valid mobile number in France.` |
| `e164` | E.164 format (valid numbers only) | `+33612345678` |
| `international` | International format | `+33 6 12 34 56 78` |
| `national` | National format | `06 12 34 56 78` |
| `lineType` | `mobile`, `fixed_line`, `fixed_line_or_mobile`, `toll_free`, `voip`... | `mobile` |
| `country` | Country name | `France` |
| `countryCode` | ISO country code | `FR` |
| `callingCode` | International calling code | `33` |
| `location` | Area of a landline, when known | `London` |
| `carrier` | Operator the number range was assigned to | `SFR` |
| `timezones` | Time zones of the number | `["Europe/Paris"]` |

An invalid number is not an error: it comes back with `valid: false` and its reason, and the run carries on.

***

### 🚀 How to use it

1. Paste **phone numbers** (one per line), or a **dataset ID** from another actor.
2. Set the **default country** for numbers written without `+country code` (e.g. `FR` for `06 12 34 56 78`).
3. Click **Run**, then filter the table and export it.

#### ⚙️ Input

| Option | Default | Description |
|---|:---:|---|
| 📞 **Phone numbers to validate** | — | One number per line, any format. Exact duplicates are validated once. |
| 🌍 **Default country** | — | ISO two-letter code for national numbers. Leave empty if every number starts with `+` or `00`. |
| 📦 **Dataset ID (optional)** | — | Validate the phone numbers found in an existing Apify dataset. |
| **Phone field in the dataset** | — | Field holding the number (a string or a list). Leave empty to try `phone`, `phones`, `phoneNumber`, `phone_number`, `telephone` and `contactPhone`. |

#### Input example

```json
{
  "numbers": ["+44 20 7946 0958", "06 12 34 56 78", "+1 650-253-0000", "12345"],
  "country": "FR"
}
```

#### Output example (one row per number)

```json
{
  "input": "06 12 34 56 78",
  "valid": true,
  "reason": "Valid mobile number in France.",
  "e164": "+33612345678",
  "international": "+33 6 12 34 56 78",
  "national": "06 12 34 56 78",
  "lineType": "mobile",
  "country": "France",
  "countryCode": "FR",
  "callingCode": 33,
  "carrier": "SFR",
  "timezones": ["Europe/Paris"]
}
```

Available as **JSON**, **CSV**, **Excel**, or via the **Apify API** and **dataset exports**.

***

### 💰 Pricing

| Event | When |
|---|---|
| 📞 Phone validated | Each number validated |

> 🆓 On the Apify **free plan**, each run validates the first 200 numbers.

The run stops cleanly when your spending limit is reached.

***

### 💡 Use cases

- 📣 **SMS campaigns:** keep valid mobiles only, and send at the right local time.
- 🗂️ **CRM hygiene:** rewrite every number in E.164 and drop the fake ones.
- 🎯 **Lead lists:** run it on the dataset of a maps or contact scraper.
- 📞 **Call centers:** route by country and time zone, skip invalid lines.
- 🛒 **Checkout and sign-up exports:** spot made-up numbers in your user base.

***

### ❓ FAQ

**Does "valid" mean the line is active?**
It means the number fits its country's numbering plan: right length and a prefix in use. Whether a line is switched on needs a paid network lookup (HLR), which this actor does not do.

**Why is the carrier sometimes wrong for my number?**
The carrier is the operator the number range was first assigned to. A number ported to another operator keeps that original name. In some countries (USA, Canada) the carrier is not published at all.

**Why "fixed_line_or_mobile"?**
Some countries, including the USA and Canada, use the same ranges for mobiles and landlines, so the number alone cannot tell them apart.

**My numbers have no +country code. What do I do?**
Set the **default country**. Numbers that start with `+` or `00` keep their own country.

**Can I validate the output of another actor?**
Yes. Paste its dataset ID. The actor reads `phone`, `phones`, `phoneNumber`, `phone_number`, `telephone` or `contactPhone` from each item, or the field you name. Lists of numbers in one field work too.

**What if part of the run fails?**
Numbers are sent in batches of 100. A batch that fails is retried once, then logged and skipped: it is not charged. The run only fails if no number at all could be validated.

***

### 🔌 Integrations

Connect results to your existing workflow:

- 📗 **Google Sheets**: Auto-export results to a spreadsheet
- 🪝 **Webhooks**: Trigger downstream actions when a run completes
- ⚡ **Zapier / Make**: Plug into 1000+ apps
- 🛠️ **API**: Fetch results programmatically from any language
- 🔄 **Scheduled runs**: Re-check your lists on a schedule
- 🤖 **AI agents**: call it from Claude, Cursor or any MCP client through Apify's MCP server

***

### 🤖 Use it from an AI agent

Add this actor to **Claude, ChatGPT, Cursor, VS Code** or any MCP client with one URL (sign in with your Apify account):

```
https://mcp.apify.com?tools=helenisapi/phone-number-validator-bulk
```

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: `ApifyActorsTool("helenisapi/phone-number-validator-bulk")` in LangChain or CrewAI; in **n8n**, **Make** or **Zapier**, use the Apify app and pick this actor.

***

### 🌐 Also available as an API

The same engine is sold as a REST API on RapidAPI as **Phone Number Validation - Type, Carrier, Timezone** by **Helenis API**, for single checks, bulk calls, and extracting every number from a text.

***

### 🔒 Privacy

Numbers are checked in memory and never stored or logged. Nothing is sent to them.

# Actor input Schema

## `numbers` (type: `array`):

Phone numbers to validate, one per item, in any format, e.g. \["+44 20 7946 0958", "0044 20 7946 0958", "06 12 34 56 78"]. Numbers without +country code or 00 need `country`. Each returns a row with valid, reason, lineType (mobile, fixed_line, voip...), e164, country, location, carrier and timezones. Nothing is sent to the numbers. Required unless `datasetId` is set.

## `country` (type: `string`):

ISO two-letter country code used for numbers written without +country code or 00, e.g. FR, US, GB (so 06 12 34 56 78 reads as French). Leave empty when every number starts with + or 00.

## `datasetId` (type: `string`):

ID of an existing Apify dataset whose items hold phone numbers, e.g. the output of a lead, contact or Google Maps scraper. Its numbers are validated along with `numbers`; set `datasetPhoneField` if the field has an unusual name. Required unless `numbers` is set.

## `datasetPhoneField` (type: `string`):

Name of the field holding the number in each item of `datasetId` (a string or a list of strings), e.g. phoneNumber. Leave empty to try phone, phones, phoneNumber, phone_number, telephone, contactPhone and Phone, in that order. Ignored without `datasetId`.

## Actor input object example

```json
{
  "numbers": [
    "+44 20 7946 0958",
    "06 12 34 56 78",
    "+1 650-253-0000",
    "12345"
  ],
  "country": "FR"
}
```

# Actor output Schema

## `numbers` (type: `string`):

No description

# 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 = {
    "numbers": [
        "+44 20 7946 0958",
        "06 12 34 56 78",
        "+1 650-253-0000",
        "12345"
    ],
    "country": "FR"
};

// Run the Actor and wait for it to finish
const run = await client.actor("helenisapi/phone-number-validator-bulk").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 = {
    "numbers": [
        "+44 20 7946 0958",
        "06 12 34 56 78",
        "+1 650-253-0000",
        "12345",
    ],
    "country": "FR",
}

# Run the Actor and wait for it to finish
run = client.actor("helenisapi/phone-number-validator-bulk").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 '{
  "numbers": [
    "+44 20 7946 0958",
    "06 12 34 56 78",
    "+1 650-253-0000",
    "12345"
  ],
  "country": "FR"
}' |
apify call helenisapi/phone-number-validator-bulk --silent --output-dataset

```

## MCP server setup

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

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/PatUJV1G8jiuT3KAL/builds/SSmMahtEo9yF4fzdy/openapi.json
