> ## 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.

# Domain name to Linkedin URL

> Turn a company's website domain into its LinkedIn company page URL.

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

**Pricing:** $0.004 per result ($4.00 per 1,000).

## Request

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

**domains** `string[]` *required*

Company website domains to find LinkedIn pages for. One per line. A bare host (stripe.com) or a full URL both work.

**maxResults** `integer`

Stop after this many LinkedIn URLs have been found. Domains are looked up until the cap is met, so a domain that does not resolve does not use it up. Leave empty to look up every domain you send.

Max `10000`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/linkedin/domain-lookup/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "domains": [
      "stripe.com",
      "gumloop.com",
      "awarathon.com"
    ]
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/linkedin/domain-lookup/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "domains": [
        "stripe.com",
        "gumloop.com",
        "awarathon.com"
    ]
}},
)
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/linkedin/domain-lookup/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "domains": [
    "stripe.com",
    "gumloop.com",
    "awarathon.com"
  ]
} }),
});
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 result, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `domain` | Domain | text |
| `linkedinUrl` | LinkedIn URL | url |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "linkedin/domain-lookup",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "linkedinUrl": "https://www.linkedin.com/company/stripe",
      "domain": "stripe.com"
    }
  ]
}
```

## Related APIs

For the full company record use [`linkedin/companies`](https://docs.mindcase.co/apis/linkedin/companies) with the returned URL.


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