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/callAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 86 756 calls
- Latency p50
- 208 msp95 324 ms
- Last verified
- 20 août 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tomba.people.phone.verify?phone=%2B14155550100Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
phone | chaîne | Obligatoire | the number to validate; URL-encode a leading + as %2B | +14155550100 |
country_code | chaîne | Facultatif | ISO-2 country to interpret a national-format number against, e.g. US | |
- Paramètres de requête
phonechaîneObligatoirethe number to validate; URL-encode a leading + as %2B
Exemple :
+14155550100country_codechaîneFacultatifISO-2 country to interpret a national-format number against, e.g. US
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0089/call, frais de service inclus.