Phone Number Validator and Formatter avatar

Phone Number Validator and Formatter

Pricing

$2.00 / 1,000 phone numbers validated

Go to Apify Store
Phone Number Validator and Formatter

Phone Number Validator and Formatter

Checks and formats phone numbers for 240+ countries without calling or texting anyone: valid or not, E.164 and national format, country, line type (mobile, landline, VoIP, toll-free), region, original carrier and time zone.

Pricing

$2.00 / 1,000 phone numbers validated

Rating

0.0

(0)

Developer

Absolute Truth

Absolute Truth

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 hours ago

Last modified

Features

Limited permissions

Share

Clean a list of phone numbers before you import, dial or text it. For every number you get whether it is valid, a standard format you can store, and what kind of line it is.

This Actor never calls or texts a number and makes no network requests. It reads each number against the published numbering plans of 240+ countries and territories (the open-source libphonenumber data). It can tell you that a number is correctly formed and assigned to a range; it cannot tell you whether the line is currently in service or who owns it.

What you get

  • Valid or not, with the reason when it is not (too_short, not_in_numbering_plan, and so on).
  • Standard formats: E.164 (+14155552671) for storage and APIs, plus international and national display formats.
  • Country and country calling code.
  • Line type: mobile, fixed line, VoIP, toll-free, premium rate and others, so SMS campaigns can skip landlines.
  • Location for geographic numbers and the time zones the number can be in, so you can call at a sensible hour.
  • Original carrier for mobile ranges where it is published. A number moved to another carrier keeps the original value.

Input

FieldTypeDefaultNotes
phoneNumberslist of stringsrequiredAny common format. Up to 200,000 per run.
defaultCountrystringnoneTwo-letter code for numbers written without +, for example US.
removeDuplicatesbooleantrueCheck each distinct input once.
{ "phoneNumbers": ["+1 415 555 2671", "+44 20 7946 0958", "(212) 555-0100"], "defaultCountry": "US" }

Output

One row per number in the dataset, plus a SUMMARY record with counts.

{
"input": "+44 20 7946 0958",
"valid": true,
"possible": true,
"reason": null,
"e164": "+442079460958",
"international": "+44 20 7946 0958",
"national": "020 7946 0958",
"country_calling_code": 44,
"country_code": "GB",
"country": "United Kingdom",
"type": "fixed_line",
"location": "London",
"carrier": null,
"timezones": ["Europe/London"]
}

Pricing

Pay per result: one phone-validated event for each number checked. Duplicates removed from a run are not charged. There is no start fee.

Limits

  • No live lookup: the Actor does not know whether a line is active, disconnected or ported.
  • In countries where mobile and fixed numbers share ranges (for example the United States), the type is fixed_line_or_mobile.
  • A number written without + needs defaultCountry; otherwise it is returned with reason country_needed.

What the Actor tells its developer

At the end of a run the Actor sends its developer one short, signed usage summary: the Actor's name, how many results the run was charged for, the run's ID and whether the account is on a paid plan. Your input and your results are never sent anywhere.