Blog
Is this phone number real? Five checks, from format to a live answer
How to tell whether a phone number is real: format, numbering plan, line type, current carrier and a code sent to the phone, and what each check proves.
Updated 2026-11-24
A phone number is real in layers. The digits can fit a country's numbering plan. The range can belong to a service that carries messages. A network can serve the number today. And a person can hold the phone and read what arrives on it. Each layer has its own check, and a number that passes one can fail the next. Decide which layer your use needs and stop there.
Five questions, five checks
| Question | Check | What a pass proves | What it does not prove |
|---|---|---|---|
| Is it a phone number at all? | Parsing | The input holds digits that make a number in some country | That the digits fit that country's plan |
| Can it exist? | Numbering plan | The length and leading digits are allowed | That anyone was given it |
| What kind of line is it? | Line type | The range was opened for mobile, landline, VoIP or another service | That the number still sits with that service |
| Who serves it now? | Live lookup | A network reports a carrier for it | That the phone is on, or that the right person has it |
| Does the right person hold it? | One-time code | The code came back from that number | That the person is who they claim to be |
Most disagreements about whether a number is real come from using a cheap check to answer a question that needs an expensive one.
Check 1: does it parse
Parsing means turning what someone typed into one number in one country. People write (415) 555-0123, 415.555.0123 and +1 415 555 0123 for the same number, and a number typed without + needs a country to be read at all. 06 12 34 56 78 is a valid French mobile number, and it means nothing without knowing France is intended.
If a number does not parse, there are three causes: it is not a number (no digits, letters in the middle), no country was supplied for a national-format number, or the country calling code does not exist. The phone API reports the second case as status: "unknown" rather than guessing. Phone number validation covers parsing in detail.
Check 2: does it fit the numbering plan
ITU-T Recommendation E.164 caps an international number at 15 digits, country calling code included. Inside that limit each country runs its own plan, set by its regulator: lengths, leading digits and the blocks opened for each service. In North America, NANPA administers the plan, so an area code never starts with 0 or 1 and a number like +1 123-456-7890 cannot exist.
Libraries and APIs built on Google's libphonenumber carry this data. They distinguish two results:
- Possible: the length is allowed.
+44 7400 12345is possible, since nine digits is a legal UK length. - Valid: the digits also match a range the plan has opened.
+44 7400 12345is not valid, because UK numbers starting with 7 have ten digits.
A number that fails here is not real, full stop. A number that passes is not yet known to be real, because plans list what can exist, not what was assigned.
Numbers that pass and are still fake
Regulators set aside ranges for fiction so that scripts, films and documentation do not ring a stranger:
| Range | Set aside by | Valid in the plan |
|---|---|---|
| 555-0100 to 555-0199 in North America | NANPA | Yes |
| 07700 900000 to 07700 900999 in the UK | Ofcom, for drama | Not in libphonenumber's data |
The North American block is valid in the plan and assigned to nobody, which makes +1 201-555-0123 a safe value for forms and code samples. In production, a number from that range is a strong sign of a made-up entry.
Check 3: what kind of line is it
Each plan reserves ranges for each service, so a valid number also carries a line type. The phone API returns mobile, landline, fixed_line_or_mobile, voip, toll_free, premium_rate, shared_cost, personal_number, pager, uan, voicemail or unknown.
The line type tells you whether the number can be what your form expects. A signup that asks for a mobile phone and receives a toll-free number, a premium-rate number or a pager range has a reason to ask again. In the United States and Canada the plan does not separate mobile from landline, so every geographic number returns fixed_line_or_mobile.
Treat the type as a description of the range, not of the phone. A number ported from a landline operator to a mobile one keeps the type of its original range in plan data. See mobile, landline or VoIP, and the free line type lookup.
Check 4: does a network serve it today
Plan data is static. It cannot see that a number was ported to another operator, and it has no way to see disconnected numbers. A live lookup asks an upstream number-lookup provider about the number at the time of the call, and returns the carrier serving it, the mobile country and network codes (ITU-T E.212) and a ported flag.
Three points about what this does and does not establish:
- A carrier in the answer means the number is known to a network. It is a stronger signal than a plan match, because the number sits in an operator's records.
- It is not a status check on the handset. The Qelka API reports the carrier and porting status. It does not report whether a phone is switched on, in range or roaming.
- It never identifies the owner. The API returns no name or address for any number.
A live lookup costs 3 credits against 1 for a basic check. Use it where the current network changes the decision: choosing an SMS route, or reviewing a risky account change. Mobile number portability explains why the answer can differ from the plan.
Check 5: does the right person hold the phone
Everything above looks at the number. None of it looks at the person typing. Anyone can enter a perfectly real number that belongs to someone else.
To tie a number to a user, send a one-time code by SMS or voice and accept the number only when the code comes back. This is called verification, and it is the only layer that proves possession. It also costs a message per attempt, and attackers know it, so validate before you send. A validity check, a line type check and per-number rate limits remove the cheapest abuse. SMS pumping fraud describes what happens when forms send codes to anything.
Possession has limits too. A code proves that someone read the phone's messages just now. It does not show that the person is who they claim to be, and it does not survive a SIM swap, where an attacker takes over a number. See SIM swap.
A practical order of operations
Combine the checks by cost. Run the free ones on every input and the paid ones only when the result changes what you do.
- Parse and validate against the plan on every submission. Ask for a correction on
invalidand for the country onunknown. - Read the line type. Refuse premium-rate and shared-cost numbers, and route landlines to a call or a different field.
- Run a live lookup only when the carrier matters: before routing a message, or when a sensitive action follows.
- Send a one-time code when the number will be used to sign in, recover an account or receive private messages.
curl https://api.qelka.com/v1/phone \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "07400 123456", "country": "GB"}'
The response carries status: "valid", e164: "+447400123456" and line_type: "mobile". Without country the same input returns status: "unknown". For one-off checks, use the free phone validator; check if a phone number is active walks through the live level.
Signs that a number is probably made up
These are signals, not proof. None of them should block a customer by itself.
- It fails the plan. Wrong length, impossible leading digits.
- It sits in a fiction range. 555-0100 to 555-0199 in North America.
- It is a pattern.
1234567890, repeated digits and sequences are what people type to get past a required field. - The country does not match the rest of the form. A UK number with a billing address in Brazil is worth a second look, though real people move and travel.
- The line type is wrong for the field. A pager or voicemail range in a "mobile phone" field.
- The same number appears on many accounts. That is a rule you can add on your side, and it catches reuse that no lookup can.
What to do with an unreal number
Be kind first. Most invalid numbers are typos. Show an example number for the selected country, keep the person's input visible and let them correct it. Reserve refusal for ranges that can never be right, such as premium-rate numbers in a signup form. Add friction, not walls, when several weak signals add up: ask for confirmation by email before you grant a trial, or hold a reward until the phone is verified.
Where to go next
- E.164 explained for how to store a number once you know it is good.
- Reverse phone lookup for what a lookup can and cannot say about a number.
- Stopping fake signups for combining phone, email and IP signals.
- Phone validation API for pricing and volumes.
Frequently asked questions
How can I check if a phone number is real?
Can I tell if a phone number is active without calling it?
Why does a valid phone number sometimes not work?
Are 555 phone numbers real?
Can a phone number be real but belong to someone else?
Do free phone checkers send a text to the number?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time