Powrót do prezentacji

whatsapp-checker

Urzędnik
eduair940
TypeScript
Zestawy SDK i narzędzia

whatsapp-checker was the first official TypeScript client for the WhatsApp Data API, published on npm in June 2025 as whatsapp-number-checker. It wraps the profile endpoint with rate limits read from the response headers, retries with exponential backoff, a request queue and a bulk helper.

It is kept for reference and is no longer maintained: it calls a RapidAPI listing that has since been retired. For a new TypeScript or Node.js integration use whatsapp-data-sdk, which covers every endpoint, reads the cheap stored-record endpoint before a live check, and works with a direct key or with RapidAPI.

Since November 2026 the whatsapp-number-checker package is deprecated on npm, and the npm name whatsapp-checker is an official alias of whatsapp-data-sdk: npm install whatsapp-checker installs the current SDK, with the same client, methods and types under either name.

Punkty końcowe, których używa

GET /number/{phone} — the profile lookup this client wrapped, with presence and profile fields.
Bulk checks went through a client-side queue that paced the single-number endpoint to the plan's limits.

To samo połączenie

TYPESCRIPT
// The same lookup with the current SDK: npm install whatsapp-data-sdk
import { WhatsAppDataClient } from "whatsapp-data-sdk";

const client = new WhatsAppDataClient({ apiKey: process.env.WA_API_KEY! });
const profile = await client.getProfile("14155552671");
console.log(profile.exists, profile.about, profile.profilePic);

Jak to uruchomić

1
For new code, install the current SDK: npm install whatsapp-data-sdk (or npm install whatsapp-checker, the same SDK under its alias name).
2
Provide your API key through an environment variable.
3
Call client.getProfile(number), or client.checkCached(number) to read the stored record before paying for a live check.

Zbuduj przy użyciu tego samego API

Ten projekt działa w oparciu o publiczny interfejs API danych WhatsApp. Zdobądź klucz i złóż pierwsze żądanie w kilka minut.

Co mówią nasi użytkownicy

Prawdziwe opinie od naszych zadowolonych klientów

Ładowanie recenzji...