Validate a phone number
trestleiq.people.phone.verifyValidate one phone number and return carrier, line type, prepaid status, and activity score
- Price
- $0.015/callAl precio del proveedor
- 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
Parámetros
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.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
phone | cadena | Obligatorio | E.164 or national format. | +13005550103 |
phone.country_hint | cadena | Opcional | ISO-3166 alpha-2 context for a national-format number. | US |
- Parámetros de consulta
phonecadenaObligatorioE.164 or national format.
Ejemplo:
+13005550103phone.country_hintcadenaOpcionalISO-3166 alpha-2 context for a national-format number.
Ejemplo:
US
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.015/call, incluida la tarifa de servicio.