Validate a phone number
trestleiq.people.phone.verifyValidate one phone number and return carrier, line type, prepaid status, and activity score
- Price
- $0.015/callZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 21.510 calls
- Latency p50
- 88 msp95 532 ms
- Last verified
- 21.09.2026Verified working
GEThttps://toolswitch.dev/v1/tools/trestleiq.people.phone.verify?phone=%2B13005550100&is_sandbox=truePreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
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.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
phone | Zeichenkette | Erforderlich | E.164 or national format. | +13005550103 |
phone.country_hint | Zeichenkette | Optional | ISO-3166 alpha-2 context for a national-format number. | US |
- Abfrageparameter
phoneZeichenketteErforderlichE.164 or national format.
Beispiel:
+13005550103phone.country_hintZeichenketteOptionalISO-3166 alpha-2 context for a national-format number.
Beispiel:
US
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.015/call einschließlich Servicegebühr abgerechnet.