# Contact emails from a list of hotel websites

**Use case:** 

Visit a list of hotel websites and collect their published contact email addresses, with the page each address was found on.

## Input

```json
{
  "urls": [
    "https://www.baur-au-lac.ch/",
    "https://www.thedolder.com/",
    "https://www.storchen.ch/"
  ],
  "maxPagesPerSite": 6,
  "maxSecondsPerSite": 45,
  "followExternalLinks": false,
  "enableBrowserFallback": false
}
```

## Output

```json
{
  "company_id": {
    "label": "Company ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "website_type": {
    "label": "Site type",
    "format": "string"
  },
  "primary_email": {
    "label": "Primary email",
    "format": "string"
  },
  "contact_scope": {
    "label": "Scope",
    "format": "string"
  },
  "email_status": {
    "label": "Email status",
    "format": "string"
  },
  "email_source_url": {
    "label": "Email source",
    "format": "string"
  },
  "contacts": {
    "label": "Contact persons",
    "format": "array"
  },
  "emails": {
    "label": "All emails",
    "format": "array"
  },
  "emails_other": {
    "label": "Other emails",
    "format": "array"
  },
  "phones": {
    "label": "Phones",
    "format": "array"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "checked_at": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## How it works

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

The Email Scraper: Website Emails, Phones & Contact Details Actor is ready to run with the inputs already set for "Contact emails from a list of hotel websites". [Sign up or log in](https://console.apify.com/create-task-from-example/0F6Lngw7Kg9zBu9l3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Contact emails from a list of hotel websites" task

The Email Scraper: Website Emails, Phones & Contact Details Actor will start running based on the input automatically. You can also change all the input fields, like website urls, max pages per site, and more, to match your specific use case.

### 3. Receive the "Contact emails from a list of hotel websites" 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 company id, URL, domain, 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 "Contact emails from a list of hotel websites" task via API](https://apify.com/santamaria-automations/website-email-scraper.md).

## FAQ

### What data does the Contact emails from a list of hotel websites task return?

The task returns the company ID, website URL, domain, website type, primary email, contact scope, email source URL, and all deduplicated emails found.

### What does the primary email field represent in the output?

The primary email field contains the chosen business email for that entry, selected based on specific criteria related to the website.

### How does the task determine which pages to crawl on each website?

The task fetches contact and legal pages first, followed by additional contact, about, and team pages based on the site's navigation.

### Is there a limit to how many pages the task will check per site?

Yes, the task is configured to check a maximum of 6 pages per website.

### Can I run this task through an API or automation tools?

Yes, this task can be run via the Apify API or integrated with automation tools like n8n, Make, or Zapier.

### Can I schedule the task to run automatically?

Yes, the task can be scheduled to run automatically in the Apify Console.

### What input URLs does this task currently target?

This task currently targets specific hotel websites, including 'https://www.baur-au-lac.ch/', 'https://www.thedolder.com/', and 'https://www.storchen.ch/'.

## About this Actor

This example demonstrates how to use [Email Scraper: Website Emails, Phones & Contact Details](https://apify.com/santamaria-automations/website-email-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/santamaria-automations/website-email-scraper.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/santamaria-automations/website-email-scraper.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`).
