Check if a phone number is live
curl --request POST \
--url https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cache_days_global": 0,
"cache_days_private": 0,
"input_format": "GBR",
"save_to_cache": "PRIVATE",
"telephone_number": "<string>",
"usa_status": "NO"
}
'import requests
url = "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify"
payload = {
"cache_days_global": 0,
"cache_days_private": 0,
"input_format": "GBR",
"save_to_cache": "PRIVATE",
"telephone_number": "<string>",
"usa_status": "NO"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cache_days_global: 0,
cache_days_private: 0,
input_format: 'GBR',
save_to_cache: 'PRIVATE',
telephone_number: '<string>',
usa_status: 'NO'
})
};
fetch('https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cache_days_global' => 0,
'cache_days_private' => 0,
'input_format' => 'GBR',
'save_to_cache' => 'PRIVATE',
'telephone_number' => '<string>',
'usa_status' => 'NO'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify"
payload := strings.NewReader("{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"credits_spent": 123,
"current_network": "<string>",
"current_network_details": {},
"detected_telephone_number": "<string>",
"error": "<string>",
"formatted_telephone_number": "<string>",
"is_ported": "<string>",
"live_status": "<string>",
"mms_email": "<string>",
"original_network": "<string>",
"original_network_details": {},
"request_parameters": {
"cache_days_global": 123,
"cache_days_private": 123,
"get_landline_status": "<string>",
"get_ported_date": "<string>",
"input_format": "<string>",
"output_format": "<string>",
"save_to_cache": "<string>",
"telephone_number": "<string>",
"usa_status": "<string>"
},
"sms_email": "<string>",
"telephone_number_type": "<string>",
"timestamp": "<string>",
"uuid": "<string>"
}
]
}HLR Lookup
Check if a phone number is live
Check if a phone number is live
POST
https://api.aisa.one
/
apis
/
v1
/
hlrlookup
/
people-phone-verify
Check if a phone number is live
curl --request POST \
--url https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"cache_days_global": 0,
"cache_days_private": 0,
"input_format": "GBR",
"save_to_cache": "PRIVATE",
"telephone_number": "<string>",
"usa_status": "NO"
}
'import requests
url = "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify"
payload = {
"cache_days_global": 0,
"cache_days_private": 0,
"input_format": "GBR",
"save_to_cache": "PRIVATE",
"telephone_number": "<string>",
"usa_status": "NO"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cache_days_global: 0,
cache_days_private: 0,
input_format: 'GBR',
save_to_cache: 'PRIVATE',
telephone_number: '<string>',
usa_status: 'NO'
})
};
fetch('https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'cache_days_global' => 0,
'cache_days_private' => 0,
'input_format' => 'GBR',
'save_to_cache' => 'PRIVATE',
'telephone_number' => '<string>',
'usa_status' => 'NO'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify"
payload := strings.NewReader("{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cache_days_global\": 0,\n \"cache_days_private\": 0,\n \"input_format\": \"GBR\",\n \"save_to_cache\": \"PRIVATE\",\n \"telephone_number\": \"<string>\",\n \"usa_status\": \"NO\"\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"credits_spent": 123,
"current_network": "<string>",
"current_network_details": {},
"detected_telephone_number": "<string>",
"error": "<string>",
"formatted_telephone_number": "<string>",
"is_ported": "<string>",
"live_status": "<string>",
"mms_email": "<string>",
"original_network": "<string>",
"original_network_details": {},
"request_parameters": {
"cache_days_global": 123,
"cache_days_private": 123,
"get_landline_status": "<string>",
"get_ported_date": "<string>",
"input_format": "<string>",
"output_format": "<string>",
"save_to_cache": "<string>",
"telephone_number": "<string>",
"usa_status": "<string>"
},
"sms_email": "<string>",
"telephone_number_type": "<string>",
"timestamp": "<string>",
"uuid": "<string>"
}
]
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: POST /apis/v1/hlrlookup/people-phone-verify
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/hlrlookup/people-phone-verify
{
"operationId": "hlrlookup.people-phone-verify",
"method": "POST",
"path": "/apis/v1/hlrlookup/people-phone-verify",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"properties": {
"cache_days_global": {
"enum": [
0
],
"maximum": 0,
"minimum": 0,
"type": "integer"
},
"cache_days_private": {
"enum": [
0
],
"maximum": 0,
"minimum": 0,
"type": "integer"
},
"input_format": {
"enum": [
"GBR"
],
"minLength": 1,
"type": "string"
},
"save_to_cache": {
"enum": [
"PRIVATE"
],
"minLength": 1,
"type": "string"
},
"telephone_number": {
"maxLength": 32,
"minLength": 1,
"type": "string"
},
"usa_status": {
"enum": [
"NO"
],
"minLength": 1,
"type": "string"
}
},
"required": [
"cache_days_global",
"cache_days_private",
"input_format",
"save_to_cache",
"telephone_number",
"usa_status"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"results": {
"items": {
"additionalProperties": true,
"properties": {
"credits_spent": {
"type": "integer"
},
"current_network": {
"type": "string"
},
"current_network_details": {
"additionalProperties": true,
"type": "object"
},
"detected_telephone_number": {
"type": "string"
},
"error": {
"type": "string"
},
"formatted_telephone_number": {
"type": "string"
},
"is_ported": {
"type": "string"
},
"live_status": {
"type": "string"
},
"mms_email": {
"type": "string"
},
"original_network": {
"type": "string"
},
"original_network_details": {
"additionalProperties": true,
"type": "object"
},
"request_parameters": {
"additionalProperties": true,
"properties": {
"cache_days_global": {
"type": "integer"
},
"cache_days_private": {
"type": "integer"
},
"get_landline_status": {
"type": "string"
},
"get_ported_date": {
"type": "string"
},
"input_format": {
"type": "string"
},
"output_format": {
"type": "string"
},
"save_to_cache": {
"type": "string"
},
"telephone_number": {
"type": "string"
},
"usa_status": {
"type": "string"
}
},
"type": "object"
},
"sms_email": {
"type": "string"
},
"telephone_number_type": {
"type": "string"
},
"timestamp": {
"type": "string"
},
"uuid": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.013216 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。响应时间
- 通常 10 秒内返回。
授权
请求体
application/json