API de canais do WhatsApp
Traga canais do WhatsApp direto para o seu código ou o seu agente: busque no diretório de canais, pegue os 500 canais em alta de um país e leia os posts de qualquer canal com reações e mídia.
A partir de US$ 0,004 por requisição. Sem conta de WhatsApp, sem cadastro.
GET /v1/channels/top?country=US&view=trending
- 1MF
Matchday Football
Scores, transfers and highlights from every league ⚽
14,8 miseguidores
- 2DM
Daily Markets
What moved the markets today, in five lines.
6,2 miseguidores
- 3RB
Recipe Box
One quick dinner idea, every evening.
2,9 miseguidores
- 4TD
Tech Drops
New phones, apps and deals as they land.
1,4 miseguidores
GET /v1/channels/posts?channel=0029Vb6tXGL90x2oSNph2y19&count=300
Full time: 3–1. Three points and top of the table 🏆
Teste com dados reais do WhatsApp
Rode qualquer requisição de canais aqui mesmo. Suas primeiras 5 tentativas por dia são grátis, sem conta, e mostram os primeiros 10 canais ou 5 posts da resposta.
Um nome, um assunto ou uma marca, como você digitaria no WhatsApp.
Verificando se você é humano. Leva alguns segundos.
Prefere o terminal? Rode a mesma requisição lá:
O que você recebe
Cada requisição devolve um JSON limpo, lido do próprio WhatsApp. Você só paga pelas respostas.
Busca de canais
Busque no diretório de canais do WhatsApp por nome ou assunto, como a aba Canais faz, e receba todos os resultados: nome, descrição, número exato de seguidores, selo verde, data de criação e foto.
US$ 0,01 por requisição
Canais em alta
Pegue inteira a lista de canais em alta, populares, novos, em destaque ou recomendados de um país: até 500 canais em uma requisição, filtrados por categoria se quiser.
US$ 0,03 por requisição
Dados do canal
Cole o link de qualquer canal e receba os dados dele, inclusive se o canal continua ativo ou foi suspenso.
US$ 0,004 por requisição
Posts do canal
Leia até 300 posts por requisição, de até 30 dias atrás: texto, links de mídia, prévias de links, votos de enquetes, reações e encaminhamentos.
US$ 0,01 por requisição
Números de telefone também: se o número tem WhatsApp, o perfil, os dados comerciais, a foto e a operadora, a partir de US$ 0,002 por consulta.
Conheça a API de perfisO que dá para construir
Canais são onde marcas, veículos e criadores falam com milhões de pessoas. Agora você pode lê-los como qualquer outra fonte de dados.
Pesquisa de mercado
Descubra os canais que lideram um assunto ou um país e acompanhe o quanto crescem.
Monitoramento social
Acompanhe o que marcas, veículos e concorrentes publicam, e como o público reage.
Geração de leads
Encontre os canais ativos de um nicho e enriqueça os números da sua lista com perfis do WhatsApp.
Agentes de IA
Dê a um agente dados do WhatsApp que ele mesmo paga, sem conta e sem chave para gerenciar.
Uma requisição, JSON limpo
Envie uma chave de API em cada requisição, ou deixe seu agente pagar cada uma em USDC com x402 ou MPP.
# 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 footballEndpoints de canais
Todos os parâmetros e campos, com exemplos. A mesma referência está no openapi.json e no llms.txt.
Ler a documentaçãoGET/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.
Parâmetros
qstring · queryobrigatório
What to search for, as typed in WhatsApp's channel search: a name, a topic, a brand.
categorystring · queryopcional
Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.
Preço
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.
Parâmetros
countrystring · queryobrigatório
Whose list to read, as a two-letter country code (ISO 3166-1 alpha-2), e.g. US. WhatsApp keeps no worldwide list.
viewstring · queryopcional
Which list: `recommended`, `trending`, `popular`, `new`, `featured`. Defaults to `recommended`.
categorystring · queryopcional
Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.
Preço
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.
Parâmetro
channelstring · queryobrigatório
The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).
Preço
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.
Parâmetros
channelstring · queryobrigatório
The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).
countinteger · queryopcional
How many posts, from 1 to 300 (the default).
beforeinteger · queryopcional
The `before` of an earlier page, for the posts before it. Leave it out for the latest posts.
Preço
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
}Use no seu app ou no seu agente
Pegue uma chave para o seu código ou cole uma linha no seu agente de IA e deixe que ele cuide do resto.
Obter uma chave de API
Recarregue uma vez e envie a chave em cada requisição de números ou canais, ou com até 100 números de uma vez. O crédito nunca expira, e requisições que falham voltam para ele.
Valor
Cerca de 34.666 verificações no WhatsApp, 17.333 perfis ou 10.400 leituras de posts de canais.
Pagar com
Já tem uma chave?
Entregue ao seu agente
Cole isto no Claude Code, Codex ou Cursor. Seu agente cria a própria carteira e paga por cada requisição, sem precisar de conta.
Set up https://wtsp.dev/skill.mdJá tem uma carteira x402? Todos os endpoints e preços estão em /openapi.json.
Perguntas
O que a API lê e o que ela não lê.
Preciso de uma conta de WhatsApp?
Não. Você envia uma requisição e recebe JSON; a parte do WhatsApp fica por nossa conta.
Ele lê conversas privadas ou grupos?
Não. Ele lê canais, que qualquer pessoa pode seguir, e o perfil público por trás de um número. Conversas privadas, grupos e seus membros continuam privados.
Até quando os posts vão?
30 dias, que é tudo o que o WhatsApp guarda dos posts de um canal. Cada requisição devolve até 300; envie o before de uma página para receber os posts anteriores.
Os links de fotos e mídia duram?
Fotos de canais e mídias dos posts são links do próprio WhatsApp e expiram em poucos dias, então baixe o que quiser guardar. As fotos de perfil das consultas por número são diferentes: esses links são permanentes.
Dá para ver o número de visualizações?
Não. O WhatsApp mostra as visualizações de um canal só para os administradores. Você recebe o número exato de seguidores, as reações de cada post e quantas vezes cada um foi encaminhado.
Como eu pago?
Compre crédito pré-pago com USDT, USDC, Bitcoin ou Ether e envie a chave em cada requisição, ou deixe seu agente pagar cada requisição com x402 ou MPP. Uma requisição que o WhatsApp não responde nunca é cobrada.
Dá para consultar muitos canais de uma vez?
Envie uma requisição por canal. Buscas e listas de canais em alta vêm inteiras em uma só requisição, sem páginas para percorrer.