WhatsApp 号码资料 API
发送一个电话号码,无需保存联系人就能知道它是否开通 WhatsApp,再获取资料展示的全部内容:简介、头像、商家信息和运营商。可以一次查一个号码,也可以单次请求最多查 100 个。
每次查询 US$0.002 起。无需 WhatsApp 账号,无需注册。
在线检测 WhatsApp 号码
在这里直接运行任意查询。每天前 5 次免费,无需注册。
请包含国家/地区代码,+ 号可省略。
更习惯用终端?在终端里运行同样的查询:
一个号码能告诉你什么
每次查询都返回干净的 JSON。只为得到的答案付费:输错的号码和 WhatsApp 没有回应的查询都不收费。
WhatsApp 检测
号码是否开通 WhatsApp,是或否。活动前筛选名单最省钱的方式。
每次查询 US$0.003
WhatsApp 资料
资料对所有人公开的内容:个人还是商家账号、简介、国家和关联设备,商家还包括名称、类别、邮箱、网站、地址和营业时间。
每次查询 US$0.006
WhatsApp 资料 + 头像 + 用户名
同样的资料加上原尺寸头像,链接永久有效。
每次查询 US$0.01
运营商查询
任意号码背后的运营商和线路类型,以及国家和时区,让 VoIP 号码一目了然。
每次查询 US$0.002
也支持频道:搜索频道目录、获取某个国家的前 500 个热门频道,并读取任意频道的帖子,每次请求 US$0.004 起。
了解频道 API大家用它来做什么
每个注册表单、CRM 和联系人名单里都是电话号码。现在你可以看清每个号码背后是什么。
名单筛选
活动前只保留开通 WhatsApp 的号码,让每条消息都能送达。
CRM 数据补全
为每个联系人补全 WhatsApp 上的商家名称、类别、网站、邮箱和营业时间。
反欺诈
在注册环节标记 VoIP 线路、未开通 WhatsApp 的号码和虚假商家。
AI 智能体
让 AI 智能体自己检测号码,并为每次查询付费,无需账号,也无需管理密钥。
一次请求,干净的 JSON
每次请求附上 API 密钥,或让你的 AI 智能体通过 x402 或 MPP 用 USDC 按次付费。
# Is this number on WhatsApp, and what does its profile show?curl "https://wtsp.dev/v1/profile?phone=14155550123" \ -H "Authorization: Bearer $WTSP_API_KEY"
# Up to 100 numbers in one request, at the same price eachcurl -X POST "https://wtsp.dev/v1/bulk" \ -H "Authorization: Bearer $WTSP_API_KEY" \ -H "content-type: application/json" \ -d '{"lookup":"exists","phones":["+14155550123","+44 7400 123456","+1415"]}'
# Or let the CLI pay per lookup from its own walletnpx @wtsp/cli profile +14155550123 --photoGET/v1/existsWhether a number is on WhatsApp: a plain yes or no.
Whether a number has a WhatsApp account, and nothing else: the cheapest way to clean a list before paying for profiles. /v1/profile gives the same answer plus the account's details.
参数
phonestring · query必填
Phone number with its country code, e.g. +14155550123. The + is optional; spaces, dashes and a leading 00 are fine.
价格
0.003USDC per request
Every answer is charged, “not on WhatsApp” included; a lookup WhatsApp does not answer is free.
# Once: npx @wtsp/cli start, then fund the wallet it prints.# Each request pays for itself and prints JSON.npx @wtsp/cli exists +14155550123# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/exists?phone=14155550123"import { wrapFetchWithPayment, x402Client } from "@x402/fetch";import { ExactEvmScheme } from "@x402/evm/exact/client";import { privateKeyToAccount } from "viem/accounts";
const wallet = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);const client = new x402Client().register("eip155:*", new ExactEvmScheme(wallet));const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://wtsp.dev/v1/exists?phone=14155550123");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/exists?phone=14155550123" \ -H "Authorization: Bearer $WTSP_API_KEY"import osfrom eth_account import Accountfrom x402 import x402ClientSyncfrom x402.http.clients import x402_requestsfrom x402.mechanisms.evm import EthAccountSignerfrom x402.mechanisms.evm.exact.register import register_exact_evm_client
client = x402ClientSync()register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["PRIVATE_KEY"])))
with x402_requests(client) as session: print(session.get("https://wtsp.dev/v1/exists?phone=14155550123").json())+1 415 555 0123
已开通 WhatsApp
{
"phone": "+14155550123",
"hasWhatsApp": true
}GET/v1/profileRegistration, account type, about text and the full business profile.
Whether a number is on WhatsApp and, if so: personal or business account, about text, country, linked devices and whether it runs on the Cloud API. Businesses add their public profile: name, description, categories, email, websites, address, coordinates, hours, join date and Facebook page. No photo or username; /v1/profile/full adds them.
参数
phonestring · query必填
Phone number with its country code, e.g. +14155550123. The + is optional; spaces, dashes and a leading 00 are fine.
价格
0.006USDC per request
Every answer is charged, “not on WhatsApp” included; a lookup WhatsApp does not answer is free.
# Once: npx @wtsp/cli start, then fund the wallet it prints.# Each request pays for itself and prints JSON.npx @wtsp/cli profile +14155550123# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/profile?phone=14155550123"import { wrapFetchWithPayment, x402Client } from "@x402/fetch";import { ExactEvmScheme } from "@x402/evm/exact/client";import { privateKeyToAccount } from "viem/accounts";
const wallet = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);const client = new x402Client().register("eip155:*", new ExactEvmScheme(wallet));const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://wtsp.dev/v1/profile?phone=14155550123");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/profile?phone=14155550123" \ -H "Authorization: Bearer $WTSP_API_KEY"import osfrom eth_account import Accountfrom x402 import x402ClientSyncfrom x402.http.clients import x402_requestsfrom x402.mechanisms.evm import EthAccountSignerfrom x402.mechanisms.evm.exact.register import register_exact_evm_client
client = x402ClientSync()register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["PRIVATE_KEY"])))
with x402_requests(client) as session: print(session.get("https://wtsp.dev/v1/profile?phone=14155550123").json())Fresh Market SF
+1 415 555 0123 US
Fresh groceries, delivered daily 🍋
Neighbourhood grocery with same-day delivery across San Francisco.
- 123 Market St, San Francisco, CA 94103
- freshmarket.example
- hello@freshmarket.example
- 周一 08:00-20:00, 周六 09:00-18:00, 周日 需预约
- Joined in March, 2021
- Fresh Market SF · 1840 个赞
- 通过 WhatsApp 购物车销售
含手机共 2 台设备
{
"phone": "+14155550123",
"hasWhatsApp": true,
"accountType": "business",
"identity": {
"countryCode": "US",
"lid": "258166877098174@lid"
},
"profile": {
"about": "Fresh groceries, delivered daily 🍋",
"aboutRestricted": false
},
"devices": {
"count": 2,
"hosted": false
},
"business": {
"displayName": "Fresh Market SF",
"description": "Neighbourhood grocery with same-day delivery across San Francisco.",
"categories": [
"Grocery Store",
"Food delivery"
],
"email": "hello@freshmarket.example",
"websites": [
"https://freshmarket.example"
],
"address": "123 Market St, San Francisco, CA 94103",
"latitude": 37.7749,
"longitude": -122.4194,
"timezone": "America/Los_Angeles",
"hours": [
{
"day": "mon",
"mode": "specific_hours",
"openTime": "08:00",
"closeTime": "20:00"
},
{
"day": "sat",
"mode": "specific_hours",
"openTime": "09:00",
"closeTime": "18:00"
},
{
"day": "sun",
"mode": "appointment_only",
"openTime": null,
"closeTime": null
}
],
"memberSince": "Joined in March, 2021",
"memberSinceTs": 1615420800,
"businessType": "smb",
"verifiedLevel": "unknown",
"cartEnabled": true,
"commerceExperience": "none",
"automatedType": "unknown",
"linkedFacebookPage": {
"id": "100064523310987",
"name": "Fresh Market SF",
"likes": 1840
}
}
}GET/v1/profile/fullEverything in /v1/profile plus a permanent profile-photo URL and the WhatsApp username.
Everything /v1/profile returns, plus the profile photo as a permanent URL and a content hash (an unchanged hash means an unchanged photo), and the account's WhatsApp username (@handle). The URL is null when the account has no photo or hides it, and the username is null when it has none.
参数
phonestring · query必填
Phone number with its country code, e.g. +14155550123. The + is optional; spaces, dashes and a leading 00 are fine.
价格
0.01USDC per request
Every answer is charged, “not on WhatsApp” included; a lookup WhatsApp does not answer is free.
# Once: npx @wtsp/cli start, then fund the wallet it prints.# Each request pays for itself and prints JSON.npx @wtsp/cli profile +14155550123 --photo# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/profile/full?phone=14155550123"import { wrapFetchWithPayment, x402Client } from "@x402/fetch";import { ExactEvmScheme } from "@x402/evm/exact/client";import { privateKeyToAccount } from "viem/accounts";
const wallet = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);const client = new x402Client().register("eip155:*", new ExactEvmScheme(wallet));const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://wtsp.dev/v1/profile/full?phone=14155550123");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/profile/full?phone=14155550123" \ -H "Authorization: Bearer $WTSP_API_KEY"import osfrom eth_account import Accountfrom x402 import x402ClientSyncfrom x402.http.clients import x402_requestsfrom x402.mechanisms.evm import EthAccountSignerfrom x402.mechanisms.evm.exact.register import register_exact_evm_client
client = x402ClientSync()register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["PRIVATE_KEY"])))
with x402_requests(client) as session: print(session.get("https://wtsp.dev/v1/profile/full?phone=14155550123").json())Fresh Market SF
+1 415 555 0123 US
Fresh groceries, delivered daily 🍋
Neighbourhood grocery with same-day delivery across San Francisco.
- 123 Market St, San Francisco, CA 94103
- freshmarket.example
- hello@freshmarket.example
- 周一 08:00-20:00, 周六 09:00-18:00, 周日 需预约
- Joined in March, 2021
- Fresh Market SF · 1840 个赞
- 通过 WhatsApp 购物车销售
含手机共 2 台设备
{
"phone": "+14155550123",
"hasWhatsApp": true,
"accountType": "business",
"username": "freshmarketsf",
"identity": {
"countryCode": "US",
"lid": "258166877098174@lid"
},
"profile": {
"about": "Fresh groceries, delivered daily 🍋",
"aboutRestricted": false,
"picUrl": "https://cdn.wtsp.dev/profile-pictures/5f2c9a4e-8d1b-4c3e-9a7f-2b6d0e8c1f43.jpg?v=tkphavoFaBWOiNjZo_B5L-uG8Bw4BjhRDNPgDs-1vp4",
"picHash": "tkphavoFaBWOiNjZo/B5L+uG8Bw4BjhRDNPgDs+1vp4="
},
"devices": {
"count": 2,
"hosted": false
},
"business": {
"displayName": "Fresh Market SF",
"description": "Neighbourhood grocery with same-day delivery across San Francisco.",
"categories": [
"Grocery Store",
"Food delivery"
],
"email": "hello@freshmarket.example",
"websites": [
"https://freshmarket.example"
],
"address": "123 Market St, San Francisco, CA 94103",
"latitude": 37.7749,
"longitude": -122.4194,
"timezone": "America/Los_Angeles",
"hours": [
{
"day": "mon",
"mode": "specific_hours",
"openTime": "08:00",
"closeTime": "20:00"
},
{
"day": "sat",
"mode": "specific_hours",
"openTime": "09:00",
"closeTime": "18:00"
},
{
"day": "sun",
"mode": "appointment_only",
"openTime": null,
"closeTime": null
}
],
"memberSince": "Joined in March, 2021",
"memberSinceTs": 1615420800,
"businessType": "smb",
"verifiedLevel": "unknown",
"cartEnabled": true,
"commerceExperience": "none",
"automatedType": "unknown",
"linkedFacebookPage": {
"id": "100064523310987",
"name": "Fresh Market SF",
"likes": 1840
}
}
}GET/v1/carrierCarrier, line type, country, region and time zones of any number.
The carrier and line type of any number (mobile, fixed line or VoIP), plus its country, region, time zones and national and international formats. Works whether or not the number is on WhatsApp. Ported numbers report their original carrier.
参数
phonestring · query必填
Phone number with its country code, e.g. +14155550123. The + is optional; spaces, dashes and a leading 00 are fine.
价格
0.002USDC per request
Only charged when a carrier is on record; numbers without one (the US and Canada among them) get a free 404.
# Once: npx @wtsp/cli start, then fund the wallet it prints.# Each request pays for itself and prints JSON.npx @wtsp/cli carrier +447400123456# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/carrier?phone=447400123456"import { wrapFetchWithPayment, x402Client } from "@x402/fetch";import { ExactEvmScheme } from "@x402/evm/exact/client";import { privateKeyToAccount } from "viem/accounts";
const wallet = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);const client = new x402Client().register("eip155:*", new ExactEvmScheme(wallet));const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment("https://wtsp.dev/v1/carrier?phone=447400123456");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/carrier?phone=447400123456" \ -H "Authorization: Bearer $WTSP_API_KEY"import osfrom eth_account import Accountfrom x402 import x402ClientSyncfrom x402.http.clients import x402_requestsfrom x402.mechanisms.evm import EthAccountSignerfrom x402.mechanisms.evm.exact.register import register_exact_evm_client
client = x402ClientSync()register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["PRIVATE_KEY"])))
with x402_requests(client) as session: print(session.get("https://wtsp.dev/v1/carrier?phone=447400123456").json())United Kingdom +44
Three
+44 7400 123456
{
"phone": "+447400123456",
"carrier": "Three",
"lineType": "mobile",
"isMobile": true,
"country": "GB",
"countryName": "United Kingdom",
"flag": "🇬🇧",
"countryCallingCode": "+44",
"location": null,
"timezones": [
"Europe/London"
],
"international": "+44 7400 123456",
"national": "07400 123456"
}POST/v1/bulkAny lookup on up to 100 numbers in one request, paid from an API key.
Runs one lookup (exists, profile, profileFull or carrier) on up to 100 numbers and answers each one, in the order sent, with the same JSON the single lookup returns. Same prices. API keys only: an x402 or MPP payment covers one number.
参数
AuthorizationBearer wtsp_… · header必填
Your API key.
lookupstring · body必填
Which lookup to run on every number: `exists`, `profile`, `profileFull` or `carrier`.
phonesstring[] · body必填
1 to 100 numbers with their country codes, written any way a single lookup accepts.
价格
Sameprice per answer
Each distinct number answered is charged once at its lookup's price. Typos, lookups WhatsApp did not answer and numbers without a carrier are free. The full price is held when the request starts; the unused part goes straight back on the key.
# Reads the key from WTSP_API_KEY and the numbers from a file, one per line.# A longer list goes out 100 numbers at a time.npx @wtsp/cli bulk exists numbers.txtcurl -X POST "https://wtsp.dev/v1/bulk" \ -H "Authorization: Bearer $WTSP_API_KEY" \ -H "content-type: application/json" \ -d '{"lookup":"exists","phones":["+14155550123","+44 7400 123456","+1415"]}'const res = await fetch("https://wtsp.dev/v1/bulk", { method: "POST", headers: { authorization: `Bearer ${process.env.WTSP_API_KEY}`, "content-type": "application/json", }, body: JSON.stringify({"lookup": "exists", "phones": ["+14155550123", "+44 7400 123456", "+1415"]}),});console.log(await res.json());import osimport requests
res = requests.post( "https://wtsp.dev/v1/bulk", headers={"Authorization": f"Bearer {os.environ['WTSP_API_KEY']}"}, json={"lookup": "exists", "phones": ["+14155550123", "+44 7400 123456", "+1415"]},)print(res.json()){
"results": [
{
"input": "+14155550123",
"answer": {
"phone": "+14155550123",
"hasWhatsApp": true
}
},
{
"input": "+44 7400 123456",
"answer": {
"phone": "+447400123456",
"hasWhatsApp": false
}
},
{
"input": "+1415",
"error": {
"code": "invalid_phone",
"message": "Wrong number of digits for its country. Include the country code, like +14155550123."
}
}
],
"charged": "0.006",
"balance": "9.98"
}接入你的应用或智能体
为你的代码获取一个密钥,或者把一行文字粘贴给 AI 智能体,剩下的交给它。
获取 API 密钥
充值一次,每次号码或频道请求时带上密钥即可,也可一次发送最多 100 个号码。余额永不过期,请求失败的费用会退回余额。
金额
约可进行 34,666 次 WhatsApp 检测、17,333 次资料查询或 10,400 次频道帖子读取。
付款方式
已经有密钥了?
交给你的智能体
把这段内容粘贴到 Claude Code、Codex 或 Cursor 中。你的智能体会自己创建钱包,并为每次请求付费,无需注册账号。
Set up https://wtsp.dev/skill.md已经有 x402 钱包了?所有接口和价格都在 /openapi.json 中。
常见问题
查询能看到什么,看不到什么。
不保存联系人也能检测号码吗?
可以。把号码发送到 API,或在上方的检测工具里输入。无需把号码加入通讯录,也无需和它开启聊天,就能拿到结果。
个人账号能看到什么?
号码是否开通 WhatsApp、简介和头像、账号所属国家,以及关联了多少台设备。个人账号不会公开姓名;商家账号会提供完整的公开资料。
能看到被隐私设置隐藏的头像或简介吗?
不能。你只能看到账号对所有人公开的内容。被隐私设置隐藏的简介会返回空值并标记为受限,被隐藏的头像依然是隐藏的。
需要 WhatsApp 账号吗?
不需要。你发送号码即可收到 JSON,WhatsApp 那一端由我们负责。
可以检测整份名单吗?
可以。使用 API 密钥时,一次请求最多可发送 100 个号码,每个号码的价格不变。如果要一次处理成千上万个号码,请在 Apify 上运行名单。
为什么“未开通 WhatsApp”也要收费?
因为这同样是一个答案:我们向 WhatsApp 查询了,得到的结果是“否”。清理名单时,“否”和“是”一样有价值。
如何付费?
用 USDT、USDC、比特币或以太币购买预付额度,并在每次请求中附上密钥;或让你的 AI 智能体通过 x402 或 MPP 为每次查询付费。输错的号码和 WhatsApp 没有回应的查询都不收费。