Validate and format a phone number
tomba.people.phone.verifyPhone number → validity, local/international/E.164/RFC3966 formats, country, line type, carrier, region and timezones
- Price
- $0.0089/callAt provider cost
- Success rate
- 100%Last 30 days · 86,756 calls
- Latency p50
- 208 msp95 324 ms
- Last verified
- Aug 20, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tomba.people.phone.verify?phone=%2B14155550100Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
phone | string | Required | the number to validate; URL-encode a leading + as %2B | +14155550100 |
country_code | string | Optional | ISO-2 country to interpret a national-format number against, e.g. US | |
- Query parameters
phonestringRequiredthe number to validate; URL-encode a leading + as %2B
Example:
+14155550100country_codestringOptionalISO-2 country to interpret a national-format number against, e.g. US
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tomba.people.phone.verify?phone=%2B14155550100' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tomba.people.phone.verify?phone=%2B14155550100",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tomba.people.phone.verify?phone=%2B14155550100", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0089/call, including the service fee.