Check if a phone number is live
hlrlookup.people.phone.verifyPerforms a live HLR lookup, returning number type, live status, original and current network, and porting information. Warning: a national number sent without input_format can be read as another country's number (a US 617... number as an Australian 61... number), and that lookup is still charged.
- Price
- $0.013216/success제공업체 원가
- Success rate
- —성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
- Latency p50
- ——
- Last verified
- 2026. 10. 8.Verified working
POSThttps://toolswitch.dev/v1/tools/hlrlookup.people.phone.verifyPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
Answers arrive in results[0]. live_status is LIVE, DEAD, ABSENT_SUBSCRIBER, NO_TELESERVICE_PROVISIONED, NOT_AVAILABLE_NETWORK_ONLY, NO_COVERAGE, INCONCLUSIVE or NOT_APPLICABLE; current_network_details names the serving network and is_ported says whether the number moved. Some networks give no live status (NOT_AVAILABLE_NETWORK_ONLY) but the lookup still costs a credit. Landlines and other non-mobile numbers return NO_COVERAGE and bad formats return BAD_FORMAT; both are free. A results[0].error other than NONE (INSUFFICIENT_CREDIT, TOO_MANY_REQUESTS, INTERNAL_ERROR, NULL_RESULT) is free and should be retried later.
이 도구에는 파라미터가 없습니다. 공급자 문서 ↗를 보세요 Provider docs
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X POST 'https://toolswitch.dev/v1/tools/hlrlookup.people.phone.verify' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"save_to_cache":"PRIVATE","telephone_number":"447540822872","cache_days_global":0,"cache_days_private":0}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/hlrlookup.people.phone.verify",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"save_to_cache\":\"PRIVATE\",\"telephone_number\":\"447540822872\",\"cache_days_global\":0,\"cache_days_private\":0}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/hlrlookup.people.phone.verify", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"save_to_cache\":\"PRIVATE\",\"telephone_number\":\"447540822872\",\"cache_days_global\":0,\"cache_days_private\":0}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.013216/success이며 서비스 수수료가 포함되어 있습니다.