跳转到内容

Telegram检查器API:手机号码验证

检测手机号码是否在Telegram上注册。结果从缓存中快速返回。

代码示例:

curl -X POST 'https://api.ekycpro.ai/v1/check' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"service_type": "tg", "identifier": "+1234567890"}'

成功响应:

{
"success": true,
"data": {
"id": "chk_a1b2c3d4e5f6",
"identifier": "+1234567890",
"registered": true,
"billed": true
}
}

错误响应:

{
"success": false,
"error": "identifier not found in cache"
}

HTTP 请求

POST https://api.ekycpro.ai/v1/check

请求头

请求头说明
X-API-Key您的API Key(必填)
Content-Typeapplication/json

请求体

字段类型必填说明
service_typestringtg
identifierstringE.164格式的手机号码

响应字段

字段类型说明
successbool请求是否成功
data.identifierstring被检测的标识符
data.registeredbool账号是否已注册
data.idstring唯一检测请求ID
data.billedbool | 本次请求是否已计费

状态码

状态码说明
200检测完成
400请求无效
401未授权
500服务器错误