wtsp.dev

Справочник API

Каждая проверка — это один GET-запрос с ответом в JSON. Здесь все эндпоинты: цена, код для копирования и пример ответа.

Базовый URLhttps://wtsp.dev

Вы не человек? Читайте openapi.json, llms.txt или skill.md.

Быстрый старт

От нуля до первого ответа за три шага.

  1. 01

    Получите ключ

    Пополните баланс от 1,00 $. Без аккаунта и подписки, баланс не сгорает.

  2. 02

    Отправьте запрос

    Один GET-запрос с ключом в заголовке Authorization. Этот проверяет, есть ли номер в WhatsApp.

    curl "https://wtsp.dev/v1/exists?phone=14155550123" \  -H "Authorization: Bearer $WTSP_API_KEY"
  3. 03

    Прочитайте ответ

    Ответ приходит в JSON. Заголовок wtsp-credits-remaining в нём показывает, сколько осталось на балансе ключа.

    200 OK
    wtsp-credits-remaining: 9.997

    {
      "phone": "+14155550123",
      "hasWhatsApp": true
    }

Делаете ИИ-агента? Ключ ему не нужен: он сам платит за каждый запрос. Настройте его через skill.md

Оплата

Три способа оплаты, цены одинаковые. Ответ с кодом 400 и выше никогда не оплачивается.

  • API-ключ

    Предоплаченный баланс для вашего кода, передаётся как Authorization: Bearer wtsp_…. Каждый ответ списывает свою цену с баланса, неудачная проверка ничего не стоит, и только с ключом можно отправить до 100 номеров одним запросом.

  • Оплата за запрос

    Без ключа и аккаунта. Первый запрос возвращает 402 с ценой; клиент подписывает платёж в USDC и отправляет запрос снова. Сделано для ИИ-агентов: x402 в сети Base или MPP в сети Tempo.

    Настроить агента

  • Бесплатно на сайте

    5 проверок в день прямо на сайте, без регистрации: настоящие ответы до любой оплаты.

    Проверить номер

Проверки

Оплата за каждый запрос через x402 или по API-ключу.

WhatsApp check

GET/v1/exists

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

+1 415 555 0123

Есть в WhatsApp

WhatsApp profile

GET/v1/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
FM

Fresh Market SF

+1 415 555 0123 US

БизнесGrocery StoreFood delivery

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 · 1 840 отметок «Нравится»
  • Продаёт через корзину WhatsApp

2 устройства, включая телефон

WhatsApp profile + photo

GET/v1/profile/full

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
FM

Fresh Market SF

+1 415 555 0123 US

Бизнес@freshmarketsfGrocery StoreFood delivery

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 · 1 840 отметок «Нравится»
  • Продаёт через корзину WhatsApp

2 устройства, включая телефон

Carrier lookup

GET/v1/carrier

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

United Kingdom +44

Three

+44 7400 123456

mobileEurope/London

Каналы

Поиск, топы, данные и посты. Оплата теми же способами.

Channel search

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"
    }
  ]
}

Top channels

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"
    }
  ]
}

Channel details

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"
  }
}

Channel posts

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
}

API-ключ

Пополните баланс один раз и отправляйте ключ с каждой проверкой.

Buy API credit

POST/v1/credits

Buy prepaid credit in whole USDC, paid with x402. Without an Authorization header a new API key is issued and returned once; with one, that key is topped up. The payment settles before any credit is written.

Параметры

amountinteger · queryобязательный

Whole USDC to pay, from 1 to 5000. Every full 50 adds 2% bonus credit, up to 30%.

AuthorizationBearer wtsp_… · headerнеобязательный

The key to top up. Leave it out to get a new key.

Цена

1–5000USDC, the amount you pay

You pay the amount you choose, and it becomes credit at the same prices, with 2% more for every full 50 USDC, up to 30%. Credit never expires; failed lookups go back on it.

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))  // x402 refuses payments above $1 unless told otherwise.  .setSpendControls({ maxAmountPerPayment: "$10" });const fetchWithPayment = wrapFetchWithPayment(fetch, client);
// A new key, holding 10 USDC. It is shown this once: save it.const res = await fetchWithPayment("https://wtsp.dev/v1/credits?amount=10", { method: "POST" });console.log(await res.json());
{
  "key": "wtsp_7Kq2xLmN4pR8sT1vW6yZ0aB3cD5eF9gH",
  "keyPrefix": "wtsp_7Kq2xLm",
  "added": "10",
  "balance": "10"
}

API key balance

GET/v1/credits

The credit left on an API key, and when it was last used. Free.

Параметр

AuthorizationBearer wtsp_… · headerобязательный

Your API key.

Цена

Free

Every paid response also carries the credit left in the wtsp-credits-remaining header.

curl "https://wtsp.dev/v1/credits" \  -H "Authorization: Bearer $WTSP_API_KEY"
{
  "keyPrefix": "wtsp_7Kq2xLm",
  "balance": "9.986",
  "createdAt": "2026-10-02T14:05:11.000Z",
  "lastUsedAt": "2026-10-09T18:24:03.000Z"
}

Bulk lookup

POST/v1/bulk

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.txt
{
  "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"
}

Ошибки

Любая ошибка — это JSON одного вида: код для вашей программы и сообщение для человека.

СтатусЧто это значит
200The answer, “not on WhatsApp” and “no such channel” included.
400A malformed number, channel link or parameter, rejected before any payment is asked for.
401The API key sent does not exist.
402Payment required, or the payment sent was invalid.
404no_carrierCarrier lookup only: no carrier on record for the number.
503lookup_failedWhatsApp did not answer. The payment is cancelled, never settled.

400 Bad Request

{
  "error": {
    "code": "invalid_phone",
    "message": "Wrong number of digits for its country. Include the country code, like +14155550123."
  }
}