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

# Email Company

> Return the company and firmographics behind a work email company name, industry, size, revenue, and web presence.

## Authentication

Requires an API key in the `Authorization` header.

```bash theme={"dark"}
Authorization: Bearer YOUR_API_KEY
```

## Request

<ParamField body="email" type="string" required>
  The work email address to enrich. The legacy key `e` is still accepted.
</ParamField>

### Example request

<CodeGroup>
  ```bash cURL (API Key) theme={"dark"}
  curl -X POST "https://encrata.com/api/agent/email-company" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"email": "jane@stripe.com"}'
  ```

  ```python Python theme={"dark"}
  import requests

  resp = requests.post(
      "https://encrata.com/api/agent/email-company",
      headers={"Authorization": "Bearer YOUR_API_KEY"},
      json={"email": "jane@stripe.com"},
  )
  print(resp.json())
  ```

  ```javascript JavaScript theme={"dark"}
  const resp = await fetch("https://encrata.com/api/agent/email-company", {
    method: "POST",
    headers: {
      Authorization: "Bearer YOUR_API_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({ email: "jane@stripe.com" }),
  });
  const data = await resp.json();
  ```
</CodeGroup>

## Response

Returns the company behind the email's domain name, industry, size, revenue,
type, founding year, website, and LinkedIn. Personal mailboxes (gmail, outlook,
etc.) usually return no company.

<Note>
  The in-app equivalent is `POST /api/email/company` (session-authenticated).
  Costs 1 credit per fresh lookup (cached results within 24h are free).
</Note>
