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.
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:
- Is the format valid? — does the string conform to the UK numbering plan? Cheap, can run client-side.
- 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
| API | Format | Carrier | Type | Free tier? | Cost |
|---|---|---|---|---|---|
| libphonenumber-js (local) | Yes | No | Yes (limited) | Always free | $0 |
| Twilio Lookup — Basic | Yes | No | No | First 10k free | $0.0050 / lookup |
| Twilio Lookup — Line Type Intelligence | Yes | Yes | Yes (mobile/landline/voip) | First 10k free | $0.008 / lookup |
| Vonage Number Insight Standard | Yes | Yes | Yes | Free trial credit | $0.005 / lookup |
| Vonage Number Insight Advanced | Yes | Yes | Yes + roaming + reachability | Free trial credit | $0.030 / lookup |
| Numverify | Yes | Yes | Yes | 100/mo free | $14.99/mo for 1,000 |
| MessageBird Lookup HLR | Yes | Yes (live HLR) | Yes + roaming | Free trial | $0.005 / lookup |
| AbstractAPI Phone Validation | Yes | Yes | Yes | 100/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
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.
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
- libphonenumber-js — JavaScript port@catamphetaminegithub.com/catamphetamine/libphonenumber-js
- Twilio Lookup API — Line Type IntelligenceTwiliowww.twilio.com/en-us/lookup
- Vonage Number Insight APIVonagedeveloper.vonage.com/en/number-insight/overview
- ITU-T Recommendation E.164: international public telecommunication numbering planITUwww.itu.int/rec/T-REC-E.164
- Data Protection Act 2018 + UK GDPR overviewInformation Commissioner's Officeico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/
Continue reading
- Validate a UK mobile number (2026 guide)How to validate a UK mobile number in 2026: format check, prefix check, libphonenumber-js code, plus carrier-aware paid APIs for bulk B2B work.
- UK phone number format — E.164, regex, rulesThe complete UK phone number format reference: E.164 spec, the libphonenumber regex, valid prefixes, length rules, and a working JavaScript validator.
- UK number cleansing for CRM — 2026 playbookHow to cleanse a UK phone number list in your CRM: format normalisation, libphonenumber, carrier-aware deduplication, TPS suppression, and Ofcom-aware quality scoring.
- UK phone number checker — validate any UK numberA free UK phone number checker that does three jobs: validates the format, identifies the line type, and verifies the number against Ofcom + a live AI internet check. No signup.
- How Ofcom allocates UK phone numbersInside the National Telephone Numbering Plan: blocks, sub-allocations, porting, status flags, and the weekly numbering data feed that powers UK reverse lookups.