Look up a number
Reference

UK phone number validation API — 2026 guide

Compare the major UK phone number validation APIs (Twilio, Numverify, Vonage, MessageBird) on accuracy, cost, carrier data and Ofcom-equivalent coverage.

3 min read
Managing Director, OmegaIT · OmegaIT · Published 10 May 2026 · Updated 14/05/2026
On this page

If you need to validate UK phone numbers at scale — sign-up forms, CRM cleansing, fraud-scoring, SMS marketing — a hand-rolled regex won't cut it and the consumer lookup form on this site isn't the right shape. You need an API. This is the 2026 buyer's guide.

Two questions APIs answer

All UK phone validation APIs answer one of two questions, sometimes both:

  1. Is the format valid? — does the string conform to the UK numbering plan? Cheap, can run client-side.
  2. Is the number actually in service, on what carrier? — requires a real-time database query against MNO + Ofcom data. Costs money, runs server-side.

Most production systems need (1) on every signup form (free, instant) and (2) periodically on the data warehouse (paid, batched).

The major UK phone-number validation APIs

Indicative 2026 pricing — check current vendor pages
APIFormatCarrierTypeFree tier?Cost
libphonenumber-js (local)YesNoYes (limited)Always free$0
Twilio Lookup — BasicYesNoNoFirst 10k free$0.0050 / lookup
Twilio Lookup — Line Type IntelligenceYesYesYes (mobile/landline/voip)First 10k free$0.008 / lookup
Vonage Number Insight StandardYesYesYesFree trial credit$0.005 / lookup
Vonage Number Insight AdvancedYesYesYes + roaming + reachabilityFree trial credit$0.030 / lookup
NumverifyYesYesYes100/mo free$14.99/mo for 1,000
MessageBird Lookup HLRYesYes (live HLR)Yes + roamingFree trial$0.005 / lookup
AbstractAPI Phone ValidationYesYesYes100/mo free$9/mo for 5,000

How to choose

Sign-up form on a consumer site

Use libphonenumber-js client-side. Free, runs locally, instant. No need for a paid API on every form submission.

SMS marketing list cleansing

Use Twilio Lookup with Line Type Intelligence or MessageBird Lookup HLR. You need to confirm the number is currently a mobile (landlines can't receive SMS) and ideally that it's not in the carrier's quarantine list.

Fraud / KYC scoring

Use Vonage Number Insight Advanced. Adds roaming and reachability data, useful for flagging numbers ported to known fraud carriers or roaming on networks inconsistent with the customer's claimed location.

CRM cleansing for B2B

Run libphonenumber-js to drop malformed numbers, then sample-check survivors with a paid API to estimate currency. Daily/weekly batch is fine — you don't need real-time. See UK number cleansing for CRM.

Reverse-lookup style 'who is this number?'

None of the above APIs return Ofcom Range Holder data, which is the most authoritative free signal in the UK. For that you currently use the WhoCalledLookup web lookup — a commercial API surfacing the same data is on our 2026 roadmap.

Sample integration: Twilio Lookup with Line Type Intelligence

Server-side UK phone validation with carrier data
import twilio from "twilio";

const client = twilio(process.env.TWILIO_SID!, process.env.TWILIO_TOKEN!);

export async function validateUkNumber(input: string) {
  const lookup = await client.lookups.v2
    .phoneNumbers(input)
    .fetch({ fields: "line_type_intelligence", countryCode: "GB" });

  return {
    valid: lookup.valid,
    e164: lookup.phoneNumber,
    nationalFormat: lookup.nationalFormat,
    lineType: lookup.lineTypeIntelligence?.type,        // 'mobile' | 'landline' | 'voip' | ...
    carrierName: lookup.lineTypeIntelligence?.carrier_name,
  };
}

What about the WhoCalledLookup API?

Lookup with Line Type Intelligence returns phone-number type (mobile, landline, fixed VoIP, non-fixed VoIP), carrier name, and other identifying data, helping reduce fraud and improve deliverability.
Twilio — Lookup API documentation

We're working on a commercial API surface for 2026 H2 that returns the Ofcom Range Holder + line type + AI internet check for any UK number, packaged as a single JSON response. Until then, the public lookup form is rate-limited but free for ad-hoc use. If you'd be a candidate launch customer, contact OmegaIT.

Bottom line

There's no single best UK phone-number validation API — match the tool to the question. Free libphonenumber-js for client-side format checks; paid carrier-aware APIs for in-service confirmation; the WhoCalledLookup public lookup (and, soon, API) for the Ofcom Range Holder data the others don't expose.

Look up a UK number now

Free, no signup. See the Ofcom range holder + AI internet check.

Frequently asked questions

What is the best UK phone number validation API?

Depends on the question. For format validation, libphonenumber-js (free, runs locally). For carrier-aware in-service validation, Twilio Lookup with Line Type Intelligence or MessageBird Lookup HLR. For Ofcom Range Holder data, the WhoCalledLookup public lookup form (commercial API on the 2026 roadmap).

Is there a free UK phone number validation API?

libphonenumber-js is free and unlimited (it runs locally — no network calls). Most paid APIs offer a free tier of 100–10,000 lookups per month for evaluation: Numverify, AbstractAPI and Twilio all have free tiers.

Does any UK phone validation API return Ofcom Range Holder data?

Not currently as a third-party API — the major commercial vendors return their own carrier database. WhoCalledLookup is the free consumer lookup that surfaces Ofcom Range Holder data on the public web; a commercial API is on our 2026 H2 roadmap.

Can I use a UK phone validation API for SMS marketing?

Yes — Twilio, MessageBird and Vonage all return line-type data so you can drop landlines from your list. Validation alone doesn't grant consent: you still need a UK PECR-compliant lawful basis (usually opt-in, with limited soft-opt-in exceptions).

Sources & references

  1. libphonenumber-js — JavaScript port
    @catamphetaminegithub.com/catamphetamine/libphonenumber-js
  2. Twilio Lookup API — Line Type Intelligence
    Twiliowww.twilio.com/en-us/lookup
  3. Vonage Number Insight API
    Vonagedeveloper.vonage.com/en/number-insight/overview
  4. Data Protection Act 2018 + UK GDPR overview
    Information Commissioner's Officeico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/