# wtsp.dev

> WhatsApp data for AI agents. Send a phone number, learn whether it is on WhatsApp, or get back its WhatsApp profile, business details, profile photo or carrier. Scrape WhatsApp channels: search the directory, read a country's top channels, and get any channel's followers and posts. Each request can pay for itself, in USDC on Base with x402 or in stablecoins on Tempo with MPP, with no sign-up; or it can carry a prepaid API key. The prices are the same every way.

Base URL: https://wtsp.dev
Every phone lookup is a GET taking one query parameter, `phone`: Phone number with its country code, e.g. +14155550123. The + is optional; spaces, dashes and a leading 00 are fine.
Lists of up to 100 numbers go in one POST to /v1/bulk with an API key (see "Many numbers at once").
Channel endpoints are GETs too; their parameters are under "Channels".

## Endpoints

- [GET /v1/exists](https://wtsp.dev/v1/exists?phone=14155550123): 0.003 USDC per request. Whether a number is on WhatsApp: a plain yes or no.
- [GET /v1/profile](https://wtsp.dev/v1/profile?phone=14155550123): 0.006 USDC per request. Registration, account type, about text and the full business profile.
- [GET /v1/profile/full](https://wtsp.dev/v1/profile/full?phone=14155550123): 0.01 USDC per request. Everything in /v1/profile plus a permanent profile-photo URL and the WhatsApp username.
- [GET /v1/carrier](https://wtsp.dev/v1/carrier?phone=447400123456): 0.002 USDC per request. Carrier, line type, country, region and time zones of any number.
- [GET /v1/channels/search](https://wtsp.dev/v1/channels/search?q=football): 0.01 USDC per request. Search WhatsApp's channel directory: up to about 60 channels, best match first.
- [GET /v1/channels/top](https://wtsp.dev/v1/channels/top?country=US&view=trending): 0.03 USDC per request. A country's channel rankings: up to 500 trending, popular, new or featured channels.
- [GET /v1/channels/info](https://wtsp.dev/v1/channels/info?channel=0029Va4K0PZ5a245NkngBA2M): 0.004 USDC per request. One channel from its link: name, description, followers, green tick and state.
- [GET /v1/channels/posts](https://wtsp.dev/v1/channels/posts?channel=0029Va4K0PZ5a245NkngBA2M): 0.01 USDC per request. Up to 300 of a channel's posts per request, with media, polls, reactions and forwards.

Big volumes? Write to hello@wtsp.dev with what you look up and how often, for up to 70% off the list price.

## Channels

### GET /v1/channels/search

- `q` (required): What to search for, as typed in WhatsApp's channel search: a name, a topic, a brand.
- `category`: Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.

### GET /v1/channels/top

- `country` (required): Whose list to read, as a two-letter country code (ISO 3166-1 alpha-2), e.g. US. WhatsApp keeps no worldwide list.
- `view`: Which list: `recommended`, `trending`, `popular`, `new`, `featured`. Defaults to `recommended`.
- `category`: Only channels in this category: `business`, `entertainment`, `lifestyle`, `news`, `organizations`, `people`, `sports`. One at a time.

### GET /v1/channels/info

- `channel` (required): The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).

### GET /v1/channels/posts

- `channel` (required): The channel: its link (https://whatsapp.com/channel/…), the code at the end of the link, or its id (<digits>@newsletter).
- `count`: How many posts, from 1 to 300 (the default).
- `before`: The `before` of an earlier page, for the posts before it. Leave it out for the latest posts.

A search or a list comes back whole in one request: there are no pages. Posts come 300 at most per request and go back 30 days, which is all WhatsApp keeps: a page that fills `count` carries `before`, to send back for the posts before it. Picture and media links are WhatsApp's own and expire within days, so download what you keep. Channel requests take no bulk call: send one request per channel.

## Paying with x402

1. Call the endpoint. You get `402 Payment Required`; the `PAYMENT-REQUIRED` header (base64 JSON) names the amount, the token (USDC on Base) and the address to pay.
2. Sign a USDC transfer authorization (EIP-3009) for exactly that amount and repeat the request with it in the `PAYMENT-SIGNATURE` header. No gas or ETH is needed.
3. You get `200` with the data. The `PAYMENT-RESPONSE` header carries the settlement transaction.

Any x402 client does all three steps:

- `npx @wtsp/cli`: the wtsp CLI. Creates a wallet, pays, prints JSON. Setup guide: https://wtsp.dev/skill.md
- `@x402/fetch` (TypeScript) or the `x402` Python package, with a funded Base wallet.
- AgentCash and other x402 wallets, which discover the endpoints from https://wtsp.dev/openapi.json.

## Paying with MPP instead

Every 402 also carries MPP challenges (the Machine Payments Protocol) in `WWW-Authenticate`: the same price, paid in a stablecoin on Tempo (OUSD or USDC.e). Any MPP client pays them, e.g. `npx mppx https://wtsp.dev/v1/profile?phone=14155550123` or `npx @wtsp/cli mode mpp`. The payment is validated first and only broadcast once the answer is ready, so a failed lookup costs nothing here either. The receipt comes back in the `Payment-Receipt` header.

## Paying with an API key instead

Prepaid credit suits callers who would rather not sign a payment per request. Buy 1 to 5000 whole USDC at a time, with `POST /v1/credits?amount=10` (paid with x402) or at https://wtsp.dev/pricing#keys from any browser wallet holding USDC on Base, and you get a key that is shown once. Every full 50 USDC adds 2% bonus credit, up to 30%. Then send it with every request:

    Authorization: Bearer wtsp_…

Same prices; failed lookups are refunded to the key. Credit never expires, and it can't be cashed out. Each response carries the credit left in the `wtsp-credits-remaining` header, and `GET /v1/credits` with the key returns the balance. A key out of credit gets a 402 with code `insufficient_credits`. POST /v1/credits with the key tops it up. The CLI uses a key when `WTSP_API_KEY` is set.

## Many numbers at once

With an API key, `POST /v1/bulk` runs one lookup on up to 100 numbers in a single request:

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

`lookup` is `exists`, `profile`, `profileFull` or `carrier`. Each entry of `results` holds the number as sent (`input`) and either `answer`, the same JSON the single lookup returns, or `error` (`invalid_phone`, `lookup_failed` or `no_carrier`). 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. The response gives `charged` and `balance` in USD. Per-request x402 and MPP payments cover one number each, so bulk needs a key.

Example response:

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

## What is charged

- 200: The answer, “not on WhatsApp” and “no such channel” included. Charged.
- 400: A malformed number, channel link or parameter, rejected before any payment is asked for. Not charged.
- 401: The API key sent does not exist. Not charged.
- 402: Payment required, or the payment sent was invalid. Not charged.
- 404: Carrier lookup only: no carrier on record for the number. Not charged.
- 503: WhatsApp did not answer. The payment is cancelled, never settled. Not charged.

Errors are JSON: `{"error": {"code": "...", "message": "..."}}`.

## Response: /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.

- `phone`: string. The number looked up, in E.164.
- `hasWhatsApp`: boolean. Whether the number is a registered WhatsApp account. `false` is a definitive answer, not a failure.

Example:

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

## Response: /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.

- `phone`: string. The number looked up, in E.164.
- `hasWhatsApp`: true. The number is a registered WhatsApp account.
- `accountType`: string. `business` when WhatsApp published a business profile.
- `identity`: object
- `identity.countryCode`: string | null. Country WhatsApp reports for the account (ISO 3166-1 alpha-2), not one guessed from the prefix.
- `identity.lid`: string | null. WhatsApp's internal account id. Numbers that share one account share it.
- `profile`: object
- `profile.about`: string | null. The "about" (status) text.
- `profile.aboutRestricted`: boolean. True when an about text exists but privacy settings hide it, so `about` is empty.
- `devices` (optional): object. Absent on the rare occasion WhatsApp sends no device list.
- `devices.count`: number. Linked devices including the phone itself, so 1 means phone only.
- `devices.hosted`: boolean. Served by the WhatsApp Business Platform (Cloud API) rather than a phone: a strong real-business signal.
- `business`: object | null. Business profile; null for personal accounts.
- `business.displayName`: string | null. Public business name. Personal accounts publish no name at all.
- `business.description`: string | null
- `business.categories`: string[]. Every category the business picked; often more than one.
- `business.email`: string | null
- `business.websites`: string[]
- `business.address`: string | null
- `business.latitude`: number | null
- `business.longitude`: number | null
- `business.timezone`: string | null. IANA zone the opening hours are in.
- `business.hours`: object[]. Opening hours per day.
- `business.hours[].day`: string. Day of week, e.g. `mon`.
- `business.hours[].mode`: string. `specific_hours`, `open_24h` or `appointment_only` (times are null then).
- `business.hours[].openTime`: string | null. Opening time, HH:MM.
- `business.hours[].closeTime`: string | null. Closing time, HH:MM.
- `business.memberSince`: string | null. When the business joined, as WhatsApp words it: "Joined in January, 2026".
- `business.memberSinceTs`: number | null. The same moment as a unix timestamp (seconds).
- `business.businessType`: string | null. `smb` for a small business, or an enterprise tier.
- `business.verifiedLevel`: string | null. Meta verification tier.
- `business.cartEnabled`: boolean. Whether the account sells through a WhatsApp cart.
- `business.commerceExperience`: string | null
- `business.automatedType`: string | null. Set when WhatsApp flags the account as automated (a bot).
- `business.linkedFacebookPage`: object | null. Linked Facebook page and its follower count.
- `business.linkedFacebookPage.id`: string
- `business.linkedFacebookPage.name`: string | null
- `business.linkedFacebookPage.likes`: number | null

Example:

```json
{
  "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
    }
  }
}
```

## Response: /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.

- `phone`: string. The number looked up, in E.164.
- `hasWhatsApp`: true. The number is a registered WhatsApp account.
- `accountType`: string. `business` when WhatsApp published a business profile.
- `username` (optional): string | null. The account's WhatsApp username (@handle) without the @, or null when it has none. Absent on the occasional lookup where it isn't known.
- `identity`: object
- `identity.countryCode`: string | null. Country WhatsApp reports for the account (ISO 3166-1 alpha-2), not one guessed from the prefix.
- `identity.lid`: string | null. WhatsApp's internal account id. Numbers that share one account share it.
- `profile`: object
- `profile.about`: string | null. The "about" (status) text.
- `profile.aboutRestricted`: boolean. True when an about text exists but privacy settings hide it, so `about` is empty.
- `profile.picUrl`: string | null. Permanent URL of the profile photo; null when there is none or privacy settings hide it.
- `profile.picHash`: string | null. Content hash of the photo. Unchanged hash, unchanged photo.
- `devices` (optional): object. Absent on the rare occasion WhatsApp sends no device list.
- `devices.count`: number. Linked devices including the phone itself, so 1 means phone only.
- `devices.hosted`: boolean. Served by the WhatsApp Business Platform (Cloud API) rather than a phone: a strong real-business signal.
- `business`: object | null. Business profile; null for personal accounts.
- `business.displayName`: string | null. Public business name. Personal accounts publish no name at all.
- `business.description`: string | null
- `business.categories`: string[]. Every category the business picked; often more than one.
- `business.email`: string | null
- `business.websites`: string[]
- `business.address`: string | null
- `business.latitude`: number | null
- `business.longitude`: number | null
- `business.timezone`: string | null. IANA zone the opening hours are in.
- `business.hours`: object[]. Opening hours per day.
- `business.hours[].day`: string. Day of week, e.g. `mon`.
- `business.hours[].mode`: string. `specific_hours`, `open_24h` or `appointment_only` (times are null then).
- `business.hours[].openTime`: string | null. Opening time, HH:MM.
- `business.hours[].closeTime`: string | null. Closing time, HH:MM.
- `business.memberSince`: string | null. When the business joined, as WhatsApp words it: "Joined in January, 2026".
- `business.memberSinceTs`: number | null. The same moment as a unix timestamp (seconds).
- `business.businessType`: string | null. `smb` for a small business, or an enterprise tier.
- `business.verifiedLevel`: string | null. Meta verification tier.
- `business.cartEnabled`: boolean. Whether the account sells through a WhatsApp cart.
- `business.commerceExperience`: string | null
- `business.automatedType`: string | null. Set when WhatsApp flags the account as automated (a bot).
- `business.linkedFacebookPage`: object | null. Linked Facebook page and its follower count.
- `business.linkedFacebookPage.id`: string
- `business.linkedFacebookPage.name`: string | null
- `business.linkedFacebookPage.likes`: number | null

Example:

```json
{
  "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
    }
  }
}
```

## Response: /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.

- `phone`: string. The number looked up, in E.164.
- `carrier`: string. The number's carrier. For a ported number, its original carrier.
- `lineType`: string. `mobile`, `fixed line`, `fixed line or mobile`, `voip`, `toll free`…
- `isMobile`: boolean | null. Null where a country hands mobiles and landlines out of one shared range.
- `country`: string. ISO 3166-1 alpha-2 country of the number.
- `countryName`: string
- `flag`: string
- `countryCallingCode`: string
- `location`: string | null. Town or region the number was issued in, where published.
- `timezones`: string[]
- `international`: string. The number in international format.
- `national`: string. The number as dialled inside its country.

Example:

```json
{
  "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"
}
```

## Response: /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.

- `channels`: object[]. In WhatsApp's own order: best match first for a search, its ranking for a list.
- `channels[].id`: string. The channel's address on WhatsApp, `<digits>@newsletter`. It stays the same when its name or link changes.
- `channels[].invite`: string | null. The code in its link: `https://whatsapp.com/channel/<invite>`.
- `channels[].handle`: string | null. Its username, or null.
- `channels[].name`: string | null
- `channels[].description`: string | null. As the channel wrote it.
- `channels[].followers`: number | null. The exact follower count.
- `channels[].verified`: boolean. Whether it has WhatsApp's green tick.
- `channels[].createdAt`: string | null. When it was created, ISO 8601.
- `channels[].picture`: string | null. Its picture. WhatsApp's own signed link, which expires within days: download what you keep.

Example:

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

## Response: /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.

- `channels`: object[]. In WhatsApp's own order: best match first for a search, its ranking for a list.
- `channels[].id`: string. The channel's address on WhatsApp, `<digits>@newsletter`. It stays the same when its name or link changes.
- `channels[].invite`: string | null. The code in its link: `https://whatsapp.com/channel/<invite>`.
- `channels[].handle`: string | null. Its username, or null.
- `channels[].name`: string | null
- `channels[].description`: string | null. As the channel wrote it.
- `channels[].followers`: number | null. The exact follower count.
- `channels[].verified`: boolean. Whether it has WhatsApp's green tick.
- `channels[].createdAt`: string | null. When it was created, ISO 8601.
- `channels[].picture`: string | null. Its picture. WhatsApp's own signed link, which expires within days: download what you keep.

Example:

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

## Response: /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.

- `channel`: object | null. Null when WhatsApp has no such channel: a definitive answer, not a failure.
- `channel.id`: string. The channel's address on WhatsApp, `<digits>@newsletter`. It stays the same when its name or link changes.
- `channel.invite`: string | null. The code in its link: `https://whatsapp.com/channel/<invite>`.
- `channel.handle`: string | null. Its username, or null.
- `channel.name`: string | null
- `channel.description`: string | null. As the channel wrote it.
- `channel.followers`: number | null. The exact follower count.
- `channel.verified`: boolean. Whether it has WhatsApp's green tick.
- `channel.createdAt`: string | null. When it was created, ISO 8601.
- `channel.picture`: string | null. Its picture. WhatsApp's own signed link, which expires within days: download what you keep.
- `channel.state`: string. `active`, `suspended` or `geosuspended`.

Example:

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

## Response: /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.

- `channel`: string | null. The channel's id, or null when WhatsApp has no such channel (and no posts).
- `posts`: object[]. Newest first. Posts the channel deleted are left out, so a page can hold fewer than asked for.
- `posts[].id`: number. Its number in the channel, rising with time. `https://whatsapp.com/channel/<invite>/<id>` opens it.
- `posts[].postedAt`: string. ISO 8601.
- `posts[].editedAt`: string | null. ISO 8601; null unless the post was edited.
- `posts[].type`: string. What the post is.
- `posts[].text`: string | null. The text, a media post's caption, or a poll's question.
- `posts[].media`: object | null
- `posts[].media.url`: string. The plain file, no key needed. WhatsApp's own signed link, which expires within days: download what you keep.
- `posts[].media.mimetype`: string | null
- `posts[].media.bytes`: number | null
- `posts[].media.width`: number | null
- `posts[].media.height`: number | null
- `posts[].media.seconds`: number | null. Length of a video or audio.
- `posts[].media.fileName`: string | null. A document's file name.
- `posts[].linkPreview`: object | null. The card under a shared link.
- `posts[].linkPreview.url`: string | null
- `posts[].linkPreview.title`: string | null
- `posts[].linkPreview.description`: string | null
- `posts[].poll`: object | null. A poll's options and their votes.
- `posts[].poll.options`: object[]
- `posts[].poll.options[].name`: string
- `posts[].poll.options[].votes`: number | null
- `posts[].reactionCount`: number. Every reaction on the post.
- `posts[].reactions`: object[]. The 20 most used reactions, most used first.
- `posts[].reactions[].emoji`: string
- `posts[].reactions[].count`: number
- `posts[].forwards`: number | null. How many times it was forwarded.
- `before`: number | null. Send it back as `before` for the posts before these; null when there are no older ones. WhatsApp keeps 30 days.

Example:

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

## Good to know

- A number that is not on WhatsApp gets only `phone` and `hasWhatsApp: false`, whichever WhatsApp lookup asked.
- Personal accounts publish no name. Only business accounts have `business.displayName`.
- Only /v1/profile/full includes `username`: the @handle, or null when the account has none. It is absent on the occasional lookup where it isn't known.
- An about text hidden by privacy settings comes back empty with `profile.aboutRestricted: true`.
- Ported numbers report their original carrier, and some countries (the US and Canada among them) have no carrier on record.
- A channel WhatsApp doesn't have comes back as `channel: null`: a definitive answer, charged like "not on WhatsApp".
- Follower counts are exact. View counts are not readable: WhatsApp shows them only to a channel's admins.

## More

- OpenAPI: https://wtsp.dev/openapi.json
- Agent skill (CLI setup): https://wtsp.dev/skill.md
- API reference for people, with a quick start and code samples: https://wtsp.dev/docs
- Every price, a cost calculator and the API key form: https://wtsp.dev/pricing
- The number lookups (WhatsApp check, profile, photo, carrier, bulk), with a live playground: https://wtsp.dev/whatsapp-profile-api
- The channel requests (search, top lists, details, posts), with a live playground: https://wtsp.dev/whatsapp-channel-api
- Calling codes, number formats and carriers by country: https://wtsp.dev/whatsapp-number-lookup
- Free tools for people, in the browser (https://wtsp.dev/whatsapp-tools): a WhatsApp number checker (https://wtsp.dev/whatsapp-number-checker), a profile picture viewer (https://wtsp.dev/whatsapp-dp-viewer) and a wa.me link and QR code generator (https://wtsp.dev/whatsapp-link-generator)
- The same lookups without code (up to 1,000 numbers per run, CSV or Excel export) on Apify: https://apify.com/vero-api/whatsapp-scraper

## Guides

- [Best WhatsApp number checker APIs in 2026](https://wtsp.dev/blog/best-whatsapp-number-checker-api): wtsp.dev, Apify Store validators, Maytapi and Whapi.Cloud compared on the price of 1,000 checks, sign-up, and whether they need your own WhatsApp number.
- [WhatsApp channel scraper: search, top lists and posts by API](https://wtsp.dev/blog/whatsapp-channel-scraper): Search WhatsApp's channel directory, pull a country's top 500 channels, and read any channel's posts with reactions and media, from one API.
- [WhatsApp business profile lookup by phone number](https://wtsp.dev/blog/whatsapp-business-profile-lookup): Get a business's name, categories, email, website, address and hours from its WhatsApp number, in one request.
- [WhatsApp profile picture API: get a photo by phone number](https://wtsp.dev/blog/whatsapp-profile-picture-api): Fetch a WhatsApp profile photo from a phone number as a permanent link, with a hash that tells you when it changes.
- [WhatsApp number filter: clean a list before a campaign](https://wtsp.dev/blog/clean-a-phone-list-before-a-whatsapp-campaign): Send the whole list as it is and keep only the numbers on WhatsApp. Typos cost nothing.
- [WhatsApp lookups for AI agents, paid per request](https://wtsp.dev/blog/whatsapp-lookups-for-ai-agents): How an agent checks a number on WhatsApp with no account and no API key: it pays a fraction of a cent in USDC with each request.
- [How to check if a phone number is on WhatsApp](https://wtsp.dev/blog/check-if-a-number-is-on-whatsapp): Find out whether any number has WhatsApp with one request, for a single lead or a list of ten thousand.

The guides are also written in Português (Brasil) at https://wtsp.dev/pt/blog and 简体中文 at https://wtsp.dev/zh/blog.
