Disposable Mail Check
This API endpoint allows you to detect if an email address belongs to a temporary or "burner" email provider. This is crucial for preventing spam signups, reducing fraud, and maintaining the quality of your user base.
Endpoint
POST https://api.zapifyapi.com/v1/{api_token}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| api_token | string | Required. Your unique API access token for the Disposable Mail Check service. |
Request Body
The request expects a JSON object.
| Key | Type | Description |
|---|---|---|
| string | Required. The email address you want to check. |
Example Request
cURL
curl -X POST "https://api.zapifyapi.com/v1/YOUR_API_TOKEN"
-H "Content-Type: application/json"
-d '{
"email": "[email protected]"
}'
Node.js
const axios = require("axios");
const payload = {
email: "[email protected]"
};
axios.post("https://api.zapifyapi.com/v1/YOUR_API_TOKEN", payload)
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Response
Returns a JSON object indicating whether the email is disposable, along with a risk score.
{
"email": "[email protected]",
"is_disposable": true,
"domain": "mailinator.com",
"risk_score": 1.0
}