Validate a phone number
trestleiq.people.phone.verifyValidate one phone number and return carrier, line type, prepaid status, and activity score
- Price
- $0.015/callAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 21 510 calls
- Latency p50
- 88 msp95 532 ms
- Last verified
- 21 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/trestleiq.people.phone.verify?phone=%2B13005550100&is_sandbox=truePreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
Numbering-plan validity and activity signals do not prove current ownership. The paid litigator_checks add-on is not exposed. Trestle returns a billable HTTP 200 Missing Input response when phone is absent, so treg requires it locally.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
phone | chaîne | Obligatoire | E.164 or national format. | +13005550103 |
phone.country_hint | chaîne | Facultatif | ISO-3166 alpha-2 context for a national-format number. | US |
- Paramètres de requête
phonechaîneObligatoireE.164 or national format.
Exemple :
+13005550103phone.country_hintchaîneFacultatifISO-3166 alpha-2 context for a national-format number.
Exemple :
US
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/trestleiq.people.phone.verify?phone=%2B13005550100&is_sandbox=true' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/trestleiq.people.phone.verify?phone=%2B13005550100&is_sandbox=true",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/trestleiq.people.phone.verify?phone=%2B13005550100&is_sandbox=true", {
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.015/call, frais de service inclus.