Create a new request | Documentation | Email Verification Bulk API | WhoisXML API

Create a new request

POST https://emailverification.whoisxmlapi.com/api/bevService/request

CURL request sample

curl https://emailverification.whoisxmlapi.com/api/bevService/request -X POST -H "Content-Type: application/json"  -d '{"apiKey": "YOUR_API_KEY", "version": 3, "emails": ["alex@hotmail.edu", "bob@google.com", "mila@yahoo.com"], "format": "json"}'

POST request body sample

{
    "apiKey": "YOUR_API_KEY",
    "version": 3,
    "emails": [
        "alex@hotmail.edu",
        "bob@google.com",
        "mila@yahoo.com"
    ],
    "format": "json"
}

Input parameters

apiKey

Required. Get your personal API KEY on the My products page.

emails

Required. Array.

Contains array of email addresses for verification.

version

Optional. Number.

Defines the version of the Email Verification API to be used.

Allowed values: 2 and 3.

Default value: 2 until April 30 2024, after which the default will be 3.

NOTE: Email Verification API version 2 is being deprecated following the launch of version 3, which provides better stability and more accurate results. To learn more about the new version, please visit this specifications page. After April 30 2024, the v2 API will be discontinued and queries will no longer be served.

format

Optional. String.

Used to specify the response format.

Allowed values: "xml", "json", "csv".

Default value: "json".

Sample output

{
    "response": {
        "id": 5
    }
}

Code: 200 OK.
{
    "response": {
        "errors": [
            "The format field should have one of the following values: json, xml."
        ]
    }
}

Code: 400 Bad Request.
{
    "response": {
        "error": "Authorisation or authentication failed"
    }
}

Code: 401 Unauthorized.
{
    "response": {
        "error": "Insufficient balance"
    }
}

Code: 402 Payment Required.
response

The response object.

Contains the integer 'id' field on success.

In case of an error it contains its description in the 'error' field. If there are multiple errors their descriptions are returned in the 'errors' array.

id

Integer.

Newly created verification request ID.

error

String.

Error description.

errors

Array.

Multiple error messages.