---
title: "Get the number of emails we have for a specified domain."
method: GET
path: "/v5.1/domain/{domain}/email"
tags: ["domain"]
---

# Get the number of emails we have for a specified domain.

`GET /v5.1/domain/{domain}/email`

## Request

- Base URL: `https://api.anymailfinder.com`
- URL: `https://api.anymailfinder.com/v5.1/domain/{domain}/email`
- Auth: API key in header `Authorization`

This endpoint will return the number of emails available and the price to download the whole file.

## Path parameters

- `domain` string, required

## Response `200`

Domain infos.

- Api51DomainEmailDownloadInfoDto
  - `credits_required` number, required: The number of credits required to download all emails for the domain.
  - `domain` string, required: The requested domain.
  - `email_count` number, required: The total number of emails available in the database for this domain.
  - `status` 'queued' | 'ready', nullable, required: The status of the requested file (null = file not yet ordered, queued = file being prepared, ready = file ready to download).

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/anymailfinder/apis/anymail-finder-api.md) · [All operations](https://skmtc.dev/anymailfinder/apis/anymail-finder-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anymailfinder/apis/anymail-finder-api/revisions/cd6d62ec7603?raw)
