For SaaS and mobile app teams
Check phone line type at signup
Updated
Know whether a new user’s number is valid, and whether it’s mobile, landline, VoIP or toll-free, while they’re still on the form. One API request from your backend returns the answer, and your rules decide what happens next.
No card required to start your trial.
Problems a line type check solves
“People mistype their number”
Typos, made-up numbers like 555-555-5555 and area codes that don’t exist are caught at the form, with a reason you can show the user. See how fake numbers are detected.
“We need a certain kind of number”
Some flows need a mobile number, others accept any line. The line type tells you which kind the user entered, so you can ask for a different one when it matters.
“One person keeps making new accounts”
Free trials, promo credits and referral bonuses attract repeat signups. See when a number is VoIP and which company is behind it, such as Google Voice, and apply your own rules.
Where it fits in your signup flow
- The user enters a phone number in your web form or app.
- Your server calls the Phone Validator API with that number and gets back whether it’s valid, its line type and its carrier.
- Your rules decide the next step: accept the number, ask for a different one, or flag the signup for review.
Call the API from your server, not from inside your mobile app or browser code. Your API key should never ship to users’ devices.
What the API returns
Each lookup returns whether the number is valid, its line_type (mobile, landline, voip, toll_free or unknown), its carrier, its country and region, and whether it has been ported. For VoIP numbers, the carrier is the company behind the number, such as Google Voice, so you can write rules for specific providers. Illustrative excerpt:
{
"phone_number": "+16505550147",
"valid": true,
"invalid_reason": null,
"country": "US",
"line_type": "voip",
"carrier": "GOOGLE VOICE"
}
Build and test for free with a test key and the test numbers in the API documentation. Numbers without a country code are read as North American, or in the country you send as default_country.
Should you block VoIP numbers?
It depends on what a fake account costs you. Plenty of real people use VoIP as their main number: remote workers, small businesses, people with a Google Voice number they’ve had for years. Blocking every VoIP number will turn some of them away.
Many teams start softer. They allow VoIP but limit free trial credits, require a card, or send the signup to review. Strict blocking is more common where one person per account really matters, such as marketplaces, payouts, or apps that give credit for new signups. Learn more about VoIP line types.
What a line type check doesn’t do
We check the number, not the person. A lookup doesn’t identify who holds a number. Read more about validation vs. verification.
Numbers can move between carriers and line types, and port status isn’t available everywhere, including Canada.
Try it on your signup numbers
Look up a number for free to see the result, then start a trial to call the API from your signup flow. Need to check existing users too? Upload a list and get line types for all of them at once.