Bulk Phone Number Validator and Formatter avatar

Bulk Phone Number Validator and Formatter

Pricing

from $0.80 / 1,000 phone number validateds

Go to Apify Store
Bulk Phone Number Validator and Formatter

Bulk Phone Number Validator and Formatter

Bulk phone number validator: check validity, E.164 and national format, country and line type (mobile, fixed, toll-free) for up to 100,000 numbers.

Pricing

from $0.80 / 1,000 phone number validateds

Rating

0.0

(0)

Developer

ClearCheck Tools

ClearCheck Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Features

Limited permissions

Share

Clean a list of phone numbers before you call, text or import it. Give it up to 100,000 numbers in any common format and get, for each one: is it valid, the canonical E.164 form, national and international formatting, the country, and the line type (mobile, fixed line, toll-free, VoIP...).

Everything runs offline on Google's open libphonenumber rules. The Actor never calls a phone-lookup service, never dials a number and never stores anything except the list you provide. That is why it is fast and cheap.

What you get for each number

FieldMeaning
validThe number matches a real numbering plan of its country
possibleThe length is plausible (weaker than valid)
e164Canonical +33612345678 form, ideal key for deduplication and for CRMs
international, national, rfc3966Display formats (+33 6 12 34 56 78, 06 12 34 56 78, tel:+33...)
countryCode, countryName, callingCodeFR, France, +33
typeMOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, VOIP, PERSONAL_NUMBER, PAGER, UAN, VOICEMAIL, SHARED_COST
extensionExtension if the input had one (ext. 123)
reasonWhy the number is invalid: missing_country_code, invalid_number_for_region, wrong_length, too_short, not_a_phone_number...

Use cases

  • Clean a CRM, lead list or sign-up export before an SMS or call campaign.
  • Normalise numbers from many sources to E.164 and remove duplicates written in different formats.
  • Keep only mobile numbers (filter type = MOBILE) for SMS.
  • Pipe the contact lists produced by other Actors into it.

Input

{
"phoneNumbers": ["+1 650-253-0000", "06 12 34 56 78", "0712 345678", "+228 90 12 34 56", "not a number"],
"defaultCountry": "FR",
"onlyValid": false
}
  • defaultCountry (ISO code such as FR, US, GB, KE, TG) is applied only to numbers written without a + or 00 prefix. Numbers with an international prefix ignore it.
  • Duplicates (same digits, whatever the formatting) and empty entries are removed and not charged.
  • onlyValid: true hides invalid numbers from the dataset (they are still counted and billed, because the check was done).

Output example

{
"input": "06 12 34 56 78",
"valid": true,
"possible": true,
"e164": "+33612345678",
"international": "+33 6 12 34 56 78",
"national": "06 12 34 56 78",
"rfc3966": "tel:+33612345678",
"countryCode": "FR",
"countryName": "France",
"callingCode": "+33",
"nationalNumber": "612345678",
"extension": null,
"type": "MOBILE",
"reason": null
}

A run summary (counts of valid and invalid numbers, by line type and by country) is saved under the SUMMARY key of the key-value store.

Pricing

Pay per event. You can cap spending with the maximum cost per run.

EventPriceWhen it is charged
Phone number validated$0.0008 per number ($0.80 per 1,000)Once per unique number checked, valid or invalid
Actor start$0.00005 per runFlat fee per run start

Duplicates (same digits, any formatting) and empty lines are never charged. The Actor stops cleanly when your maximum cost is reached.

Limits and honesty

  • This checks the format and numbering plan, not whether the line is active or who owns it. A valid number can still be disconnected. No carrier lookup, no HLR query, no owner name.
  • FIXED_LINE_OR_MOBILE means the numbering plan of that country (for instance the US) does not distinguish the two.
  • Numbering plans change; the Actor is rebuilt with updated rules regularly.

Technical notes

  • 20,000 numbers per second on a laptop; a 5,000-number run on the platform finishes in about 3 seconds with a 512 MB container.
  • Call it from the API or schedule it: POST /v2/acts/clearcheck~phone-validator/runs with the JSON input above.

FAQ

Does it call or text the number? No. It is an offline check of the number against numbering plans. It cannot tell whether the line is active or who owns it.

What does defaultCountry do? It is applied only to numbers written without a + or 00 prefix. Numbers with an international prefix ignore it.

Can I keep only mobile numbers? Yes. Filter the dataset on type = MOBILE.

Is the line type always known? No. In some countries the type is FIXED_LINE_OR_MOBILE or not determinable.

More Actors by clearcheck