# GDPR-Safe Business Email Extraction

**Use case:** 

Collect the contact addresses companies publish on their own websites while leaving personal data alone. Role addresses such as info@, sales@ and support@ are returned; anything naming an individual is withheld and only counted.

## Input

```json
{
  "websites": [
    "fastmail.com",
    "render.com",
    "fly.io",
    "plausible.io",
    "kagi.com",
    "buttondown.com"
  ],
  "businessContactsOnly": true,
  "roleCategories": [],
  "maxPagesPerSite": 5,
  "extractPhones": true,
  "extractSocials": true,
  "verifyMx": true,
  "respectRobotsTxt": true,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "companyName": {
    "label": "Company",
    "format": "string"
  },
  "primaryEmail": {
    "label": "Best contact",
    "format": "string"
  },
  "roleEmailCount": {
    "label": "Role addresses",
    "format": "integer"
  },
  "personalEmailsWithheld": {
    "label": "Personal withheld",
    "format": "integer"
  },
  "phones": {
    "label": "Phones",
    "format": "array"
  },
  "finalUrl": {
    "label": "URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Contact Extractor - GDPR-Safe Role Emails & Phones Actor is ready to run with the inputs already set for "GDPR-Safe Business Email Extraction". [Sign up or log in](https://console.apify.com/create-task-from-example/KaIwWATB8OPaciUiE) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "GDPR-Safe Business Email Extraction" task

The Website Contact Extractor - GDPR-Safe Role Emails & Phones Actor will start running based on the input automatically. You can also change all the input fields, like websites, business contacts only, and more, to match your specific use case.

### 3. Receive the "GDPR-Safe Business Email Extraction" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, company, best contact, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "GDPR-Safe Business Email Extraction" task via API](https://apify.com/bhole_krishna/website-contact-extractor.md).

## FAQ

### Why does withholding personal addresses matter for GDPR?

An address naming an individual is personal data, so collecting it needs a lawful basis. A role address like info@ identifies a business function instead, which is why it is treated differently here.

### How do I know what was withheld?

Every row carries personalEmailsWithheld, a count of the addresses held back. Nothing disappears silently, so you can see whether a site had more to give.

## About this Actor

This example demonstrates how to use [Website Contact Extractor - GDPR-Safe Role Emails & Phones](https://apify.com/bhole_krishna/website-contact-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bhole_krishna/website-contact-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bhole_krishna/website-contact-extractor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
