> ## 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.

# Find Bulk Emails

> Find professional email addresses in bulk from names and companies — up to 5,000 searches per batch with Enrow Email Finder

<Badge color="green">POST</Badge>

```
https://api.enrow.io/email/find/bulk
```

Run multiple email searches in a single request. Up to 5,000 searches per batch. Authenticate every request with your [API key](/authentication) in the `x-api-key` header. To find a single email instead, use the [Find Single Email](/api-reference/email-finder/find-single) endpoint.

<Info>
  Enrow performs **determinist verifications** that verify even catch-all emails. No debouncer needed.
</Info>

## Request Body

<ParamField body="searches" type="array of objects" required>
  Search payloads for which to find corresponding emails.

  <Expandable title="search object properties">
    <ParamField body="fullname" type="string" required>
      The user's full name
    </ParamField>

    <ParamField body="company_domain" type="string">
      The company domain or website URL. Either `company_domain` or `company_name` is required.
    </ParamField>

    <ParamField body="company_name" type="string">
      The name of the user's company. Either `company_domain` or `company_name` is required.
    </ParamField>

    <ParamField body="custom" type="string | object">
      A custom value you can use to reference an internal ID (for instance). It will be present in the results.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="custom" type="object">
  Custom params that will be returned in the GET response and in the webhook notification.

  <Expandable title="custom object">
    <ParamField body="your_custom_key_name" type="string" default="your_custom_property">
      Custom data of yours
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="settings" type="object">
  Settings relative to the whole bulk search.

  <Expandable title="settings properties">
    <ParamField body="country_code" type="string" default="US">
      A 2-character code representing the country of the searches (ISO 3166 Alpha-2 code). Relevant when using `company_name`.
    </ParamField>

    <ParamField body="webhook" type="string">
      A URL that will be notified through an HTTP POST request once the bulk search is finished. See [How Webhooks Work](/how-webhooks-work).
    </ParamField>

    <ParamField body="retrieve_gender" type="boolean" default="false">
      Get the associated gender when an email is found.
    </ParamField>

    <ParamField body="retrieve_company_info" type="boolean" default="false">
      Get the associated company information. Only effective when `country_code` is `FR`.
    </ParamField>
  </Expandable>
</ParamField>

## Response

### 201 — Bulk search started

<ResponseField name="message" type="string">
  Confirmation message
</ResponseField>

<ResponseField name="id" type="string">
  Unique identifier for this batch. Use this to retrieve results via the [GET endpoint](/api-reference/email-finder/get-bulk-results).
</ResponseField>

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

<ResponseField name="estimated_duration" type="number">
  Estimated processing time in minutes (not guaranteed)
</ResponseField>

### Error Responses

| Code    | Message                                                    |
| ------- | ---------------------------------------------------------- |
| **400** | `Missing payload`                                          |
| **400** | `Missing searches payload`                                 |
| **400** | `Too many searches. Limit is currently at 5000 per batch.` |
| **400** | `Error while parsing payload`                              |
| **401** | `No apikey found in the x-api-key headers`                 |
| **401** | `This apikey is not valid`                                 |
| **402** | `Insufficient credits`                                     |

<Note>
  On insufficient credits, the bulk endpoint returns HTTP **402** with a body of the form `{ "message": "..." }`. See [Error handling](/error-handling) for the full list of status codes and response formats.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://api.enrow.io/email/find/bulk \
    --header 'Content-Type: application/json' \
    --header 'x-api-key: YOUR_API_KEY' \
    --data '{
      "searches": [
        {
          "fullname": "Dwight Schrute",
          "company_domain": "dundermifflin.com",
          "custom": "lead_001"
        },
        {
          "fullname": "Jim Halpert",
          "company_domain": "dundermifflin.com",
          "custom": "lead_002"
        },
        {
          "fullname": "Ryan Howard",
          "company_domain": "dundermifflin.com",
          "custom": "lead_003"
        }
      ],
      "settings": {
        "webhook": "https://your-app.com/webhooks/enrow",
        "retrieve_gender": true
      }
    }'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.enrow.io/email/find/bulk', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': process.env.ENROW_API_KEY
    },
    body: JSON.stringify({
      searches: [
        { fullname: 'Dwight Schrute', company_domain: 'dundermifflin.com', custom: 'lead_001' },
        { fullname: 'Jim Halpert', company_domain: 'dundermifflin.com', custom: 'lead_002' },
        { fullname: 'Ryan Howard', company_domain: 'dundermifflin.com', custom: 'lead_003' }
      ],
      settings: {
        webhook: 'https://your-app.com/webhooks/enrow',
        retrieve_gender: true
      }
    })
  });

  const data = await response.json();
  console.log(`Batch ID: ${data.id}`);
  ```

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

  url = "https://api.enrow.io/email/find/bulk"
  headers = {
      "Content-Type": "application/json",
      "x-api-key": os.getenv("ENROW_API_KEY")
  }
  payload = {
      "searches": [
          {"fullname": "Dwight Schrute", "company_domain": "dundermifflin.com", "custom": "lead_001"},
          {"fullname": "Jim Halpert", "company_domain": "dundermifflin.com", "custom": "lead_002"},
          {"fullname": "Ryan Howard", "company_domain": "dundermifflin.com", "custom": "lead_003"}
      ],
      "settings": {
          "webhook": "https://your-app.com/webhooks/enrow",
          "retrieve_gender": True
      }
  }

  response = requests.post(url, json=payload, headers=headers)
  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "message": "Bulk search operating",
    "id": "0cf517bc-16e8-45bc-b967-ab9116b3c804",
    "credits_used": 3,
    "estimated_duration": 1
  }
  ```

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

## Next steps

<CardGroup cols={2}>
  <Card title="Get bulk results" icon="layer-group" href="/api-reference/email-finder/get-bulk-results">
    Retrieve the found emails using the batch `id`.
  </Card>

  <Card title="Find a single email" icon="envelope" href="/api-reference/email-finder/find-single">
    Run a single email search from a name and company.
  </Card>

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

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