Validate up to 100 email addresses

Validates up to 100 addresses in one call.

Request

POSThttps://email-validator.p.apihiver.com/v1/validate/batch

JSON object. Required: emails.

Request Body

Edit the values below to test different scenarios.

Parameters and body structure are inherited from this endpoint's definition. Changes here only apply to this test run.

Language
Client
1curl --request POST \
2  --url https://email-validator.p.apihiver.com/v1/validate/batch \
3  --header 'Accept: application/json' \
4  --header 'Content-Type: application/json' \
5  --header 'X-API-Key: YOUR_API_KEY' \
6  --data '{
7  "emails": [
8    "[email protected]",
9    "bad@"
10  ]
11}'

Validate up to 100 email addresses: Email Validation API reference

Validates up to 100 addresses in one call. This endpoint is part of the Email Validation API: Validate email addresses: syntax, domain and mail-server (MX) checks, disposable detection, typo suggestions and normalisation.

Example response (200, application/json)

Success.

1{
2  "results": [
3    {
4      "email": "[email protected]",
5      "score": 100,
6      "domain": "gmail.com",
7      "mx_found": true,
8      "disposable": false,
9      "mx_records": [
10        "gmail-smtp-in.l.google.com",
11        "alt1.gmail-smtp-in.l.google.com",
12        "alt2.gmail-smtp-in.l.google.com"
13      ],
14      "deliverable": "likely",
15      "did_you_mean": null,
16      "role_account": false,
17      "valid_syntax": true,
18      "free_provider": true
19    },
20    {
21      "email": "bad@",
22      "score": 0,
23      "domain": null,
24      "mx_found": false,
25      "disposable": false,
26      "mx_records": [],
27      "deliverable": "no",
28      "did_you_mean": null,
29      "role_account": false,
30      "valid_syntax": false,
31      "free_provider": false
32    }
33  ]
34}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "emails: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.