· 3 min read
WhatsApp Number Detail Detection API
Learn how to use WhatsApp number detail detection API to check the status and details of WhatsApp accounts.
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 WhatsApp Detail Detection API to check the status and details of WhatsApp accounts.
Main Features
WhatsApp Detail Detection API offers several powerful features:
Comprehensive Account Details
The API can provide detailed information about a WhatsApp account, including its registration status, last status update time, and whether it is a corporate account.
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 Detail Detection API is straightforward. Follow these steps:
- Register and obtain an API key.
- Use the API key for authentication.
- Call the API to check the WhatsApp number details.
Example Code
Here is an example code for using WhatsApp Detail 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/v1/wadetail', null, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'X-API-Key': apiKey
},
params: {
number: phoneNumber,
country: country
}
})
.then(response => {
console.log('WhatsApp number detail detection result:', response.data);
})
.catch(error => {
console.error('Detection failed:', error);
});
API Response Explaination
The API response will be a JSON object with the following fields:
number
: This is the WhatsApp phone number that was queried, representing the specific number you are checking.whatsapp
: This field provides a conclusion about the WhatsApp account, typically a string indicating whether the number is registered on WhatsApp.status_update
: This field shows the last status update time, helping users understand the activity level of the account.signature
: This is a signature used to verify the API response, ensuring the integrity and authenticity of the data.avatar
: If the WhatsApp account has a profile picture, this field will contain the URL of the avatar, allowing users to view the profile picture through this link.region
: This field indicates the geographical region associated with the phone number, usually the name of the country or area.carrier
: This field provides information about the carrier associated with the phone number, helping users understand the network provider for that number.
FAQ
1. What is the difference between WhatsApp Detail Detection API and WhatsApp Number Detection API?
WhatsApp Detail Detection API is more comprehensive than 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 number detail detection API services for over 200 countries and regions worldwide. Includes All countries and regions in the world.
3. What is the price of WhatsApp Detail Detection API?
The price of WhatsApp Detail Detection API is $0.0001 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.