WhatsApp 频道 API
把 WhatsApp 频道直接接入你的代码或 AI 智能体:搜索频道目录,获取某个国家的前 500 个热门频道,读取任意频道的帖子及其表情回应和媒体。
每次请求 US$0.004 起。无需 WhatsApp 账号,无需注册。
GET /v1/channels/top?country=US&view=trending
- 1MF
Matchday Football
Scores, transfers and highlights from every league ⚽
1482.9万关注者
- 2DM
Daily Markets
What moved the markets today, in five lines.
620.4万关注者
- 3RB
Recipe Box
One quick dinner idea, every evening.
294.2万关注者
- 4TD
Tech Drops
New phones, apps and deals as they land.
138.6万关注者
GET /v1/channels/posts?channel=0029Vb6tXGL90x2oSNph2y19&count=300
Full time: 3–1. Three points and top of the table 🏆
用真实的 WhatsApp 数据试一试
在这里直接运行任意频道请求。每天前 5 次免费,无需账号;免费结果显示前 10 个频道或前 5 条帖子。
名称、话题或品牌,就像在 WhatsApp 里输入的那样。
正在确认你是真人,需要几秒钟。
更习惯用终端?在终端里运行同样的请求:
能获取什么
每次请求都返回干净的 JSON,数据直接来自 WhatsApp。只为得到的答案付费。
频道搜索
像 WhatsApp 的“频道”标签页一样,按名称或主题搜索频道目录,返回全部匹配结果:名称、简介、精确关注人数、绿色认证标志、创建日期和头像。
每次请求 US$0.01
热门频道
一次请求获取某个国家完整的热门、流行、最新、精选或推荐频道列表:最多 500 个频道,也可按类别筛选。
每次请求 US$0.03
频道详情
粘贴任意频道链接,即可获取其详情,包括频道仍在运营还是已被封禁。
每次请求 US$0.004
频道帖子
每次请求最多读取 300 条帖子,可追溯 30 天:文字、媒体链接、链接预览、投票结果、表情回应和转发次数。
每次请求 US$0.01
也支持电话号码:号码是否开通 WhatsApp、资料、商家信息、头像和运营商,每次查询 US$0.002 起。
了解号码资料 API大家用它来做什么
品牌、媒体和创作者通过频道与数百万人沟通。现在你可以像读取其他数据源一样读取它们。
市场研究
找出某个主题或国家里领先的频道,并跟踪它们的增长速度。
社媒监测
关注品牌、媒体和竞争对手发布的内容,以及受众的反应。
获客
找到某个细分领域里活跃的频道,再用 WhatsApp 资料丰富你名单上的号码。
AI 智能体
让 AI 智能体自己付费获取 WhatsApp 数据,无需账号,也无需管理密钥。
一次请求,干净的 JSON
每次请求附上 API 密钥,或让你的 AI 智能体通过 x402 或 MPP 用 USDC 按请求付费。
# A country's trending channels, up to 500 in one requestcurl "https://wtsp.dev/v1/channels/top?country=US&view=trending" \ -H "Authorization: Bearer $WTSP_API_KEY"
# The latest 300 posts of any channel, from its linkcurl "https://wtsp.dev/v1/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M" \ -H "Authorization: Bearer $WTSP_API_KEY"
# Or let the CLI pay per request from its own walletnpx @wtsp/cli search footballGET/v1/channels/searchSearch WhatsApp's channel directory: up to about 60 channels, best match first.
Searches WhatsApp's channel directory the way its Channels tab does, and returns every match it gives, best first (45 to 60 for a common word): each channel's id, link code, name, description, exact follower count, green tick, creation date and picture.
参数
qstring · query必填
What to search for, as typed in WhatsApp's channel search: a name, a topic, a brand.
categorystring · query可选
Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.
价格
0.01USDC per request
Every answer is charged, an empty result or “no such channel” included; a request 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 search football# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/channels/search?q=football"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/channels/search?q=football");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/channels/search?q=football" \ -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/channels/search?q=football").json()){
"channels": [
{
"id": "120363421468257352@newsletter",
"invite": "0029Vb6tXGL90x2oSNph2y19",
"handle": null,
"name": "Matchday Football",
"description": "Scores, transfers and highlights from every league, every day ⚽",
"followers": 1482907,
"verified": true,
"createdAt": "2024-02-18T09:12:44.000Z",
"picture": "https://pps.whatsapp.net/m1/v/t24/AQN95N4DAkX_lpUAe9-IAUmr6bn-j2KMBUeOPVPNEflRM9PV2LIVeLotHAl9rlGnVrlPMDRbX?stp=dst-jpg_s192x192&oe=6AFADC18"
},
{
"id": "120363302218843175@newsletter",
"invite": "0029VaeWKs9I7BeMxk4QOV2s",
"handle": "transferwatch",
"name": "Transfer Watch",
"description": "Confirmed deals and rumours, the minute they land.",
"followers": 386114,
"verified": false,
"createdAt": "2024-05-30T17:40:02.000Z",
"picture": "https://pps.whatsapp.net/m1/v/t24/AQN95N4DAkX_lpUAe9-IAUmr6bn-j2KMBUeOPVPNEflRM9PV2LIVeLotHAl9rlGnVrlPMDRbX?stp=dst-jpg_s192x192&oe=6AFADC18"
}
]
}GET/v1/channels/topA country's channel rankings: up to 500 trending, popular, new or featured channels.
One of the channel lists WhatsApp keeps per country (trending, popular, new, featured or recommended), whole, in its order: up to 500 channels (about 250 for recommended), with the same details as a search.
参数
countrystring · query必填
Whose list to read, as a two-letter country code (ISO 3166-1 alpha-2), e.g. US. WhatsApp keeps no worldwide list.
viewstring · query可选
Which list: `recommended`, `trending`, `popular`, `new`, `featured`. Defaults to `recommended`.
categorystring · query可选
Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.
价格
0.03USDC per request
Every answer is charged, an empty result or “no such channel” included; a request 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 top US --view trending# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/channels/top?country=US&view=trending"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/channels/top?country=US&view=trending");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/channels/top?country=US&view=trending" \ -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/channels/top?country=US&view=trending").json()){
"channels": [
{
"id": "120363421468257352@newsletter",
"invite": "0029Vb6tXGL90x2oSNph2y19",
"handle": null,
"name": "Matchday Football",
"description": "Scores, transfers and highlights from every league, every day ⚽",
"followers": 1482907,
"verified": true,
"createdAt": "2024-02-18T09:12:44.000Z",
"picture": "https://pps.whatsapp.net/m1/v/t24/AQN95N4DAkX_lpUAe9-IAUmr6bn-j2KMBUeOPVPNEflRM9PV2LIVeLotHAl9rlGnVrlPMDRbX?stp=dst-jpg_s192x192&oe=6AFADC18"
},
{
"id": "120363302218843175@newsletter",
"invite": "0029VaeWKs9I7BeMxk4QOV2s",
"handle": "transferwatch",
"name": "Transfer Watch",
"description": "Confirmed deals and rumours, the minute they land.",
"followers": 386114,
"verified": false,
"createdAt": "2024-05-30T17:40:02.000Z",
"picture": "https://pps.whatsapp.net/m1/v/t24/AQN95N4DAkX_lpUAe9-IAUmr6bn-j2KMBUeOPVPNEflRM9PV2LIVeLotHAl9rlGnVrlPMDRbX?stp=dst-jpg_s192x192&oe=6AFADC18"
}
]
}GET/v1/channels/infoOne channel from its link: name, description, followers, green tick and state.
A channel's details from its link, link code or id: name, description, exact follower count, green tick, creation date, picture, and whether it is active or suspended. A channel WhatsApp doesn't have comes back as null.
参数
channelstring · query必填
The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).
价格
0.004USDC per request
Every answer is charged, an empty result or “no such channel” included; a request 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 channel 0029Va4K0PZ5a245NkngBA2M# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/channels/info?channel=0029Va4K0PZ5a245NkngBA2M"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/channels/info?channel=0029Va4K0PZ5a245NkngBA2M");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/channels/info?channel=0029Va4K0PZ5a245NkngBA2M" \ -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/channels/info?channel=0029Va4K0PZ5a245NkngBA2M").json()){
"channel": {
"id": "120363144038483540@newsletter",
"invite": "0029Va4K0PZ5a245NkngBA2M",
"handle": null,
"name": "WhatsApp",
"description": "WhatsApp’s official channel. Follow for our latest feature launches, updates, exclusive drops and more.",
"followers": 233827056,
"verified": true,
"createdAt": "2023-07-07T16:21:35.000Z",
"picture": "https://pps.whatsapp.net/m1/v/t24/AQN95N4DAkX_lpUAe9-IAUmr6bn-j2KMBUeOPVPNEflRM9PV2LIVeLotHAl9rlGnVrlPMDRbX?stp=dst-jpg_s192x192&oe=6AFADC18",
"state": "active"
}
}GET/v1/channels/postsUp to 300 of a channel's posts per request, with media, polls, reactions and forwards.
A channel's posts, newest first, up to 300 a request and back 30 days (all WhatsApp keeps): text, media links, link previews, poll votes, reaction counts and forwards. Send a page's before back for the posts before it.
参数
channelstring · query必填
The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).
countinteger · query可选
How many posts, from 1 to 300 (the default).
beforeinteger · query可选
The `before` of an earlier page, for the posts before it. Leave it out for the latest posts.
价格
0.01USDC per request
Every answer is charged, an empty result or “no such channel” included; a request 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 posts 0029Va4K0PZ5a245NkngBA2M# Without payment you get the 402 challenge: price, token and# address are in the PAYMENT-REQUIRED header.curl -i "https://wtsp.dev/v1/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M"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/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M");console.log(await res.json());# Prepaid credit instead of a payment per request: https://wtsp.dev/pricing#keyscurl "https://wtsp.dev/v1/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M" \ -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/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M").json()){
"channel": "120363144038483540@newsletter",
"posts": [
{
"id": 801,
"postedAt": "2026-11-12T21:58:41.000Z",
"editedAt": null,
"type": "image",
"text": "*What We’re Channeling: Latin Pop* Big hooks, bigger energy, and choruses you play five times in a row.",
"media": {
"url": "https://mmg.whatsapp.net/m1/v/t24/AQMN9nbOMn8pcmJwYklDm9UfET3mYYYp_8MWgq309F47l8WjLFiISmDFtq5KSa2C7P87L?oe=6B1D9FFE",
"mimetype": "image/jpeg",
"bytes": 109901,
"width": 1600,
"height": 675,
"seconds": null,
"fileName": null
},
"linkPreview": null,
"poll": null,
"reactionCount": 12753,
"reactions": [
{
"emoji": "👍",
"count": 3885
},
{
"emoji": "❤️",
"count": 1725
},
{
"emoji": "🙏",
"count": 774
}
],
"forwards": 1322
}
],
"before": 801
}接入你的应用或智能体
为你的代码获取一个密钥,或者把一行文字粘贴给 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 账号吗?
不需要。你发送请求即可收到 JSON,WhatsApp 那一端由我们负责。
能读取私聊或群组吗?
不能。它读取的是任何人都能关注的频道,以及电话号码背后的公开资料。私聊、群组及其成员都保持私密。
帖子能追溯多久?
30 天,这是 WhatsApp 保存频道帖子的全部时长。每次请求最多返回 300 条;把某一页的 before 传回去,即可获取更早的帖子。
头像和媒体链接会一直有效吗?
频道头像和帖子媒体是 WhatsApp 自己的链接,几天内就会失效,请下载需要保留的内容。号码查询返回的个人头像不同:那些链接是永久的。
能获取浏览量吗?
不能。WhatsApp 只向频道管理员显示浏览量。你会得到精确的关注人数、每条帖子的表情回应以及转发次数。
如何付费?
用 USDT、USDC、比特币或以太币购买预付额度,并在每次请求中附上密钥;或让你的 AI 智能体通过 x402 或 MPP 为每次请求付费。WhatsApp 没有回应的请求不收费。
能一次获取很多频道吗?
每个频道发送一次请求。搜索和热门列表一次请求就能完整返回,无需翻页。