API 优势
E.164 标准
通过 libphonenumber 进行结构性检查并规范为 E.164。
全球覆盖
支持 240 多个国家和地区的号码。
位置提示
libphonenumber 地理编码元数据(多为 US/CA)。不含时区。
运营商元数据
有 metadata 时返回运营商名称 — 主要为 US/CA。
号码类型检测
valid 为 true 时区分 mobile、固话、VoIP 等。
实时验证
200 毫秒内完成结构性验证。
主要功能
E.164 format validation
240+ countries supported
运营商元数据(主要为 US/CA)
Number type classification
来自 libphonenumber 元数据的地理编码
International format conversion
Local format conversion
Mobile vs fixed-line detection
VoIP number identification
基于 libphonenumber 的结构性有效判断
严格的结构性验证(IsValidNumber)
JSON response format
快速入门
1. 获取 API 密钥
免费注册,立即获得密钥。
2. 发起第一次请求
curl -X GET \ "https://phonevalidation.cleariflow.com/v1/" \ ?api_key=e1cf984fae2098638b3e64ad04b7f032 \ &phone=%2B14155552671 \ &country=US
3. 处理响应
{
"phone": "14155552671",
"valid": true,
"format": {
"international": "+14155552671",
"local": "(415) 555-2671"
},
"country": {
"code": "US",
"name": "United States",
"prefix": "+1"
},
"location": "San Francisco, CA",
"type": "Landline_or_Mobile",
"carrier": ""
}免费试用
集成 API 前先使用在线工具。