WhatsApp Bulk Number Checker API: Fast Phone Number Verification
Esta página aún no está disponible en tu idioma.
Check the details of the WhatsApp of the input global number, whether it is a WhatsApp account. Service based on short-term cache and real-time detection.
Upload Detection File Code example:
curl --location 'https://api.checknumber.ai/v1/tasks' \--header 'X-API-Key: API-KEY' \--form 'file=@"./number.txt"' \--form 'task_type="ws"'Check Task Status Code example:
curl --location 'https://api.checknumber.ai/v1/gettasks' \--header 'X-API-Key: API-KEY' \--form 'task_id="task_id"'Response for the upload detection file successful
{ "created_at": "2024-10-19T18:24:56.450567423Z", "updated_at": "2024-10-19T18:24:56.450567423Z", "task_id": "cs9viu7i61pkfs4oavvg", "user_id": "test", "status": "pending", "total": 0, "success": 0, "failure": 0}Response for the processing status
{ "created_at": "2024-10-19T18:24:56.450567423Z", "updated_at": "2024-10-19T18:33:22.86152082Z", "task_id": "cs9viu7i61pkfs4oavvg", "user_id": "test", "status": "processing", "total": 20000, "success": 6724, "failure": 0}Provide a response indicating the task is completed and include the download URL for the results.
{ "created_at": "2024-10-19T18:24:56.450567423Z", "updated_at": "2024-10-19T18:53:43.141760071Z", "task_id": "cs9viu7i61pkfs4oavvg", "user_id": "test", "status": "exported", "total": 20000, "success": 20000, "failure": 0, "result_url": "https://example-link-to-results.xlsx"}Upload file request url
POST https://api.checknumber.ai/v1/tasks
Upload file request parameters
| Parameter | Description |
|---|---|
file | file, Upload file, each line should contain one phone number in E.164 format |
task_type | string, Task type, set to “ws” |
Check task status request url
POST https://api.checknumber.ai/v1/gettasks
Check task status request parameters
| Parameter | Description |
|---|---|
task_id | string, Task ID returned from task creation |
Result Fields
| Field | Description | Example |
|---|---|---|
Number | Phone number in E.164 format | +41798284651 |
whatsapp | Whether number has active WhatsApp account | yes, no |
Response Format
| Field | Description |
|---|---|
created_at | Timestamp when task was created |
updated_at | Timestamp of last task status update |
task_id | Unique task identifier |
user_id | ID of user |
status | Task status: pending: Queued and waiting processing: Currently processing exported: Results available for download |
total | Total phone numbers processed |
success | Numbers successfully identified |
failure | Numbers that failed processing |
result_url | (Optional) Download URL for results when status is exported |
Status Codes
| Status | Description |
|---|---|
200 | charge, Request successful, task created or status retrieved |
400 | free, Bad request, invalid parameters or file format |
500 | free, Internal server error, retry later |