大规模验证、格式化和丰富电话号码。支持所有国际格式,检测国家、地区、运营商类型和线路类型。输出E.164和国内格式。无需代理 -- 纯计算处理。
# 通过Apify API启动一次运行 curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~phone-validator/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "phoneNumbers": [ "+49 30 123456", "044 123 45 67", "(415) 555-0132" ], "defaultCountry": "DE" }' # 或通过MCP与AI代理一起使用: # https://mcp.apify.com?tools=santamaria-automations/phone-validator
| 特性 | NanoScrape | 基于API的验证器 |
|---|---|---|
| Docker镜像 | ~12MB | 不适用(托管API) |
| 每1k号码成本 | 按结果付费 | $5 - $15 |
| 速度 | 10k+/分钟 | 速率限制 |
| 是否需要代理 | 否 | 不适用 |
| 离线能力 | 支持(libphonenumber) | 否 |
| 数据隐私 | 您的Apify账户 | 第三方API |
| 字段 | 类型 | 示例 |
|---|---|---|
| input | string | +49 30 123456 |
| valid | boolean | true |
| e164 | string | +4930123456 |
| national | string | 030 123456 |
| country_code | string | DE |
| country_name | string | Germany |
| line_type | string | FIXED_LINE |
点击上方 在 Apify 上打开,在浏览器中运行 phone-validator — 无需代码,无需安装。在 Apify 控制台,您可以获得:
要从自己的代码运行此 actor,您需要一个 Apify API 令牌。大约一分钟完成:
免费额度:Apify 每月为您的账户提供 5 美元平台使用额度,无需信用卡。足以有意义地测试任何 actor — 按典型 scraper 每条结果 0.001 美元计算,每月大约 5,000 条免费结果。
通过 Apify REST API 从任何语言运行此 actor。将 YOUR_TOKEN 替换为您的 API 令牌,并根据需要调整输入 JSON。
curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~phone-validator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'// npm install apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('santamaria-automations/phone-validator').call({});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);# pip install apify-client
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('santamaria-automations/phone-validator').call(run_input={})
items = list(client.dataset(run['defaultDatasetId']).iterate_items())
print(items)// dotnet add package Apify.Client
using Apify.Client;
var client = new ApifyClient("YOUR_TOKEN");
var run = await client.Actor("santamaria-automations/phone-validator").CallAsync(new { });
var items = await client.Dataset(run.DefaultDatasetId).ListItemsAsync();// Maven: com.apify:apify-client
import com.apify.client.ApifyClient;
ApifyClient client = new ApifyClient("YOUR_TOKEN");
ActorRun run = client.actor("santamaria-automations/phone-validator").call(Map.of());
List<Map<String,Object>> items = client.dataset(run.getDefaultDatasetId()).listItems();此 actor 可在 Apify MCP 服务器上使用,因此您可以从任何兼容 MCP 的 AI 客户端驱动它 — Claude Desktop、Claude.ai、Cursor、VS Code、LangChain、LlamaIndex 或自定义 agent — 无需编写代码。
https://mcp.apify.com?tools=santamaria-automations/phone-validator连接后的示例提示:
"使用 phone-validator 运行一次 scrape,并将结果以表格形式返回给我。"
支持动态工具发现的客户端(Claude.ai、VS Code)会通过 add-actor 自动接收完整的输入 schema。
从您喜欢的自动化工具触发此 actor。下面的每个平台都可以点几下就调用 Apify API — 无需代码。
@apify/n8n-nodes-apify)。santamaria-automations/phone-validator。https://api.apify.com/v2/acts/santamaria-automations~phone-validator/run-sync-get-dataset-items?token=YOUR_TOKEN。application/json。https://api.apify.com/v2/acts/santamaria-automations~phone-validator/run-sync-get-dataset-items?token=YOUR_TOKEN,方法 POST,body raw JSON。https://api.apify.com/v2/acts/santamaria-automations~phone-validator/run-sync-get-dataset-items?token=YOUR_TOKEN。steps.http.$return_value。https://api.apify.com/v2/acts/santamaria-automations~phone-validator/run-sync-get-dataset-items?token=YOUR_TOKEN,body 类型 JSON。