Phone Number Validator & Formatter | Bulk E.164 avatar

Phone Number Validator & Formatter | Bulk E.164

Pricing

from $0.80 / 1,000 number checkeds

Go to Apify Store
Phone Number Validator & Formatter | Bulk E.164

Phone Number Validator & Formatter | Bulk E.164

Validate and format phone numbers in bulk, offline: valid or not, E.164, international and national formats, country, calling code and line type. Format and numbering-plan checks only — not a live line or owner lookup. $0.0008 per number ($0.80 per 1,000) plus a $0.005 start fee.

Pricing

from $0.80 / 1,000 number checkeds

Rating

0.0

(0)

Developer

BottyProjects Data Tools

BottyProjects Data Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Validate and format phone numbers in bulk, offline. For each number you get whether it is valid and possible, E.164, international and national formats, country, calling code and line type (mobile, fixed line, VoIP, toll-free and others when the numbering plan exposes them).

This is a format and numbering-plan check only. It does not confirm that a number is in service, that it can receive calls or SMS, or who owns it. No numbers are sent to any third-party lookup, carrier, HLR or people-search service.

Start with the prefilled examples and click Start. $0.0008 per number checked ($0.80 per 1,000) plus a $0.005 start fee once per run. Empty or unparseable inputs are written as free error rows and are not charged.

  • ✅ Offline — uses the open-source libphonenumber numbering-plan data that ships in the Actor. No API key, no proxies, no login
  • ✅ Bulk lists — paste national or international numbers; set a default country for numbers that have no + country code
  • ✅ Standard formats — E.164, international and national
  • ✅ Line type when known — mobile, fixed line, VoIP, toll-free, premium rate and others. In the US and Canada, many numbers are fixed_line_or_mobile because the numbering plan does not tell them apart
  • ✅ Deduplicate — on by default: later copies of the same number (same E.164) are skipped and not charged
  • ✅ Bad input is free — empty lines and text that is not a phone number get an errorReason row and are not billed

This Actor is not affiliated with, endorsed by, or sponsored by Google or the libphonenumber project. It uses the open-source libphonenumber-js library (MIT license), which is based on Google's libphonenumber metadata (Apache License 2.0), for offline numbering-plan checks.

For AI agents

Offline phone number validator and formatter. It checks format and numbering-plan validity only — it does not confirm that a line is active or who owns it.

Input:

{
"phoneNumbers": ["+1 202-555-0100", "(202) 555-0199", "+44 20 7946 0958", "not-a-number"],
"defaultCountry": "US",
"dedupe": true
}

Cost: $0.005 once per run (run-start) plus $0.0008 per number actually checked (number-checked, $0.80 per 1,000). Empty and unparseable inputs are free error rows. Duplicates skipped with dedupe are not charged.

Each dataset row includes input, isValid, isPossible, e164, international, national, countryCode, callingCode, numberType and errorReason. A RUN_SUMMARY record in the default key-value store has counts for the run.

Input

FieldWhat to enter
Phone numbers (required)One number per line. A leading + and country code is the most reliable form. National numbers use Default country
Default countryISO 3166-1 alpha-2 code (default US) for numbers without a + country code
Skip duplicate numbersOn by default. Later copies of the same E.164 number (or the same trimmed input if it cannot be parsed) are skipped, not written and not charged
Write error rows for bad inputOn by default. Empty or unparseable values are written as free error rows

Output

Each checked number is one dataset row:

{
"recordType": "result",
"index": 0,
"input": "+1 202-555-0100",
"isValid": true,
"isPossible": true,
"e164": "+12025550100",
"international": "+1 202 555 0100",
"national": "(202) 555-0100",
"countryCode": "US",
"callingCode": "+1",
"numberType": "fixed_line_or_mobile",
"errorReason": null
}

The examples above use reserved fictional ranges (for example North American 555 and the UK 020 7946 drama range), not live lines.

FieldMeaning
isValidThe number matches its country's numbering plan
isPossibleThe number has a plausible length for that country, even if it is not a valid plan number
e164 / international / nationalStandard formats, or null when the input could not be parsed
countryCodeISO region, for example US or GB
callingCodeCountry calling code with a +, for example +1
numberTypemobile, fixed_line, fixed_line_or_mobile, voip, toll_free, premium_rate, shared_cost, personal_number, pager, uan, voicemail, or null when unknown
errorReasonnull when valid; otherwise empty, not_a_number, invalid_input, invalid_country, too_short, too_long, invalid_length or invalid_number
recordTyperesult for a number that was checked, error for bad input (free)

The default key-value store also has RUN_SUMMARY with inputCount, checked, valid, invalid, errors, duplicatesSkipped and skippedDueToCostLimit.

Pricing

  • run-start: $0.005 once per run, so a run that checks nothing still covers compute
  • number-checked: $0.0008 per number that was parsed and checked (valid or invalid). $0.80 per 1,000
  • Empty lines, unparseable text and skipped duplicates are free
  • Set a max cost per run in Apify if you want a hard cap; the Actor stops charging further numbers when that cap is reached

Examples: 1 number costs $0.0058. 1,000 unique numbers cost $0.805. The platform start fee may also appear on the invoice.

Limits and accuracy

  • Default memory is 256 MB, enough for at least 10,000 numbers in one run (measured locally; see PRICING.md)
  • There is no hard cap on list size. For very large lists (tens of thousands and up), raise memory to 512 MB if a run gets close to the limit
  • Validity means “this number fits the published numbering plan,” not “this line is in service”
  • Line type is only as specific as the numbering-plan data. US and Canadian numbers are often fixed_line_or_mobile
  • This Actor does not look up carriers, owners, names, addresses, or messaging-app accounts, and it does not dial or message any number

Privacy

Phone numbers can be personal data. The numbers you enter stay in your own Apify run, dataset and key-value store. This Actor doesn't send them to any other service, and its logs show only counts. You're responsible for having a lawful basis to process them (for example under GDPR or CCPA/CPRA) and for following calling and texting consent rules (for example the TCPA) before you contact anyone. A valid result is not consent to contact.

Use cases

  • Clean a CRM or lead list before import
  • Normalise mixed national formats to E.164
  • Filter out empty or impossible numbers before an outreach tool
  • Give an AI agent a cheap, keyless way to validate numbers it already has — not to find new people

Changelog

  • 1.0 — First build (local only; not published yet)