Bulk Phone Number Validator: Carrier, Line Type and E.164 avatar

Bulk Phone Number Validator: Carrier, Line Type and E.164

Pricing

from $0.40 / 1,000 phone number checkeds

Go to Apify Store
Bulk Phone Number Validator: Carrier, Line Type and E.164

Bulk Phone Number Validator: Carrier, Line Type and E.164

Bulk phone number validator that returns validity, E.164, national and international format, country, line type (mobile, fixed, VoIP, toll-free), original carrier and timezone. Offline phone number validation with libphonenumber: fast and cheap. Batch runs or a live API.

Pricing

from $0.40 / 1,000 phone number checkeds

Rating

0.0

(0)

Developer

Mike Ross

Mike Ross

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Bulk phone number validator that returns, for every phone number you give it: whether it is valid, the E.164, international and national formats, the country, the line type (mobile, fixed line, VoIP, toll-free, premium rate and more), the original carrier where known, the location of the number range and its timezones.

All checks run offline with libphonenumber, the open-source numbering-plan library Google maintains, so results come back in milliseconds and nothing is sent to any third party. Use it two ways:

  • Batch run: paste a list (up to 100,000 numbers), get a clean dataset you can export to CSV, Excel or JSON.
  • Live API (Standby): call a URL from your app, CRM or form and get the answer in the response, typically in well under 100 ms once the API is warm.

Use it to:

  • Clean CRM and lead lists before a calling or SMS campaign.
  • Convert numbers to E.164 for Twilio, WhatsApp or other messaging APIs.
  • Separate mobile from landline numbers where the national numbering plan allows it.
  • Reject typos and fake numbers at a form or checkout through the live API.

What you get

FieldExample
input020 7946 0321
isValidtrue
e164+442079460321
international, national+44 20 7946 0321, 020 7946 0321
rfc3966tel:+44-20-7946-0321
countryCode, countryCallingCodeGB, 44
numberTypemobile, fixed-line, fixed-line-or-mobile, toll-free, premium-rate, shared-cost, voip, personal-number, pager, uan, voicemail or unknown
carrierTelstra (the operator the number range was allocated to)
locationLondon
timezones["Europe/London"]
isPossible, possibilityLength check: possible, too-short, too-long and so on
extension33 when the input has an extension
errorWhy a number failed: not-a-number, missing-country, invalid-country-code, too-short, too-long, invalid-length or invalid-for-region

The Output tab has two views: Overview and Problems.

Good to know:

  • fixed-line-or-mobile is normal for the US and Canada, where the numbering plan does not separate mobile from landline numbers.
  • carrier is the original allocation. A number that has been ported to another network keeps the original name. It is mostly filled for mobile numbers.
  • A valid number is one that fits a real range in the national numbering plan. It does not prove that the line is connected or who owns it.

Who it is for

  • Sales and marketing teams cleaning CRM and lead lists before a calling or SMS campaign.
  • Developers who need E.164 numbers for Twilio, WhatsApp or other messaging APIs.
  • Form and checkout builders who want to reject typos and fake numbers at the point of entry.
  • Data teams standardising phone fields across systems.

Quick start (batch)

  1. Click Start with the example input. It checks a short list of fictional test numbers.
  2. Replace the list with your own numbers, one per line, in any common format.
  3. Set Default country for numbers written without a country code (for example US for (202) 555-0143).
  4. Export the dataset, or connect it to Google Sheets, a webhook or your CRM with an Apify integration.

Input

FieldWhat it doesDefault
phoneNumbersNumbers to check, one per line. Empty runs the example listexample list
defaultCountryTwo-letter country code for numbers without a country codenone (GB for the example list)
onlyValidSave only valid numbersfalse
languageLanguage for location and carrier namesen
maxItemsStop after this many records. 0 means no limit0
{
"phoneNumbers": ["+44 20 7946 0958", "(202) 555-0143", "0491 570 156"],
"defaultCountry": "US"
}

Live API (Standby mode)

The Actor also runs as an always-ready HTTP API. Copy the API URL from the Endpoints tab (it looks like https://<username>--phone-number-validator.apify.actor) and authenticate with your Apify API token in the Authorization: Bearer <token> header.

GET, one or more numbers (repeat number or separate with commas):

curl -H "Authorization: Bearer $APIFY_TOKEN" \
"https://<your-standby-url>/validate?number=%2B442079460958&defaultCountry=GB"

POST, same fields as the batch input:

curl -X POST -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"phoneNumbers": ["+44 20 7946 0958", "(202) 555-0143"], "defaultCountry": "US"}' \
"https://<your-standby-url>/validate"

Response:

{
"count": 1,
"chargedRecords": 1,
"results": [
{"input": "+44 20 7946 0958", "isValid": true, "e164": "+442079460958", "numberType": "fixed-line", "countryCode": "GB", "location": "London", "timezones": ["Europe/London"], "error": null}
]
}
EndpointWhat it does
GET /Free usage help
GET /validate, POST /validateCheck up to 100 numbers per request

Query parameters: number (also numbers, phone, phoneNumbers), defaultCountry, onlyValid, language. Bad requests return HTTP 400 and are not charged. Use a batch run for lists longer than 100.

Pricing

Pay per event:

  • $0.40 per 1,000 numbers checked (phone-number-checked event, $0.0004 each), in batch runs and API calls alike.

Batch runs include platform usage. For the live API, Apify bills the platform usage of the Standby run to you on top of the event price, as it does for every Standby Actor. The API runs in 256 MB, so this is small, but it accrues while the API is idle until its idle timeout. Records skipped by onlyValid or maxItems are not charged. Set a maximum cost per run and the Actor stops cleanly when it is reached.

Data and privacy

The numbers you send are processed in memory and returned to you. In batch runs they are saved only to your own run's dataset. In API calls nothing is written to storage and request URLs are not logged. No third-party service is called.

Data source and licence

Numbering-plan data and the formatting logic come from phonenumbers, the Python port of Google's libphonenumber, both under the Apache License 2.0. The version used is reported in each run's RUN_SUMMARY. This Actor is not affiliated with Google.

FAQ

Does it tell me if a number is active or who owns it? No. It checks the number against national numbering plans. It does not call, text or look up subscribers.

Why is my number "missing-country"? It has no + or international prefix and no default country was set. Add defaultCountry.

How fresh is the data? libphonenumber is updated every few weeks as countries change their plans. We update the pinned version regularly.

How much does a typical run cost? $0.40 per 1,000 numbers checked ($0.0004 each). A list of 100,000 numbers costs $40.

Does it need a login or API key? No login and no third-party key. Live API calls use your own Apify API token.

What formats can I export? The dataset downloads as JSON, CSV, Excel and the other formats Apify offers, or you can read it through the Apify API and integrations.

Where does the data come from? The open-source libphonenumber numbering-plan data (Apache License 2.0). Phone number validation runs offline: no number is sent to any third party.