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

# Website Phones, Emails and Socials API

> Get the phone numbers, emails and social profiles a company publishes on its own website. One row per website with the main email and phone, every email and phone found with the page it came from, social profiles, address and logo.

`POST /v1/data/leads/contacts/run`

**Pricing:** $0.008 per domain ($8.00 per 1,000).

## Request

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

**websites** `string[]` *required*

Websites to look up, one per item, as a URL starting with https\:// or a [www](http://www). address (e.g. [https://www.eff.org](https://www.eff.org)). Give the home page; the contact and imprint pages are found automatically. Each website returns one row; the same website listed twice returns one row.

**maxResults** `integer` (default: 100)

How many websites to return in total. Defaults to 100; use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/leads/contacts/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "websites": [
      "https://monzo.com",
      "https://www.fairphone.com",
      "https://www.mozilla.org"
    ],
    "maxResults": 12
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/leads/contacts/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "websites": [
        "https://monzo.com",
        "https://www.fairphone.com",
        "https://www.mozilla.org"
    ],
    "maxResults": 12
}},
)
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/leads/contacts/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "websites": [
    "https://monzo.com",
    "https://www.fairphone.com",
    "https://www.mozilla.org"
  ],
  "maxResults": 12
} }),
});
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, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `website` | Website | url |
| `inputUrl` | Input URL | url |
| `domain` | Domain | text |
| `businessName` | Business Name | text |
| `description` | Description | text |
| `email` | Email | text |
| `phone` | Phone | phone |
| `emails` | Emails | object\_array |
| `phones` | Phones | object\_array |
| `socials` | Socials | object |
| `messaging` | Messaging | object |
| `address` | Address | object |
| `contactFormUrl` | Contact Form URL | url |
| `logo` | Logo | url |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "leads/contacts",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "socials": {
        "twitter": "https://twitter.com/monzo",
        "instagram": "https://www.instagram.com/monzo",
        "facebook": "https://www.facebook.com/monzobank",
        "linkedin": "https://www.linkedin.com/company/monzo-bank"
      },
      "logo": "https://monzo.com/static/images/monzo-logo-stacked.svg",
      "emails": [
        {
          "email": "help@monzo.com",
          "source": "mailto",
          "foundOn": "https://monzo.com/legal/cookie-notice"
        }
      ],
      "email": "help@monzo.com",
      "phones": [],
      "domain": "monzo.com",
      "businessName": "Monzo Bank",
      "inputUrl": "https://monzo.com/",
      "phone": null,
      "description": "Making money work for everyone",
      "messaging": {},
      "contactFormUrl": null,
      "website": "https://monzo.com",
      "address": {
        "street": "Broadwalk House, 5 Appold St",
        "city": "London",
        "region": null,
        "postalCode": "EC2A 2AG",
        "country": null,
        "raw": "Broadwalk House, 5 Appold St, London, EC2A 2AG",
        "source": "jsonld"
      }
    }
  ]
}
```

## Related APIs

For emails only, with the page each was found on use [`email/role`](https://docs.mindcase.co/apis/email/role); for what the site says about the company use [`leads/company-research`](https://docs.mindcase.co/apis/leads/company-research); for named employees' emails use [`companies/emails`](https://docs.mindcase.co/apis/companies/emails).


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