Free phone number validation: APIs, libraries and their limits

For free validation you have three good routes: Google's open-source libphonenumber (or its Python port phonenumbers) run in your own code, Twilio Lookup's basic request (validation and formatting are free), or NumVerify's free plan of 100 requests a month. All of them check that a number fits its country's numbering plan; none proves the line is active or belongs to the person who typed it. Our Phone Number Validation API checks up to 50 numbers per call for $0.002.

Try it free Phone Number Validation API — E.164 format, line type, $0.002 · $0.002 / call

The free options

Twilio and NumVerify figures are from their pricing pages in December 2026.

OptionFree useLine typeNotes
libphonenumber / phonenumbersUnlimited, runs locallyYes, from numbering-plan dataApache 2.0; you update the package for new plans
Twilio Lookup v2, basicFree per requestPaid add-on ($0.008 per request)Needs a Twilio account
NumVerify free plan100 requests a monthYesKey needed; apilayer product
Phone Number Validation (iamai.markets)5 free tries a day on the listing pageYes, where the plan data knows it$0.002 per call of up to 50 numbers

Valid is not the same as real

Every tool above answers "could this number exist in this country's plan", using the same kind of metadata. A made-up mobile number in a valid range passes. To know a person controls the number, send a one-time code by SMS or call; that is a separate, paid product from Twilio, Vonage and others. Line type (mobile, fixed line, VoIP, toll free) is also plan-based, so a number moved between carriers or types may show the original type.

Do it yourself in Python, free

import phonenumbers

n = phonenumbers.parse("020 7946 0958", "GB")
print(phonenumbers.is_valid_number(n))
print(phonenumbers.format_number(n, phonenumbers.PhoneNumberFormat.E164))  # +442079460958

When an API is easier

If you clean lists in a no-code tool, a spreadsheet script or an AI agent, a single HTTP call is less work than shipping a library. Our API runs libphonenumber-js on our side and returns valid and possible flags, country, calling code, type, and E.164, international, national and tel: link formats. Send up to 50 numbers at once and a default_country for local numbers without a plus sign.

curl -i -X POST https://iamai.markets/api/x402/services/skhdHqYJv9ww \
  -H "Content-Type: application/json" \
  -d '{"number": "+44 20 7946 0958"}'

# Bulk: {"numbers": ["0151 234 5678", "07700 900123"], "default_country": "GB"}
# $0.002 per call, paid over x402 in USDC on Base

The product

Questions

Can a free API tell me if a phone number is active?

No. Activity needs carrier lookups or an SMS check, which are paid. Free tools only check the numbering plan.

Why is my US number valid but the type is "fixed line or mobile"?

US and Canadian numbering doesn't separate mobile and landline ranges, so the plan data can't tell them apart.

Should I store numbers in E.164?

Yes. +442079460958 is one unambiguous form that SMS and calling services accept.

Related

Updated 2026-12-02