API reference
Verify a phone number
Check that a number is real, get it in E.164 format, and find out whether it's a mobile, landline or VoIP number and which carrier it's on now.
Authentication
The same keys as /v1/verify: send Authorization: Bearer bn_…. Full-access, verify-only and public keys can call it.
Body parameters
| Parameter | Type | Description |
|---|---|---|
phone | string, required | The number, in any common format. Include +country code, or pass country. |
country | string | Two-letter country code (GB, US…) for numbers written without +country code. |
lookup | boolean | Ask the carrier network for the current carrier, line type and whether the number was ported. Default true. |
What it costs
| Check | Checks from your quota |
|---|---|
| Offline check (lookup: false, or an invalid number) | 1 |
| Live carrier lookup | 10 |
| Live carrier lookup of a number looked up in the last 30 days | 1 |
The offline check uses the official numbering plans, so it can tell a mobile from a landline in most countries but not in the US and Canada (it answers landline_or_mobile there), and it can't see ported numbers. If the carrier lookup fails, you get the offline answer with a lookup_error and pay for an offline check only.
Example
curl -X POST https://api.bouncerly.com/v1/phone/verify \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "07400 123456", "country": "GB"}'Response
{
"phone": "+44 7400 123456",
"e164": "+447400123456",
"status": "valid",
"reason": "valid_number",
"country": "GB",
"calling_code": 44,
"national_format": "07400 123456",
"line_type": "mobile",
"carrier": "EE",
"ported": false,
"lookup": true,
"cached": false,
"checked_at": "2026-12-02T09:14:03Z"
}| status | Meaning |
|---|---|
valid | A real number you can call or text. |
risky | Real, but VoIP, premium rate, personal, pager, shared cost or voicemail. Often throwaway or expensive to reach. |
invalid | Not a number that can exist, or the carrier says it isn't in service. |
| reason | Meaning |
|---|---|
valid_number | Valid. |
line_type_… | Risky because of its line type, e.g. line_type_voip. |
country_required | No +country code and no country given. |
unknown_country | The country code doesn't exist. |
wrong_length | Too many or too few digits for that country. |
not_in_numbering_plan | Right length, but no such range is allocated. |
not_in_service | The carrier lookup says the number isn't in service. |
unparseable | Not a phone number. |
line_type is one of mobile, landline, landline_or_mobile, voip, toll_free, premium_rate, shared_cost, personal_number, pager, uan, voicemail or unknown. ported is null when the lookup didn't say.