// api 控制台
示例API 参考中的示例响应
- valid
- true
- intl_format
- +1 650-555-0132
- line_type
- MOBILE
- carrier
- AT&T
- country_code
- US
- region.name
- California
- timezones
- 1 item
// 这些公司的团队在使用 tomba
// 01 · api
Phone Validator只需一个 HTTPS 请求
使用您的密钥和密钥密码发送参数。每个 SDK、CLI 和 MCP 服务器都发出相同的调用。
GET
/phone-validatorphone必填- The number, ideally in E.164
country_codeUS- Country, when the number has no prefix
// 费用
各套餐速率限制1search credit
收费条件: Every successful response, including one with no data.
错误、429 和 451 响应,以及在用量窗口内重复的相同请求均不收费。
13 个官方 SDK: C#, Dart, Deno, Elixir, Go, Lua, Node.js, Perl, PHP, Python, R, Ruby, Rust. 文档中的库
GET /phone-validator
200 OK· 1 search credit
{
"data": {
"valid": true,
"local_format": "(650) 555-0132",
"intl_format": "+1 650-555-0132",
"e164_format": "+16505550132",
"rfc3966_format": "tel:+1-650-555-0132",
"country_code": "US",
"line_type": "MOBILE",
"carrier": "AT&T",
"region": {
"name": "California",
"code": "CA"
},
"timezones": [
"America/Los_Angeles"
]
}
}GET
/phone-validatordataobject | array- The number's details; an empty array, with phone repeating your input, when it isn't valid
data.validboolean | null- Whether the number is a valid phone number
data.intl_format, data.e164_format, data.local_formatstring | null- The number in international, E.164 and national formats
data.country_codestring | null- Country of the number (ISO code)
data.line_typestring | null- MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, VOIP, TOLL_FREE…
data.carrierstring | null- The network operator
data.region, data.timezonesobject | null, array | null- Where the number is registered, and its time zones
// 02 · 客户
客户评价
I've tested over a dozen email and mobile data providers, and Tomba.io stands out as the best. The email finder is consistently accurate, but the mobile phone finder is on another level.
Al AminFounder & CEO, BizniftTomba.io keeps getting better every day. I've been using it since 2021, and the progress has been impressive. It's now a leading solution for email finding, verification, and easily finding mobile numbers.
Osama AhmedSEO Ninja, BYTEBEX
// 03 · 功能
一个号码能告诉您的一切
一次调用即可检查号码并完成格式化。
是否有效
根据所属国家的号码规划检查号码。
线路类型
在发短信或拨号前,区分手机、固话或 VoIP。
运营商
号码所属的网络运营商。
全部格式
本地、国际和 E.164 格式,可直接用于 CRM 或拨号器。
地区和时区
号码的注册地,以及何时适合拨打。
批量验证
将号码 CSV 上传到批量电话验证器。
// 04 · 使用场景
团队用Phone Validator构建什么
我们检查格式有效性、国家代码、运营商信息、线路类型以及号码是否遵循正确的号码模式。
每个号码都会检查格式、国家、运营商和线路类型,响应中会说明哪些检查已通过,便于您决定拨打或发送短信的对象。
可以,我们支持全球 200 多个国家和地区的电话号码验证。