API Description:
This API allows you to verify a single email address using the OneByOne verification method provided by EmailListValidation.com. The API returns the verification result as a response in JSON format.

API Endpoint: https://app.emaillistvalidation.com/api/verifEmail

API Method: GET

API Parameters:

email: The email address to be verified.

secret: Your API key.

format: The format in which the response will be returned. Optional parameter with a default value of "json".

API Response: The API returns a JSON object containing the verification result. The following fields are included in the response:

email: The email address that was verified.

result: The verification result. Possible values are "valid", "invalid", "unknown", "disposable", "role", "free", "accept all", "timeout", "error".

reason: A string providing more information about the verification result.

Example Request:

$email = "[email protected]";

$key = "PUT YOUR API KEY HERE";

$url = "https://app.emaillistvalidation.com/api/verifEmail?secret=".$key."&email=".$email;

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $url);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true );

$response = curl_exec($ch);

echo $response;

curl_close($ch);

Example Response:

{

"email": "[email protected]",

"result": "valid",

"reason": ""

}

Notes:

The API key should be kept confidential and not shared with unauthorized personnel.

The SSL verification option is disabled in the example code provided. It is recommended to enable SSL verification in production environments to ensure secure communications.

The API supports other verification methods, such as Bulk and Realtime, which can be selected by changing the API endpoint and parameters accordingly.