Cookie

Cookie consent

We use some essential cookies to make this website work. We'd like to set additional cookies to help us measure your experience when you view and interact with the website.

Cookie policy
Mobile validation API

Mobile phone number validation

Postcoder checks and validates mobile phone numbers in real-time as soon as they're typed into your form. Reduce fraudulent or incorrect signups, and collect valid and active mobile phone numbers from genuine customers.

Mobile phone number validation
    • Result Valid mobile phone number
    • Valid
    • On
    • Network UK - VODAFONE
    • Country United Kingdom
    • Mobile number 00447500123456
    • State Number is valid and on
Trusted by leading organisations worldwide
  • NHS customer logo
  • SKY customer logo
  • Kentucky Fried Chicken customer logo
  • Royal National Lifeboat Institution customer logo
  • Kwik Fit customer logo
  • USwitch customer logo
  • Legal and General customer logo
Globally-connected

Mobile validation API

Postcoder mobile validation queries the Home Location Register (HLR) databases of global network providers in real time to confirm if a number is active, assigned and reachable via call or SMS.

  • Validates in real time
  • Standardises the mobile phone number
  • Provides the carrier name and country
  • Confirms on/off status
  • Supports all countries
GET /pcw/PCW45-12345-12345-1234X/mobile/07500%20123456?format=json
----
{
	"stateid": 1,
    "state": "Number is valid and on.",
    "on": true,
    "valid": true,
    "number": "00447500123456",
    "type": "MOBILE",
    "networkname": "UK - 02 (UK) Limited",
    "networkcode": "10",
    "countrycode": "234",
    "countryname": "United Kingdom of Great Britain and Northern Ireland"
}
Checkout
Please provide your mobile so we can keep you updated on your delivery
Mobile number
07500 123456
Continue

"60% of consumers intentionally provide incorrect information when submitting their details online."

Source: Verve Research
Validate, clean, connect

Unlock efficiency with Postcoder mobile validation

  • Validate phone numbers in real-time

    Postcoder instantly checks if international mobile phone numbers are real and active.

    {
    	...
    	"valid": true,
    	"number": "00447500123456",
    	...
    }
  • Capture actionable insights

    Postcoder identifies recently active mobile numbers, so your calls and SMS reach real users at the right time.

    {
    	...
    	"state": "Number is valid but not on.",
    	"on": false,
    	"valid": true,
    	...
    }
  • Standardise international numbers

    Postcoder standardises international mobile numbers into a consistent format and returns network provider details.

    Mobile number
    07500 123 456
    {
    	...
    	"number": "00447500123456",
    	"networkname": "UK - VODAFONE",
    	"networkcode": "15",
    	"countrycode": "234",
    	...
    }
Elevate customer experiences

Enhance your customer relationships with mobile validation

  • Reduce bogus accounts

    Prevent fake, inaccurate or dead mobile phone numbers from being used to create bogus accounts.

  • Improve call centre efficiency

    Save time and money by verifying a mobile phone number is active and switched on before trying to call it.

  • Optimise two-factor auth

    Reduce the risk of your customer waiting for a code that never arrives by validating their mobile number first.

  • Minimise funnel leaks

    Avoid losing leads or customers at registration due to accidental typos in their mobile phone number.

  • Stay connected

    Increase the effectiveness of your SMS campaigns by ensuring your customers get the texts they want from you.

  • Enhance data quality

    Standardise mobile phone numbers by automatically removing unnecessary characters like spaces and brackets.

Global scale

Mobile validation at scale

Postcoder delivers the scale you need for global commerce. It provides lightning quick responses and supreme reliability wherever your customers are based.

  • 0.6s

    transaction time

  • 99.99%

    API uptime

90-day mean transaction time to 9 April 2025 was 616ms.

Highly rated by customers

An award-winning API with top-tier performance, easy admin and great support

Customers love Postcoder according to independent user reviews on the world's most trusted software marketplace. Start a free trial and find out what you've been missing.

Simple, straightforward and easy to integrate

100% developer-friendly

An optimised developer experience

Get up and running with mobile validation in minutes using the quick start guide, sample code and API docs.

  • Handles spaces and non-numerics
  • Works with a single API call
  • Includes free multi-channel support
mobile.js
mobile.py
mobile.php
mobile.cs
// Prepare request URL
let url = `https://ws.postcoder.com/pcw/${key}/mobile/${user_mobile}`;

// Return JSON ♥
url += `?format=json`;

// Tag request for easy reporting
url += `&identifier=checkout_form`;
GET /pcw/PCW45-12345-12345-1234X/mobile/07500%20123456?format=json&identifier=checkout_form


----
{
	"stateid": 1,
	"state": "Number is valid and on.",
	"on": true,
	"valid": true,
	"number": "00447500123456",
	"type": "MOBILE",
	"networkname": "UK - 02 (UK) Limited",
	"networkcode": "10",
	"countrycode": "234",
	"countryname": "United Kingdom of Great Britain and Northern Ireland"
}
Simplified admin

Buy credits, check usage and configure security with ease

Use the feature-rich admin area to set up and manage your account. It is natively mobile and desktop-friendly so whether you're updating a setting on the go or doing a deep-dive at your desk, it will be the same seamless experience. It supports dark mode too.

Powerful customer stories

Postcoder is trusted by over 9,000 organisations of all sizes

Postcoder helps organisations in the UK and worldwide achieve measurable improvements in their form conversions and data quality. After integrating Postcoder, many of them report increased onboarding numbers, faster form completion, and a surge in quality leads. Postcoder captures contact details you can rely on.

Postcoder is a single API that provides all the features we need... Rather than integrate several APIs, we only had to integrate one.

Carl Horn, Capquest