> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/enrichments/find-email-address/list-lookup.md).

# List Lookup

Find work email addresses for every contact in a Parvenu list. Asynchronous, writes results back into the list.

<mark style="color:green;">`POST`</mark> `/email_enrichment_list`

{% hint style="info" %}
This is an **asynchronous** endpoint. It returns a job acknowledgement, not data. Poll `/check_list_status` until the list reports `done`, then fetch the rows with `/download_list`. Costs **1 credit** per valid or accept-all email returned. Results are written to the `business_email` and `business_email_status` columns.
{% endhint %}

{% hint style="warning" %}
This endpoint accepts the `view` filter below (`all` default, `verified`), but no longer accepts the legacy `state` parameter. Passing `state` returns a 400 (`Extra inputs are not permitted`).
{% endhint %}

Use this to find work emails for every contact in a list in one call, rather than looping over [Individual Lookup](/enrichments/find-email-address/individual-lookup.md) per row.

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

| Name         | Type   | Description                                                                                                                                                                 |
| ------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `api_key`    | string | Your API Key.                                                                                                                                                               |
| `listname`   | string | Name of the existing Parvenu list to enrich.                                                                                                                                |
| `view`       | string | Optional. Which rows of the list to process. `all` (default) processes every contact in the list; `verified` restricts the run to contacts whose email address is verified. |
| `saved_view` | string | Optional. Name of a saved view on this list. Runs only on the contacts in that view. Don't combine with `view`, `filter_stack` or `search`.                                 |

**Saved views.** To run only on the contacts in a saved view, send its name as `saved_view`. See [List Saved Views](/manage-lists/list-saved-views.md).

**Response**

Every list-scoped trigger answers with the same job acknowledgement.

| Field               | Type    | Description                                                                                        |
| ------------------- | ------- | -------------------------------------------------------------------------------------------------- |
| `status`            | string  | `queued` when the run is accepted. Poll `/check_list_status`; the finished status there is `done`. |
| `job_id`            | string  | Identifier for this run. Always a string.                                                          |
| `list_name`         | string  | The list being enriched.                                                                           |
| `view`              | string  | Which rows were selected, `all` or `verified`.                                                     |
| `rows_selected`     | number  | How many rows matched your `view` before the page limit was applied.                               |
| `rows_fetched`      | number  | How many rows this run actually picked up. This is the number that gets processed.                 |
| `truncated`         | boolean | `true` when the list held more rows than `max_rows`.                                               |
| `max_rows`          | number  | The ceiling a single run will fetch.                                                               |
| `credits_estimated` | number  | What the run is expected to cost, based on the rows it picked up.                                  |

See [Response Format](/getting-started/response-format.md) for the fields every endpoint returns.

**Example**

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "listname": "my_list"
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "queued",
  "job_id": "560fcca4-4e92-4ae7-a17e-7199cef0014e",
  "list_name": "my_list",
  "view": "all",
  "rows_selected": 10,
  "rows_fetched": 10,
  "truncated": false,
  "max_rows": 5000,
  "credits_estimated": 10.0,
  "credits_used": 0,
  "credits_remaining": 4823,
  "message": "Job created",
  "success": true
}
```

{% endtab %}

{% tab title="Error" %}

```json
{
  "status": "error",
  "error": {
    "code": "validation_error",
    "message": "state: Extra inputs are not permitted"
  },
  "success": false
}
```

{% endtab %}
{% endtabs %}

**Retrieving results**

* [Check List Status](/get-enrichment-results/check-list-status.md)
* [Download List Data](/get-enrichment-results/download-list-data.md)
