VOOZH about

URL: https://apify.com/zenapi/phone-number-validator

โ‡ฑ Phone Number Validator ยท Apify


Pricing

$2.00/month + usage

Go to Apify Store

Phone Number Validator

A powerful Apify Actor for validating and parsing phone numbers from any country. Get instant validation results with detailed information including formatting options, number type classification, and metadata for phone numbers worldwide.

Pricing

$2.00/month + usage

Rating

0.0

(0)

Developer

๐Ÿ‘ Zen API

Zen API

Maintained by Community

Actor stats

1

Bookmarked

79

Total users

4

Monthly active users

7 months ago

Last modified

Categories

Share

Phone Number Validator - Apify Actor

A powerful Apify Actor for validating and parsing phone numbers from any country. Get instant validation results with detailed information including formatting options, number type classification, and metadata for phone numbers worldwide.

Features

  • Global Coverage: Validate phone numbers from all countries/regions worldwide
  • Multiple Formats: Output numbers in International, National, E164, and RFC3966 formats
  • Number Type Detection: Identify Mobile, Fixed Line, Toll-Free, Premium Rate, VoIP, and more
  • Detailed Validation: Get specific error messages for invalid numbers
  • Flexible Input: Accept numbers with or without country codes
  • Extension Support: Parse and preserve phone number extensions
  • High Accuracy: Industry-standard validation algorithms

Input Schema

{
"phoneNumbers":["+1 650-253-0000","+44 20 7183 8750"],
"defaultRegion":"US"
}

Input Parameters

ParameterTypeRequiredDescription
phoneNumbersArrayYesArray of phone numbers to validate (supports single or multiple)
defaultRegionStringNoISO 3166-1 alpha-2 country code (default: "US")

Output

Single Number Validation

When validating a single phone number:

{
"type":"single_validation",
"input":"+1 650-253-0000",
"success":true,
"isValid":true,
"isPossible":true,
"countryCode":1,
"nationalNumber":"6502530000",
"region":"US",
"formatted":{
"international":"+1 650-253-0000",
"national":"(650) 253-0000",
"e164":"+16502530000",
"rfc3966":"tel:+1-650-253-0000"
},
"type":"FIXED_LINE_OR_MOBILE",
"metadata":{
"isValidForRegion":true,
"canBeInternationallyDialled":true
}
}

Output Attributes for Successful Validation

AttributeTypeDescription
typeStringIndicates validation type (single_validation or batch_validation)
inputStringThe original phone number input provided
successBooleanWhether the parsing operation succeeded (not same as validation)
isValidBooleanWhether the phone number is valid according to the region's rules
isPossibleBooleanWhether the phone number is possible based on length
countryCodeNumberThe country calling code (e.g., 1 for US, 44 for UK)
nationalNumberStringThe national significant number without country code
regionStringISO 3166-1 alpha-2 country code of the number
extensionString/nullPhone extension if present (e.g., "123" from "+1 650 253 0000 ext 123")
formattedObjectContains the number in various formats
formatted.internationalStringInternational format (e.g., "+1 650-253-0000")
formatted.nationalStringNational format (e.g., "(650) 253-0000")
formatted.e164StringE164 format (e.g., "+16502530000")
formatted.rfc3966StringRFC 3966 format (e.g., "tel:+1-650-253-0000")
typeStringNumber type classification (see Number Types section)
metadataObjectAdditional metadata about the number
metadata.isValidForRegionBooleanWhether the number is valid for its detected region
metadata.canBeInternationallyDialledBooleanWhether the number can be dialled internationally

Invalid Number

{
"type":"single_validation",
"input":"123",
"success":true,
"isValid":false,
"isPossible":false,
"validationError":"TOO_SHORT",
"errorMessage":"The phone number is too short for the region"
}

Batch Validation Result

{
"type":"batch_validation",
"totalProcessed":4,
"summary":{
"total":4,
"valid":3,
"possible":3,
"invalid":1
},
"results":[
// Individual validation results for each number
]
}

Number Types

The Actor identifies the following phone number types:

TypeDescription
FIXED_LINELandline numbers
MOBILEMobile/cellular numbers
FIXED_LINE_OR_MOBILECould be either type
TOLL_FREEToll-free numbers (800, 888, etc.)
PREMIUM_RATEPremium rate numbers
SHARED_COSTShared cost numbers
VOIPVoice over IP numbers
PERSONAL_NUMBERPersonal numbering services
PAGERPager numbers
UANUniversal Access Numbers
VOICEMAILVoicemail access numbers
UNKNOWNType cannot be determined

