> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enrow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bulk Verifications

> Retrieve bulk email verification results by batch ID, including per-email validity, batch status, and credits used

<Badge color="blue">GET</Badge>

```
https://api.enrow.io/email/verify/bulk?id={id}
```

Retrieve all results from a bulk email verification using the batch ID. Authenticate every request with your [API key](/authentication) in the `x-api-key` header. To start a batch first, use the [Verify Bulk Emails](/api-reference/email-verifier/verify-bulk) endpoint.

<Info>
  Using a webhook allows you to skip calling this GET endpoint. See [How Webhooks Work](/how-webhooks-work).
</Info>

## Query Parameters

<ParamField query="id" type="string" required>
  The `id` returned from the POST request
</ParamField>

## Response

### 200 — Verification completed

<ResponseField name="general" type="object">
  Batch metadata

  <Expandable title="general properties">
    <ResponseField name="id" type="string">
      Batch identifier
    </ResponseField>

    <ResponseField name="status" type="string">
      `completed`, `ongoing`, or `failed`
    </ResponseField>

    <ResponseField name="custom" type="object">
      Custom data passed in the original request
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="stats" type="object">
  Batch statistics

  <Expandable title="stats properties">
    <ResponseField name="credits_cost" type="number">
      Total credits consumed. See [Credits & billing](/credits-billing) for per-endpoint costs.
    </ResponseField>

    <ResponseField name="requested" type="number">
      Total number of verifications requested
    </ResponseField>

    <ResponseField name="valid" type="number">
      Number of valid emails
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="results" type="array">
  Array of verification results

  <Expandable title="Result properties">
    <ResponseField name="email" type="string">
      The verified email address
    </ResponseField>

    <ResponseField name="index" type="string">
      Unique identifier for this verification in the batch
    </ResponseField>

    <ResponseField name="qualification" type="string">
      `valid` (deliverable) or `invalid` (not deliverable). [Why binary?](/status-codes#why-binary)
    </ResponseField>
  </Expandable>
</ResponseField>

### 200 — Verification still in progress

While the batch is still running, the endpoint returns HTTP `200` with the batch state instead of the full results.

<ResponseField name="general" type="object">
  Batch metadata

  <Expandable title="general properties">
    <ResponseField name="id" type="string">
      Batch identifier
    </ResponseField>

    <ResponseField name="status" type="string">
      `ongoing`
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="stats" type="object">
  Batch progress

  <Expandable title="stats properties">
    <ResponseField name="finished" type="number">
      Number of verifications already finished
    </ResponseField>

    <ResponseField name="requested" type="number">
      Total number of verifications requested
    </ResponseField>
  </Expandable>
</ResponseField>

### Error Responses

| Code    | Message                                        |
| ------- | ---------------------------------------------- |
| **400** | `Could not retrieve bulk verification results` |

See [Error handling](/error-handling) for the full list of status codes and response formats.

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.enrow.io/email/verify/bulk?id=9d4fa0ed-f76b-409f-bee4-d5468ebda70e' \
    --header 'x-api-key: YOUR_API_KEY'
  ```

  ```javascript Node.js theme={null}
  const batchId = '9d4fa0ed-f76b-409f-bee4-d5468ebda70e';
  const response = await fetch(`https://api.enrow.io/email/verify/bulk?id=${batchId}`, {
    headers: {
      'x-api-key': process.env.ENROW_API_KEY
    }
  });

  const data = await response.json();
  if (data.general.status === 'completed') {
    console.log(`Valid: ${data.stats.valid}/${data.stats.requested}`);
    console.log(data.results);
  }
  ```

  ```python Python theme={null}
  import requests
  import os

  batch_id = "9d4fa0ed-f76b-409f-bee4-d5468ebda70e"
  url = f"https://api.enrow.io/email/verify/bulk?id={batch_id}"
  headers = {
      "x-api-key": os.getenv("ENROW_API_KEY")
  }

  response = requests.get(url, headers=headers)
  data = response.json()
  if data["general"]["status"] == "completed":
      print(f"Valid: {data['stats']['valid']}/{data['stats']['requested']}")
  ```
</RequestExample>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "general": {
      "id": "9d4fa0ed-f76b-409f-bee4-d5468ebda70e",
      "status": "completed"
    },
    "results": [
      {
        "email": "pam.beesly@dundermifflin.com",
        "index": "195f87c6-376e-4eca-9861-f92935413b0c",
        "qualification": "valid"
      },
      {
        "email": "angela.martin@dundermifflin.com",
        "index": "662784ae-3722-47af-b056-7554e013f73b",
        "qualification": "valid"
      }
    ],
    "stats": {
      "credits_cost": 0.5,
      "requested": 2,
      "valid": 2
    }
  }
  ```

  ```json Error Response theme={null}
  {
    "message": "..."
  }
  ```
</ResponseExample>

## Next steps

<CardGroup cols={2}>
  <Card title="Verify emails in bulk" icon="layer-group" href="/api-reference/email-verifier/verify-bulk">
    Start a batch verification and get back the batch `id`.
  </Card>

  <Card title="Verify a single email" icon="circle-check" href="/api-reference/email-verifier/verify-single">
    Check whether one email address is valid and deliverable.
  </Card>

  <Card title="Webhooks" icon="bell" href="/how-webhooks-work">
    Get notified automatically when a batch completes instead of polling.
  </Card>

  <Card title="Credits & billing" icon="coins" href="/credits-billing">
    See how credits are consumed for each endpoint.
  </Card>
</CardGroup>
