Phone Number Validator & Formatter avatar

Phone Number Validator & Formatter

Pricing

$0.90 / 1,000 number validateds

Go to Apify Store
Phone Number Validator & Formatter

Phone Number Validator & Formatter

Validate and format phone numbers in bulk for 240+ countries: E.164, international and national format, mobile or landline, country, region, time zone and original carrier. Offline, fast, private. $0.0009 per number.

Pricing

$0.90 / 1,000 number validateds

Rating

0.0

(0)

Developer

Niklas Bergström

Niklas Bergström

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Categories

Features

Limited permissions

Share

Clean up phone number lists in bulk. Paste numbers in any format from any country and get back whether each one is valid (and why not), the E.164, international, national and tel: formats, the country, mobile vs landline (toll-free, VoIP, premium …), the region or city, time zones and the original carrier.

Validation runs offline on Google's open-source libphonenumber metadata: no numbers are sent to third parties, nothing is dialled or texted, and a million numbers take minutes.

$0.0009 per number validated. Text that is not a phone number at all, duplicates and (with Only output valid numbers) invalid numbers are free.

What you get

FieldMeaning
isValid, isPossible, reasonvalid, too-short, too-long, invalid-length, invalid-country-code, invalid-for-region, not-a-number
e164, international, national, rfc3966Ready-to-store formats, e.g. +46701234567, +46 70 123 45 67, 070-123 45 67, tel:+46-70-123-45-67
countryCode, country, nationalNumber, extensionParsed parts
typemobile, fixed-line, fixed-line-or-mobile, toll-free, premium-rate, voip, shared-cost, personal, uan …
location, timeZonesRegion or city and IANA time zones
carrierOriginal carrier for mobile ranges (numbers may have been ported since)
waMeLinkwa.me click-to-chat link for mobile numbers (does not check whether the number uses WhatsApp)

Use cases

  • CRM and lead-list hygiene: normalise numbers to E.164 before importing into HubSpot, Salesforce or a dialer.
  • SMS campaigns: keep only valid mobile numbers and drop landlines and premium-rate numbers.
  • Call-time planning: use time zones to call leads in their business hours.
  • Form and signup validation in batch jobs or automations.

Input example

{
"phoneNumbers": ["+46 70 123 45 67", "08-123 456 78", "+1 650-253-0000", "0044 20 7946 0958"],
"defaultCountry": "SE",
"language": "en",
"onlyValid": false
}

defaultCountry is used for numbers written without a + country code.

Output example

{
"recordType": "number",
"input": "08-123 456 78",
"isValid": true,
"reason": "valid",
"e164": "+46812345678",
"international": "+46 8 123 456 78",
"national": "08-123 456 78",
"country": "SE",
"type": "fixed-line",
"location": "Stockholm",
"timeZones": ["Europe/Stockholm"],
"carrier": null
}

Notes

Validity means the number matches the numbering plan of its country (length, prefix, ranges). It does not prove the line is currently connected. Carrier names come from the original number-range allocation.