Skip to content

// get /v1/phone-validator

Phone Validator API

Validate phone numbers in real-time: check format, detect type, identify country and carrier via our RESTful API.

1 search credit

// api console

GETapi.tomba.io/v1/phone-validator
Example
valid
true
intl_format
+1 650-555-0132
line_type
MOBILE
carrier
AT&T
country_code
US
region.name
California
timezones
1 item

// 01 · request

Phone Validator is one HTTPS request

Send the parameters with your key and secret. Every SDK, the CLI and the MCP server make this same call.

GET/phone-validator
phonerequired
The number, ideally in E.164
country_codeUS
Country, when the number has no prefix
curl -G https://api.tomba.io/v1/phone-validator \
  --data-urlencode "phone=+16505550132" \
  -H "X-Tomba-Key: $TOMBA_API_KEY" \
  -H "X-Tomba-Secret: $TOMBA_SECRET_KEY"

// 02 · response

What comes back

JSON, the same in every language. Fields Tomba doesn't know are null, never guessed.

GET/phone-validator
dataobject | array
The number's details; an empty array, with phone repeating your input, when it isn't valid
data.validboolean | null
Whether the number is a valid phone number
data.intl_format, data.e164_format, data.local_formatstring | null
The number in international, E.164 and national formats
data.country_codestring | null
Country of the number (ISO code)
data.line_typestring | null
MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, VOIP, TOLL_FREE…
data.carrierstring | null
The network operator
data.region, data.timezonesobject | null, array | null
Where the number is registered, and its time zones
GET /phone-validator
200 OK
{
  "data": {
    "valid": true,
    "local_format": "(650) 555-0132",
    "intl_format": "+1 650-555-0132",
    "e164_format": "+16505550132",
    "rfc3966_format": "tel:+1-650-555-0132",
    "country_code": "US",
    "line_type": "MOBILE",
    "carrier": "AT&T",
    "region": {
      "name": "California",
      "code": "CA"
    },
    "timezones": [
      "America/Los_Angeles"
    ]
  }
}

// 03 · cost and limits

What a call costs

A call is charged only under the condition below. Rate limits depend on your plan.

// cost

1search credit

Charged when: Every successful response, including one with no data.

Errors, 429 and 451 responses, and the same request again within your usage window cost nothing.

How credits work

// rate limits

Requests per second / minute / day
FreeBasicGrowthPro
Search, finder, similar, technology1 / 2 / 53 / 50 / 5005 / 80 / 1,0008 / 150 / 4,000
Email verifier1 / 2 / 102 / 40 / 5003 / 60 / 1,0005 / 100 / 4,000

Scroll sideways for every column

Pro Plus, Scale and credit packs of 50,000 or more: no limit on these endpoints. Enterprise: no per-second or per-minute limit, 100,000 requests a day. Daily limits reset at 00:00 UTC. Rate limits

// faq

Phone Validator API questions

Still have questions? Visit the help center

// start free

See who Tomba finds at any company

Type a company's domain to see its people, their roles and verified work emails, each with the pages it was found on. Free account, no card.