# Expedia Email Scraper (`w3crawler/expedia-email-scraper`) Actor

Bounded public-page metadata baseline for the Expedia Email Scraper inventory entry. Target-specific fields are not claimed without a verified target URL.

- **URL**: https://apify.com/w3crawler/expedia-email-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 emails

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Expedia Email Scraper

Find email addresses that are explicitly published on public Expedia and Expedia Group pages. Supply page URLs and the Actor records each address it can see in a public `mailto:` link or in visible page text, together with the email domain, the page title, a bounded excerpt of nearby text, the source URL, and whether the domain belongs to Expedia. It does not guess addresses, combine name patterns, enrich people, sign in, or bypass access controls.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/expedia-email-scraper) and select **Try for free**, or open the **Input** tab directly.
2. Add one or more public HTTPS Expedia or Expedia Group pages to `startUrls`. If you leave the list empty, the Actor inspects its built-in Expedia Group privacy page.
3. Set `maxItems` (pages) and `maxEmails`, and leave `transportMode` at `http-first` for the lightest request pattern.
4. Start the Actor, open the dataset, and export the records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT`) to check the candidate and saved counts.

### Input

All fields are optional. If `startUrls` is empty, the Actor falls back to one built-in public Expedia Group privacy page.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `startUrls` | object array | Optional | `[]`; one built-in privacy page is used when empty | Public HTTPS Expedia or Expedia Group pages as `{ "url": "..." }` objects, up to 20. Duplicate URLs are removed. |
| `maxItems` | integer | Optional | `1` | Maximum unique public pages to inspect, from 1 to 20. |
| `maxEmails` | integer | Optional | `20` in the bundled example; schema default `50` | Maximum unique published email records to save, from 1 to 500. |
| `requestTimeoutSecs` | integer | Optional | `10` in the bundled example; schema default `20` | Per-request timeout in seconds, from 5 to 60. |
| `maxRequestRetries` | integer | Optional | `2` | Bounded retries for transient public HTTP failures, from 0 to 3. |
| `requestDelayMs` | integer | Optional | `0` | Delay between public page requests in milliseconds, from 0 to 10,000. |
| `maxBytes` | integer | Optional | `2000000` | Maximum response size per page, from 100,000 to 5,000,000 bytes. |
| `acceptLanguage` | string | Optional | `en-US,en;q=0.8` | Language preference sent with the public request, up to 120 characters. |
| `transportMode` | string enum | Optional | `http-first` | `http-first` makes a lightweight HTTP request with one bounded browser fallback; `browser` loads the page in a browser first. |
| `browserWaitMs` | integer | Optional | `1500` | Wait after browser navigation for client-rendered contact text, from 0 to 5,000 ms. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Standard Apify Proxy settings for the public requests. Direct access is used when proxy is disabled. |

Example input:

```json
{
  "startUrls": [
    {
      "url": "https://legal.expediagroup.com/privacy/privacy-and-cookies-statements/data-controllers-and-representatives"
    }
  ],
  "maxItems": 1,
  "maxEmails": 20,
  "requestTimeoutSecs": 10,
  "maxRequestRetries": 2,
  "requestDelayMs": 0,
  "maxBytes": 2000000,
  "acceptLanguage": "en-US,en;q=0.8",
  "transportMode": "http-first",
  "browserWaitMs": 1500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Only `https://` URLs on `expedia.com`, `expediagroup.com`, or their subdomains are accepted. Duplicate URLs are removed and the list is capped by `maxItems`; if the list is empty, one built-in Expedia Group privacy page is inspected. The Actor reads the returned public HTML, and optionally the rendered browser DOM, looking for `mailto:` links and visible addresses. It does not construct likely addresses, scrape private mailboxes, or follow login walls. The ready-to-run example uses 20 emails and a 10-second timeout; if those fields are omitted, the schema defaults of 50 emails and 20 seconds apply.

### Output

The dataset contains one row per unique, explicitly published email found across the inspected pages. Repeated addresses on the same page are collapsed. No diagnostic or placeholder records are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `id` | string | Always | Stable record identifier derived from the email and source URL. |
| `recordType` | string enum | Always | Record type; always `expedia-public-email`. |
| `targetType` | string enum | Always | Target type; always `public-email-contact`. |
| `url` | string | Always | Public page URL where the address was found. |
| `sourceUrl` | string | Always | Same public page URL, kept as a separate source field. |
| `canonicalUrl` | string | Always | Same public page URL, recorded as the canonical source. |
| `source` | string | Always | Source label; always `expedia-public-pages`. |
| `position` | integer | Always | One-based order of the record in the run's emitted email set. |
| `email` | string | Always | Address as published on the page, lowercased and with trailing punctuation removed; no pattern guessing. |
| `domain` | string | Always | Domain part of the email address. |
| `mailtoUrl` | string | Always | `mailto:` URL built from the parsed address. It is present even when the address was found as visible text rather than a link. |
| `pageTitle` | string | When the page has a title | Title of the public page where the address appeared. |
| `title` | string | When the page has a title | Duplicate of `pageTitle`, provided as a general title field. |
| `context` | string | Always | Up to 350 characters around the address, with the address itself replaced by `[email]`. |
| `extractionMethod` | string enum | Always | How the address was found: `public-mailto-link` or `public-visible-text`. |
| `expediaOwnedDomain` | boolean | Always | `true` when the email domain is `expedia.com` or `expediagroup.com` (including subdomains); `false` for partner or law-firm domains. |
| `scrapedAt` | string | Always | Time the record was saved, in ISO UTC. |

The example below is a real saved row from the 2026-10-25 run.

```json
{
  "id": "expedia-email-1sl4ip1",
  "recordType": "expedia-public-email",
  "targetType": "public-email-contact",
  "url": "https://legal.expediagroup.com/privacy/privacy-and-cookies-statements/data-controllers-and-representatives",
  "sourceUrl": "https://legal.expediagroup.com/privacy/privacy-and-cookies-statements/data-controllers-and-representatives",
  "canonicalUrl": "https://legal.expediagroup.com/privacy/privacy-and-cookies-statements/data-controllers-and-representatives",
  "source": "expedia-public-pages",
  "position": 1,
  "email": "privacy@expedia.com",
  "domain": "expedia.com",
  "mailtoUrl": "mailto:privacy@expedia.com",
  "pageTitle": "Data Controllers And Representatives | Expedia",
  "title": "Data Controllers And Representatives | Expedia",
  "context": "ailand) Limited No. 63 Athenee Tower, Units 2101, 21st Floor Wireless Road, Lumpini Sub-district Pathumwan District Bangkok, 10330 Thailand [email] Hotels.com Data Controller for Europe (excluding UK, SE, DK, FI, NO), Turkey, Middle East & Africa regions Hotels.com, LP – USA 5400 LBJ Fr",
  "extractionMethod": "public-mailto-link",
  "expediaOwnedDomain": true,
  "scrapedAt": "2026-10-25T20:48:11.175Z"
}
```

There are no nested objects in this dataset. `url`, `sourceUrl`, and `canonicalUrl` carry the same page URL, while `title` mirrors `pageTitle`. The `context` excerpt deliberately replaces the address with `[email]`, so it can be used for review without repeating the contact string. `expediaOwnedDomain` describes the email domain, not the page host: a partner address on an Expedia page is recorded with `false`.

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT`.

| Field | Meaning |
| --- | --- |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the saved rows: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `requestedTargetCount` | Public pages included in the run after deduplication and the `maxItems` cap. |
| `scheduledTargetCount` | Pages actually processed. |
| `emittedCount` | Email records written to the dataset. |
| `normalCount` | Successful email records, matching `emittedCount` in normal runs. |
| `diagnosticCount` | Operational issues recorded during the run. |
| `diagnosticRowsWritten` | Diagnostic dataset rows; always `0`. |
| `failureCount` | Pages or requests that failed before producing records. |
| `candidateCount` | Email candidates found before deduplication. |
| `requestCount` | Public page requests made. |
| `maxItems` | Page limit used for the run. |
| `maxEmails` | Email limit used for the run. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | At least one email was saved and no target failed. |
| `SUCCEEDED` | `PARTIAL` | Emails were saved, but another page or request failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | Pages were read cleanly but published no matching email. |
| `FAILED` | `FAILED` | No email was saved and at least one target failed, or a fatal error stopped the run. |

Example `OUTPUT` from the saved run:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "requestedTargetCount": 1,
  "scheduledTargetCount": 1,
  "emittedCount": 7,
  "normalCount": 7,
  "diagnosticCount": 0,
  "diagnosticRowsWritten": 0,
  "failureCount": 0,
  "candidateCount": 7,
  "requestCount": 1,
  "maxItems": 1,
  "maxEmails": 50,
  "completedAt": "2026-10-25T20:48:11.528Z"
}
```

This saved run used `maxEmails: 50`, so the summary records that limit; the example input above sets 20.

### Coverage and limitations

The Actor finds only addresses that appear explicitly in the public HTML or rendered page, either as `mailto:` links or as visible text. Addresses drawn into images, hidden behind forms, generated by client-side scripts after the bounded wait, or stored only in private systems are not discoverable. It does not search other websites or infer addresses from names and domains.

`startUrls` is empty by default, in which case one built-in Expedia Group privacy page is inspected. Only the first `maxItems` unique pages are inspected, and at most `maxEmails` unique addresses are saved. Pages are deduplicated; repeated addresses on one page are emitted once, while `position` counts the run's emitted email records in discovery order. `pageTitle` and `title` can be absent when the page does not provide a title. `context` is a short excerpt and can contain names or other details that happened to be nearby; handle it as public personal data. Blocked, empty, or partial responses are counted in `OUTPUT`, not written as dataset rows.

### Usage and support

Cost depends on Apify compute time, the number of pages, the chosen transport, and any proxy traffic. Start with one page and the default limits, then raise `maxItems` and `maxEmails` after checking the dataset. `transportMode: "browser"` is slower than `http-first`; use it only when the contact text is rendered client-side. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/expedia-email-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT` summary; do not include tokens, cookies, or private data.

This is an independent, unofficial Actor and is not affiliated with, endorsed by, or sponsored by Expedia Group. Use it only for public data and in accordance with Expedia's terms, robots guidance, and applicable law. Public contact addresses can be personal data; collect and use them only for lawful purposes.

# Actor input Schema

## `startUrls` (type: `array`):

Public HTTPS Expedia or Expedia Group pages to inspect.

## `maxItems` (type: `integer`):

Maximum number of unique public pages to inspect.

## `maxEmails` (type: `integer`):

Maximum unique explicitly published email records to emit.

## `requestTimeoutSecs` (type: `integer`):

Maximum time allowed for each public request.

## `maxRequestRetries` (type: `integer`):

Maximum bounded retries for transient public HTTP responses.

## `requestDelayMs` (type: `integer`):

Optional bounded delay between public page requests.

## `maxBytes` (type: `integer`):

Hard response-size limit for each public page.

## `acceptLanguage` (type: `string`):

Optional language preference for the public request.

## `transportMode` (type: `string`):

Use lightweight HTTP first with one bounded browser fallback, or explicitly validate the public page in a browser.

## `browserWaitMs` (type: `integer`):

Bounded wait after public browser navigation for client-rendered contact text.

## `proxyConfiguration` (type: `object`):

Optional standard Apify Proxy configuration for authorized public requests.

## Actor input object example

```json
{
  "startUrls": [],
  "maxItems": 1,
  "maxEmails": 50,
  "requestTimeoutSecs": 20,
  "maxRequestRetries": 2,
  "requestDelayMs": 0,
  "maxBytes": 2000000,
  "acceptLanguage": "en-US,en;q=0.8",
  "transportMode": "http-first",
  "browserWaitMs": 1500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/expedia-email-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/expedia-email-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call w3crawler/expedia-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/expedia-email-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/G4qEf5kSvYleLFjS8/builds/XmxZuVIA99a638suF/openapi.json
