wtsp.dev
搜索 · 排行榜 · 帖子

WhatsApp 频道 API

把 WhatsApp 频道直接接入你的代码或 AI 智能体:搜索频道目录,获取某个国家的前 500 个热门频道,读取任意频道的帖子及其表情回应和媒体。

免费搜索频道

每次请求 US$0.004 起。无需 WhatsApp 账号,无需注册。

GET /v1/channels/top?country=US&view=trending

  1. 1MF

    Matchday Football

    Scores, transfers and highlights from every league ⚽

    1482.9万关注者

  2. 2DM

    Daily Markets

    What moved the markets today, in five lines.

    620.4万关注者

  3. 3RB

    Recipe Box

    One quick dinner idea, every evening.

    294.2万关注者

  4. 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 🏆

4.8万2.2万4118转发 9342 次

用真实的 WhatsApp 数据试一试

在这里直接运行任意频道请求。每天前 5 次免费,无需账号;免费结果显示前 10 个频道或前 5 条帖子。

你想要什么?

名称、话题或品牌,就像在 WhatsApp 里输入的那样。

分类

正在确认你是真人,需要几秒钟。

更习惯用终端?在终端里运行同样的请求:

选择一个请求并运行,结果会按 WhatsApp 的样式显示在这里。

能获取什么

每次请求都返回干净的 JSON,数据直接来自 WhatsApp。只为得到的答案付费。

也支持电话号码:号码是否开通 WhatsApp、资料、商家信息、头像和运营商,每次查询 US$0.002 起。

了解号码资料 API

大家用它来做什么

品牌、媒体和创作者通过频道与数百万人沟通。现在你可以像读取其他数据源一样读取它们。

一次请求,干净的 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 football

频道接口

所有参数和字段,附示例。同样的参考也在 openapi.json 和 llms.txt 中。

查看文档
GET/v1/channels/search

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
{
  "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/top

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
{
  "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/info

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
{
  "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/posts

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
{
  "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 个号码。余额永不过期,请求失败的费用会退回余额。

金额

到账余额+4% 赠送US$104.00

约可进行 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 没有回应的请求不收费。

能一次获取很多频道吗?

每个频道发送一次请求。搜索和热门列表一次请求就能完整返回,无需翻页。