[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"content:en:blog\u002Fis-this-phone-number-real":3},{"path":4,"locale":5,"section":6,"title":7,"description":8,"html":9,"headings":10,"faq":46,"updated":65,"order":66,"words":67,"meta":68},"blog\u002Fis-this-phone-number-real","en","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.","\u003Cp>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.\u003C\u002Fp>\n\u003Ch2 id=\"five-questions-five-checks\">\u003Ca class=\"heading-link\" href=\"#five-questions-five-checks\">\u003Cspan>Five questions, five checks\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Question\u003C\u002Fth>\n\u003Cth>Check\u003C\u002Fth>\n\u003Cth>What a pass proves\u003C\u002Fth>\n\u003Cth>What it does not prove\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Is it a phone number at all?\u003C\u002Ftd>\n\u003Ctd>Parsing\u003C\u002Ftd>\n\u003Ctd>The input holds digits that make a number in some country\u003C\u002Ftd>\n\u003Ctd>That the digits fit that country's plan\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Can it exist?\u003C\u002Ftd>\n\u003Ctd>Numbering plan\u003C\u002Ftd>\n\u003Ctd>The length and leading digits are allowed\u003C\u002Ftd>\n\u003Ctd>That anyone was given it\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>What kind of line is it?\u003C\u002Ftd>\n\u003Ctd>Line type\u003C\u002Ftd>\n\u003Ctd>The range was opened for mobile, landline, VoIP or another service\u003C\u002Ftd>\n\u003Ctd>That the number still sits with that service\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Who serves it now?\u003C\u002Ftd>\n\u003Ctd>Live lookup\u003C\u002Ftd>\n\u003Ctd>A network reports a carrier for it\u003C\u002Ftd>\n\u003Ctd>That the phone is on, or that the right person has it\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Does the right person hold it?\u003C\u002Ftd>\n\u003Ctd>One-time code\u003C\u002Ftd>\n\u003Ctd>The code came back from that number\u003C\u002Ftd>\n\u003Ctd>That the person is who they claim to be\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Most disagreements about whether a number is real come from using a cheap check to answer a question that needs an expensive one.\u003C\u002Fp>\n\u003Ch2 id=\"check-1-does-it-parse\">\u003Ca class=\"heading-link\" href=\"#check-1-does-it-parse\">\u003Cspan>Check 1: does it parse\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Parsing means turning what someone typed into one number in one country. People write \u003Ccode>(415) 555-0123\u003C\u002Fcode>, \u003Ccode>415.555.0123\u003C\u002Fcode> and \u003Ccode>+1 415 555 0123\u003C\u002Fcode> for the same number, and a number typed without \u003Ccode>+\u003C\u002Fcode> needs a country to be read at all. \u003Ccode>06 12 34 56 78\u003C\u002Fcode> is a valid French mobile number, and it means nothing without knowing France is intended.\u003C\u002Fp>\n\u003Cp>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 \u003Ccode>status: &quot;unknown&quot;\u003C\u002Fcode> rather than guessing. \u003Ca href=\"\u002Fblog\u002Fphone-number-validation\">Phone number validation\u003C\u002Fa> covers parsing in detail.\u003C\u002Fp>\n\u003Ch2 id=\"check-2-does-it-fit-the-numbering-plan\">\u003Ca class=\"heading-link\" href=\"#check-2-does-it-fit-the-numbering-plan\">\u003Cspan>Check 2: does it fit the numbering plan\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>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 \u003Ccode>+1 123-456-7890\u003C\u002Fcode> cannot exist.\u003C\u002Fp>\n\u003Cp>Libraries and APIs built on Google's libphonenumber carry this data. They distinguish two results:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Possible:\u003C\u002Fstrong> the length is allowed. \u003Ccode>+44 7400 12345\u003C\u002Fcode> is possible, since nine digits is a legal UK length.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Valid:\u003C\u002Fstrong> the digits also match a range the plan has opened. \u003Ccode>+44 7400 12345\u003C\u002Fcode> is not valid, because UK numbers starting with 7 have ten digits.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>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.\u003C\u002Fp>\n\u003Ch3 id=\"numbers-that-pass-and-are-still-fake\">\u003Ca class=\"heading-link\" href=\"#numbers-that-pass-and-are-still-fake\">\u003Cspan>Numbers that pass and are still fake\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh3>\n\u003Cp>Regulators set aside ranges for fiction so that scripts, films and documentation do not ring a stranger:\u003C\u002Fp>\n\u003Cdiv class=\"table-wrap\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Range\u003C\u002Fth>\n\u003Cth>Set aside by\u003C\u002Fth>\n\u003Cth>Valid in the plan\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>555-0100 to 555-0199 in North America\u003C\u002Ftd>\n\u003Ctd>NANPA\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>07700 900000 to 07700 900999 in the UK\u003C\u002Ftd>\n\u003Ctd>Ofcom, for drama\u003C\u002Ftd>\n\u003Ctd>Not in libphonenumber's data\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>The North American block is valid in the plan and assigned to nobody, which makes \u003Ccode>+1 201-555-0123\u003C\u002Fcode> a safe value for forms and code samples. In production, a number from that range is a strong sign of a made-up entry.\u003C\u002Fp>\n\u003Ch2 id=\"check-3-what-kind-of-line-is-it\">\u003Ca class=\"heading-link\" href=\"#check-3-what-kind-of-line-is-it\">\u003Cspan>Check 3: what kind of line is it\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Each plan reserves ranges for each service, so a valid number also carries a line type. The phone API returns \u003Ccode>mobile\u003C\u002Fcode>, \u003Ccode>landline\u003C\u002Fcode>, \u003Ccode>fixed_line_or_mobile\u003C\u002Fcode>, \u003Ccode>voip\u003C\u002Fcode>, \u003Ccode>toll_free\u003C\u002Fcode>, \u003Ccode>premium_rate\u003C\u002Fcode>, \u003Ccode>shared_cost\u003C\u002Fcode>, \u003Ccode>personal_number\u003C\u002Fcode>, \u003Ccode>pager\u003C\u002Fcode>, \u003Ccode>uan\u003C\u002Fcode>, \u003Ccode>voicemail\u003C\u002Fcode> or \u003Ccode>unknown\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>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 \u003Ccode>fixed_line_or_mobile\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>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 \u003Ca href=\"\u002Fblog\u002Fvoip-number-lookup\">mobile, landline or VoIP\u003C\u002Fa>, and the free \u003Ca href=\"\u002Ftools\u002Fline-type-lookup\">line type lookup\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"check-4-does-a-network-serve-it-today\">\u003Ca class=\"heading-link\" href=\"#check-4-does-a-network-serve-it-today\">\u003Cspan>Check 4: does a network serve it today\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>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 \u003Ccode>ported\u003C\u002Fcode> flag.\u003C\u002Fp>\n\u003Cp>Three points about what this does and does not establish:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>A carrier in the answer means the number is known to a network.\u003C\u002Fstrong> It is a stronger signal than a plan match, because the number sits in an operator's records.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>It is not a status check on the handset.\u003C\u002Fstrong> The Qelka API reports the carrier and porting status. It does not report whether a phone is switched on, in range or roaming.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>It never identifies the owner.\u003C\u002Fstrong> The API returns no name or address for any number.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>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. \u003Ca href=\"\u002Fblog\u002Fmobile-number-portability\">Mobile number portability\u003C\u002Fa> explains why the answer can differ from the plan.\u003C\u002Fp>\n\u003Ch2 id=\"check-5-does-the-right-person-hold-the-phone\">\u003Ca class=\"heading-link\" href=\"#check-5-does-the-right-person-hold-the-phone\">\u003Cspan>Check 5: does the right person hold the phone\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>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. \u003Ca href=\"\u002Fblog\u002Fsms-pumping-fraud\">SMS pumping fraud\u003C\u002Fa> describes what happens when forms send codes to anything.\u003C\u002Fp>\n\u003Cp>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 \u003Ca href=\"\u002Fglossary\u002Fsim-swap\">SIM swap\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"a-practical-order-of-operations\">\u003Ca class=\"heading-link\" href=\"#a-practical-order-of-operations\">\u003Cspan>A practical order of operations\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Combine the checks by cost. Run the free ones on every input and the paid ones only when the result changes what you do.\u003C\u002Fp>\n\u003Col>\n\u003Cli>Parse and validate against the plan on every submission. Ask for a correction on \u003Ccode>invalid\u003C\u002Fcode> and for the country on \u003Ccode>unknown\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Read the line type. Refuse premium-rate and shared-cost numbers, and route landlines to a call or a different field.\u003C\u002Fli>\n\u003Cli>Run a live lookup only when the carrier matters: before routing a message, or when a sensitive action follows.\u003C\u002Fli>\n\u003Cli>Send a one-time code when the number will be used to sign in, recover an account or receive private messages.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\" data-code-block>\u003Cdiv class=\"code-head\">\u003Cspan class=\"code-label\">bash\u003C\u002Fspan>\u003C\u002Fdiv>\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">curl\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> https:\u002F\u002Fapi.qelka.com\u002Fv1\u002Fphone\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -H\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> \"Authorization: Bearer \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">$API_KEY\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -H\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> \"Content-Type: application\u002Fjson\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -d\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> '{\"phone\": \"07400 123456\", \"country\": \"GB\"}'\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fdiv>\n\u003Cp>The response carries \u003Ccode>status: &quot;valid&quot;\u003C\u002Fcode>, \u003Ccode>e164: &quot;+447400123456&quot;\u003C\u002Fcode> and \u003Ccode>line_type: &quot;mobile&quot;\u003C\u002Fcode>. Without \u003Ccode>country\u003C\u002Fcode> the same input returns \u003Ccode>status: &quot;unknown&quot;\u003C\u002Fcode>. For one-off checks, use the free \u003Ca href=\"\u002Ftools\u002Fphone-validator\">phone validator\u003C\u002Fa>; \u003Ca href=\"\u002Fhelp\u002Fcheck-if-phone-number-is-active\">check if a phone number is active\u003C\u002Fa> walks through the live level.\u003C\u002Fp>\n\u003Ch2 id=\"signs-that-a-number-is-probably-made-up\">\u003Ca class=\"heading-link\" href=\"#signs-that-a-number-is-probably-made-up\">\u003Cspan>Signs that a number is probably made up\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>These are signals, not proof. None of them should block a customer by itself.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>It fails the plan.\u003C\u002Fstrong> Wrong length, impossible leading digits.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>It sits in a fiction range.\u003C\u002Fstrong> 555-0100 to 555-0199 in North America.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>It is a pattern.\u003C\u002Fstrong> \u003Ccode>1234567890\u003C\u002Fcode>, repeated digits and sequences are what people type to get past a required field.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The country does not match the rest of the form.\u003C\u002Fstrong> A UK number with a billing address in Brazil is worth a second look, though real people move and travel.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The line type is wrong for the field.\u003C\u002Fstrong> A pager or voicemail range in a &quot;mobile phone&quot; field.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The same number appears on many accounts.\u003C\u002Fstrong> That is a rule you can add on your side, and it catches reuse that no lookup can.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"what-to-do-with-an-unreal-number\">\u003Ca class=\"heading-link\" href=\"#what-to-do-with-an-unreal-number\">\u003Cspan>What to do with an unreal number\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>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.\u003C\u002Fp>\n\u003Ch2 id=\"where-to-go-next\">\u003Ca class=\"heading-link\" href=\"#where-to-go-next\">\u003Cspan>Where to go next\u003C\u002Fspan>\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fe164-format\">E.164 explained\u003C\u002Fa> for how to store a number once you know it is good.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Freverse-phone-lookup\">Reverse phone lookup\u003C\u002Fa> for what a lookup can and cannot say about a number.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fblog\u002Fprevent-fake-signups\">Stopping fake signups\u003C\u002Fa> for combining phone, email and IP signals.\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fphone-validation-api\">Phone validation API\u003C\u002Fa> for pricing and volumes.\u003C\u002Fli>\n\u003C\u002Ful>\n",[11,15,18,21,25,28,31,34,37,40,43],{"id":12,"text":13,"depth":14},"five-questions-five-checks","Five questions, five checks",2,{"id":16,"text":17,"depth":14},"check-1-does-it-parse","Check 1: does it parse",{"id":19,"text":20,"depth":14},"check-2-does-it-fit-the-numbering-plan","Check 2: does it fit the numbering plan",{"id":22,"text":23,"depth":24},"numbers-that-pass-and-are-still-fake","Numbers that pass and are still fake",3,{"id":26,"text":27,"depth":14},"check-3-what-kind-of-line-is-it","Check 3: what kind of line is it",{"id":29,"text":30,"depth":14},"check-4-does-a-network-serve-it-today","Check 4: does a network serve it today",{"id":32,"text":33,"depth":14},"check-5-does-the-right-person-hold-the-phone","Check 5: does the right person hold the phone",{"id":35,"text":36,"depth":14},"a-practical-order-of-operations","A practical order of operations",{"id":38,"text":39,"depth":14},"signs-that-a-number-is-probably-made-up","Signs that a number is probably made up",{"id":41,"text":42,"depth":14},"what-to-do-with-an-unreal-number","What to do with an unreal number",{"id":44,"text":45,"depth":14},"where-to-go-next","Where to go next",[47,50,53,56,59,62],{"q":48,"a":49},"How can I check if a phone number is real?","Run the checks in order. Parse it with its country and confirm it fits the numbering plan. Read the line type to see what kind of service it is. Ask a live lookup which carrier serves it now. If the number matters, send a one-time code and see whether it comes back. Each step answers a different question, and only the last one shows that a person holds the phone.",{"q":51,"a":52},"Can I tell if a phone number is active without calling it?","Partly. A basic check reads the numbering plan and cannot see disconnected numbers. A live lookup asks an upstream provider which network serves the number, which suggests the number is allocated to a subscriber, but the Qelka API does not report whether the handset is switched on. To prove that someone answers, you have to reach the phone: a call or a one-time code.",{"q":54,"a":55},"Why does a valid phone number sometimes not work?","Valid means the digits fit the numbering plan, not that the number is in service. A number can sit in an opened range and never have been assigned, can have been disconnected, or can now belong to a new subscriber. The fictional range 555-0100 to 555-0199 in North America is valid in the plan and assigned to nobody.",{"q":57,"a":58},"Are 555 phone numbers real?","Only a small block of them is set aside for fiction. NANPA reserves 555-0100 through 555-0199 for that use, so numbers such as (212) 555-0123 are valid in the plan and belong to nobody. Other 555 numbers have been used for directory assistance and other services, so do not assume that every number with 555 in the middle is fake.",{"q":60,"a":61},"Can a phone number be real but belong to someone else?","Yes. Anyone can type a working number that belongs to another person, by mistake or on purpose. Validation and lookups cannot tell the difference, because they never learn who holds the phone. Only a code sent to the number and typed back proves possession, and even that proves the person can read that phone at that moment.",{"q":63,"a":64},"Do free phone checkers send a text to the number?","A numbering-plan checker like the free \u003Ca href=\"\u002Ftools\u002Fphone-validator\">phone validator\u003C\u002Fa> sends nothing and the owner never knows. A live carrier lookup reads network records and also sends nothing to the phone. Messages only go out when you choose to run a verification, by sending an SMS or voice code. Be wary of tools that ring or text a number without telling the owner.","2026-11-24",14,1611,{},1795622072976]