# The Companies API · Email patterns

Find companies, people and contact details with The Companies API · Email patterns from Alexandria through one Spiral API key. Find which work-email formats a company uses, such as [F].[L] or [F1][L], with the share of addresses for each. It gives the format, not a person's address; verify a constructed address with an email verifier. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Lead Gen
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `thecompaniesapi/companies/email-patterns`
- Page: https://spiral.ai/tools/alexandria/thecompaniesapi/companies/email-patterns

## Pricing

Up to $0.0034918 per run.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `domain` (required) | text |  | — | Company domain without scheme or www, such as stripe.com. |
| `precision` | number | 0 to 100 | — | Confidence floor for which patterns are returned. |
| `emailsCount` | true or false |  | — | Include how many addresses back each pattern. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "thecompaniesapi/companies/email-patterns",
    "input": {
      "domain": "<domain>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=thecompaniesapi%2Fcompanies%2Femail-patterns

## Common questions

### The Companies API · Email patterns

**How much does The Companies API · Email patterns cost?**

Up to $0.0034918 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use The Companies API · Email patterns through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "thecompaniesapi/companies/email-patterns"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use The Companies API · Email patterns?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use The Companies API · Email patterns?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