Validation Errors

Error CodeDescriptionExample
TOO_SHORTNumber has too few digits"123" in US
TOO_LONGNumber has too many digits"12345678901234" in US
INVALID_COUNTRY_CODECountry code not recognized"+999 123456"
INVALID_LENGTHDoesn't match expected patterns"1234567" in UK
NOT_A_NUMBERNot recognizable as phone number"abc-defg"

Supported Regions

Supports all countries with assigned telephone country codes:

  • Americas: US, CA, MX, BR, AR, CL, CO, PE, VE, etc.
  • Europe: GB, DE, FR, IT, ES, CH, NL, BE, SE, NO, DK, PL, etc.
  • Asia-Pacific: CN, JP, KR, IN, AU, NZ, SG, TH, MY, ID, PH, etc.
  • Middle East & Africa: AE, SA, IL, EG, ZA, NG, KE, MA, etc.
  • And 200+ more regions

Use Cases

  • E-commerce: Validate customer phone numbers at checkout
  • CRM Systems: Clean and standardize phone number databases
  • Marketing: Verify phone numbers before SMS campaigns
  • User Registration: Validate phone numbers during sign-up
  • Data Migration: Format phone numbers consistently
  • Lead Generation: Verify collected phone numbers
  • Customer Support: Validate callback numbers

Security & Privacy

  • No phone numbers are stored after processing
  • Results are kept in your private Apify dataset
  • Secure HTTPS API endpoints
  • Actor runs in isolated Docker containers
  • Compliant with data protection standards

Error Handling

The Actor handles errors gracefully:

{
"success":false,
"error":{
"code":"PARSE_ERROR",
"message":"Failed to parse phone number",
"validationError":"NOT_A_NUMBER"
}
}

Examples

Validate US Toll-Free Number

{
"phoneNumbers":["1-800-FLOWERS"],
"defaultRegion":"US"
}

Validate International Mobile

{
"phoneNumbers":["+44 7700 900123"],
"defaultRegion":"GB"
}

Batch Validation

{
"phoneNumbers":[
"+33 6 12 34 56 78",
"0412 345 678",
"+81-3-1234-5678"
],
"defaultRegion":"US"
}

You might also like

Phone Validator

tomba-io/phone-validator

Verify phone number formats, check carrier information, and get detailed validation results. Furthermore, our phone validator supports international numbers and provides comprehensive line type analysis.

Phone Number Validator - Bulk International Phone Validation

santamaria-automations/phone-validator

Validate and format phone numbers in bulk. Detect country, number type (mobile/landline/VoIP), carrier, timezone, and geographic region. Powered by Google's libphonenumber โ€” the industry standard used by major platforms. Perfect for CRM cleanup, lead validation, and SMS campaigns.

Phone Number Validator

automation-lab/phone-number-validator

Validate and format phone numbers using Google libphonenumber. Returns validity, type (mobile, fixed-line, VoIP), country, E.164 format, national format, and carrier info. Process up to 10,000 numbers per run. Ideal for CRM cleanup and lead enrichment.

๐Ÿ‘ User avatar

Stas Persiianenko

22

5.0

Phone Number Validation

easyapi/phone-number-validation

Validate, parse, and retrieve location information for any phone number with our Phone Number Validation API. Determine if a number is local or international, identify its type (fixed line or mobile), and reformat it for local and international dialing.

Yelp Business Scraper

beatanalytics/yelp-business-scraper

Extract 25+ fields from any Yelp business โ€” ratings, hours, photos, address, categories, and attributes. Search by query and location or look up by URL. No API key needed. Export as CSV, JSON, or Excel.

๐Ÿ‘ User avatar

Beat Analytics

75

Email Verifier

tomba-io/email-verifier

Verify email addresses effortlessly by clicking the verification icon. Enhance communication accuracy

Yelp Scraper โ€” Leads, Reviews & Contacts

sleek_waveform/yelp-scraper

Extract Yelp business listings: phone, website, address, reviews, ratings, hours, categories. Build B2B lead lists and monitor competitors.

๐Ÿ‘ User avatar

Daniel Dimitrov

16

Phone Number Validator โ€” Line Type, Country & Format

zhorex/phone-number-validator

Bulk phone validation with Google's libphonenumber: line type, country, timezone, location, E.164/international/national/RFC 3966 formats. Carrier lookup where libphonenumber data is available (US/CA/PR null due to Mobile Number Portability โ€” see README). No external APIs, no rate limits.