# Email Search API Documentation

Searches the web once for addresses on one email domain and returns the ones that appear in result titles and snippets, each with its source URL. Only published addresses are returned. Nothing is guessed and no mailbox is tested. Yield is low: a result page holds few addresses, often none. Use page 1 to 10 to read deeper result pages. Cost: 1 credit per request. A search that returns no page is free.

- **Documentation:** [https://scrappa.co/docs/contacts-api/contacts_emails](https://scrappa.co/docs/contacts-api/contacts_emails)
- **API group:** Contacts API
- **Endpoint:** `GET https://scrappa.co/api/contacts/emails`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `email_domain` | string | Yes | Domain of the addresses, for example example.com. |
| `query` | string | No | Optional extra words, for example sales or a person name. |
| `limit` | integer | No | Most emails to return, 1 to 100. Defaults to 50. |
| `page` | integer | No | Search result page, 1 to 10. Defaults to 1. Page 2 reads the next 10 results. |

## Example response

```json
{
    "meta": {
        "credits": 1,
        "duration_ms": 1700,
        "upstream_calls": 1,
        "results_checked": 10
    },
    "page": 1,
    "query": "contact",
    "emails": [
        {
            "title": "Contact | Example",
            "value": "info@example.com",
            "snippet": "Write to info@example.com for questions.",
            "source_url": "https://example.com/contact"
        }
    ],
    "success": true,
    "email_domain": "example.com"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | Returned when a required parameter is missing or a value is out of range. No credits are charged. |
| 503 | Service Unavailable | Returned when no page could be fetched or the search returned no results. Failed requests are not charged. Try again. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
