· 3 min read

WhatsApp Number Deep Detection API

Learn how to use the WhatsApp Number Deep Detection API to check the status and details of WhatsApp accounts globally.

WhatsApp is a widely used messaging application, and understanding the details of WhatsApp accounts can be crucial for various business applications. This article will introduce how to use the WhatsApp Deep Detection API to bulk check the status and details of inputted global numbers.

Main Features

The WhatsApp Number Deep Detection API offers several powerful features:

Comprehensive Account Information

The API can provide detailed information about a WhatsApp account, including its registration status, profile picture URL, gender, age, and the type of profile picture.

Bulk Check

The API can check the status and details of multiple numbers at once, which is very useful for batch processing.

Real-time Status Checking

You can check the current status of a WhatsApp number in real-time, ensuring that you have the most accurate information.

Easy Integration

The API is designed for easy integration, allowing developers to incorporate it into their existing systems seamlessly.

Usage Steps

Using the WhatsApp Deep Detection API is straightforward. Follow these steps:

  1. Register and obtain an API key.
  2. Use the API key for authentication.
  3. Call the API to check the WhatsApp number details.

Example Code

Here is an example code for using the WhatsApp Deep Detection API:
import axios from 'axios';

const apiKey = 'YOUR_API_KEY';
const phoneNumber = '1234567890';
const country = 'ID'; // country code, for example: ID is Indonesia

axios.post('https://api.ekycpro.com/api/tasks', null, {
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded',
    'X-API-Key': apiKey
  },
  params: {
    user_id: 'YOUR_USER_ID',
    file: phoneNumber // Here you can upload a file containing the number
  }
})
.then(response => {
  console.log('WhatsApp deep detection result:', response.data);
})
.catch(error => {
  console.error('Detection failed:', error);
});

API Response Explanation

The API response will be a JSON object with the following fields:

  • created_at: Timestamp indicating when the task was created.
  • updated_at: Timestamp indicating when the task status was last updated.
  • task_id: A unique identifier for the task.
  • user_id: The ID of the user who initiated the task.
  • status: The current status of the task, possible values include: pending (task queued for processing), processing (task is being processed), completed (task processing is complete), exported (task results have been processed and are available for download).
  • total: The total number of phone numbers processed in the task.
  • success: The number of phone numbers for which WhatsApp attributes were successfully identified.
  • failure: The number of phone numbers that could not be identified or processed.
  • result_url: (Optional) A URL to download the task results, provided when the task status is exported.

FAQ

1. What is the difference between WhatsApp Deep Detection API and WhatsApp Number Detection API?

The WhatsApp Deep Detection API is more comprehensive than the WhatsApp Number Detection API, as it provides detailed information about a WhatsApp account, including its registration status, last status update time, and whether it is a corporate account.

2. Which countries are supported?

Currently, we support WhatsApp Deep Detection API services for over 200 countries and regions worldwide, including all countries and regions in the world.

3. What is the price of the WhatsApp Deep Detection API?

The price of the WhatsApp Deep Detection API is $0.0005 per query. If you need to query more, please contact us.

4. What is the maximum number of queries per day?

The maximum number of free queries is 30. If you need to query more, please contact us.

Back to Blog

Related Posts

View All Posts »