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

# Company Domain Lookup API

> Resolves company names into their most likely domain names with ranked suggestions.

`POST /v1/data/companies/domain-lookup/run`

**Pricing:** $0.001 per domain suggestion ($1.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**companyNames** `string[]` *required*

Company name to resolve into its most likely domain name, such as Stripe or Y Combinator.

**limit** `integer` (default: 5)

Most domain suggestions to return for each company name. Defaults to 5; use 0 for the maximum of 10.

Min `0`; max `10`.

**perfectMatch** `boolean`

Return only a single high-confidence suggestion instead of multiple candidates.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/companies/domain-lookup/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "companyNames": [
      "Stripe",
      "Y Combinator",
      "Airbnb"
    ],
    "limit": 1
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/companies/domain-lookup/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "companyNames": [
        "Stripe",
        "Y Combinator",
        "Airbnb"
    ],
    "limit": 1
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/companies/domain-lookup/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "companyNames": [
    "Stripe",
    "Y Combinator",
    "Airbnb"
  ],
  "limit": 1
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one domain suggestion, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `query` | Company Name | text |
| `domain` | Domain | domain |
| `companyName` | Resolved Company Name | text |
| `emailCount` | Email Count | integer |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "companies/domain-lookup",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "emailCount": 4218,
      "companyName": "Stripe",
      "domain": "stripe.com",
      "query": "Stripe"
    }
  ]
}
```

## Related APIs

For the full company profile once you have the domain use [`companies/enrichment`](https://docs.mindcase.co/apis/companies/enrichment); for the LinkedIn page from a domain use [`linkedin/domain-lookup`](https://docs.mindcase.co/apis/linkedin/domain-lookup).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.