# Expedia Hotels Scraper (`rupom888/expedia-hotels-scraper`) Actor

Scrape Expedia hotel listings by city with amenity filters (hot tub, pool, gym, etc.). Extracts hotel name, star rating, guest score, review count, nightly price, address, GPS coordinates, and direct booking URL. No Expedia account needed.

- **URL**: https://apify.com/rupom888/expedia-hotels-scraper.md
- **Developed by:** [Syed Rupom](https://apify.com/rupom888) (community)
- **Categories:** Travel, Lead generation, E-commerce
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Expedia Hotels Scraper

Scrape Expedia hotel listings by city with amenity filters, star ratings, guest scores, prices, images, and coordinates. Powered by stealth browser automation that intercepts Expedia's internal GraphQL API — returning real-time data exactly as shown to users.

### Why this actor?

| Feature | This actor | Typical competitors |
|---------|-----------|---------------------|
| Results per city | **50–200+** | 20 max |
| Amenity filter (hot tub, pool, spa…) | **Yes** | No |
| Property star rating (1–5 stars) | **Yes** | Rarely |
| Guest rating + review count | **Yes** | Sometimes |
| Nightly price + total price | **Yes** | Sometimes |
| Hotel image URL | **Yes** | Sometimes |
| GPS coordinates | **Yes** | No |
| Sort by price / rating / stars | **Yes** | No |
| Exclude vacation rentals | **Yes** | No |
| Minimum star filter | **Yes** | No |
| Minimum guest rating filter | **Yes** | No |

### Output fields

| Field | Description |
|-------|-------------|
| `hotel_id` | Unique Expedia hotel ID |
| `name` | Hotel name |
| `star_rating` | Property star class (1–5, e.g. 3.0 = 3-star property) |
| `guest_rating` | Guest score out of 10 (e.g. 8.8) |
| `review_count` | Number of verified guest reviews |
| `nightly_price` | Price per night (USD) |
| `total_price` | Total price for stay duration |
| `free_cancellation` | Whether free cancellation is available |
| `property_url` | Direct Expedia booking URL |
| `city` | City name |
| `neighborhood` | Neighborhood / area name |
| `latitude` / `longitude` | GPS coordinates |
| `amenities` | Array of amenity labels (e.g. `["Free WiFi", "Pool", "Hot tub"]`) |
| `amenity_ids` | Raw amenity IDs for programmatic filtering |
| `image_url` | Primary hotel photo URL |
| `location_searched` | Location query used |
| `check_in` / `check_out` | Dates used for the search |

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `location` | Array | required | City names (e.g. `["Atlanta, Georgia", "Miami, Florida"]`) |
| `checkIn` | String | required | Check-in date `YYYY-MM-DD` |
| `checkOut` | String | required | Check-out date `YYYY-MM-DD` |
| `resultsWanted` | Integer | 50 | Max hotels per location (1–500) |
| `amenities` | Array | none | Amenity filters: `hot_tub`, `pool`, `gym`, `spa`, `parking`, `free_parking`, `pet_friendly`, `restaurant`, `breakfast`, `wifi`, `airport_shuttle`, `kitchen`, `indoor_pool` |
| `sort` | Select | RECOMMENDED | Sort: `PRICE_LOW_TO_HIGH`, `PRICE_HIGH_TO_LOW`, `GUEST_RATING`, `STAR_RATING_HIGH_TO_LOW` |
| `minRating` | Number | 0 | Minimum guest rating out of 10 (e.g. `7.0`) |
| `minStars` | Integer | 0 | Minimum property star class (e.g. `3` for 3-star and above) |
| `rooms` | Integer | 1 | Number of rooms |
| `adults` | Integer | 2 | Adults per room |
| `children` | Integer | 0 | Number of children |
| `excludeVacationRentals` | Boolean | true | Skip Vrbo/Airbnb-style rentals |
| `proxyConfiguration` | Proxy | — | **Residential proxy required** (see below) |

### Proxy requirement

**Residential proxy is required.** Expedia blocks all datacenter IPs with a 429 Too Many Requests error.

Set `proxyConfiguration` to use Apify Residential proxy:

```json
{
  "useApifyProxy": true,
  "apifyProxyGroups": ["RESIDENTIAL"],
  "apifyProxyCountry": "US"
}
```

Apify Residential proxy is available on all paid Apify plans. This is standard for any serious Expedia scraper — actors that claim to work without residential proxy will fail silently or return empty results.

### Example input

```json
{
  "location": ["Atlanta, Georgia", "Miami, Florida"],
  "checkIn": "2026-08-01",
  "checkOut": "2026-08-03",
  "resultsWanted": 100,
  "amenities": ["hot_tub"],
  "sort": "GUEST_RATING",
  "minStars": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### Example output

```json
{
  "hotel_id": "12345678",
  "name": "Hilton Atlanta",
  "star_rating": 4,
  "guest_rating": 8.6,
  "review_count": 3241,
  "nightly_price": 159,
  "total_price": 318,
  "free_cancellation": true,
  "property_url": "https://www.expedia.com/Atlanta-Hotels-Hilton-Atlanta.h12345678.Hotel-Information",
  "city": "Atlanta",
  "neighborhood": "Downtown Atlanta",
  "latitude": 33.7588,
  "longitude": -84.3877,
  "amenities": ["Free WiFi", "Pool", "Fitness Center", "Restaurant"],
  "amenity_ids": ["free_wifi", "pool", "gym", "restaurant"],
  "image_url": "https://images.trvl-media.com/...",
  "location_searched": "Atlanta, Georgia",
  "check_in": "2026-08-01",
  "check_out": "2026-08-03"
}
```

### How it works

Uses Puppeteer with stealth mode (puppeteer-extra-plugin-stealth) running in headful mode via Xvfb on Apify's infrastructure. Navigates Expedia's hotel search page, clicks amenity filter buttons in the actual UI, then intercepts `PropertyListingQuery` GraphQL responses directly. Property star ratings are extracted from the rendered DOM. Supports automatic scroll-based pagination to retrieve up to 200+ hotels per city.

### Use cases

- Hotel market research and competitive analysis
- Travel price monitoring and aggregation
- Lead generation for hospitality businesses
- Building hotel databases with ratings, amenities, and pricing
- Filtering hotels by specific amenities (hot tubs, pools, gyms) for niche travel sites

# Actor input Schema

## `location` (type: `array`):

City/region names to search. E.g. \['Atlanta, Georgia', 'Miami, Florida']

## `checkIn` (type: `string`):

Check-in date in YYYY-MM-DD format.

## `checkOut` (type: `string`):

Check-out date in YYYY-MM-DD format.

## `resultsWanted` (type: `integer`):

Max hotels per location.

## `amenities` (type: `array`):

Filter by amenities: hot\_tub, pool, gym, parking, pet\_friendly, restaurant, breakfast, spa, etc.

## `sort` (type: `string`):

Sort hotels by.

## `rooms` (type: `integer`):

Number of rooms.

## `adults` (type: `integer`):

Number of adults per room.

## `children` (type: `integer`):

Number of children (for family search).

## `minRating` (type: `number`):

Minimum guest rating out of 10 (e.g. 7.0 for Good+). Set 0 to disable.

## `minStars` (type: `integer`):

Minimum hotel star rating (0 = any, 3 = 3-star+, 4 = 4-star+, 5 = 5-star only).

## `excludeVacationRentals` (type: `boolean`):

Filter out Vrbo/Airbnb-style vacation rentals that appear in Expedia results.

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

Residential US proxy strongly recommended.

## Actor input object example

```json
{
  "location": [
    "Atlanta, Georgia"
  ],
  "checkIn": "2026-08-01",
  "checkOut": "2026-08-03",
  "resultsWanted": 20,
  "amenities": [
    "hot_tub"
  ],
  "sort": "RECOMMENDED",
  "rooms": 1,
  "adults": 2,
  "children": 0,
  "minRating": 0,
  "minStars": 0,
  "excludeVacationRentals": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "location": [
        "Atlanta, Georgia"
    ],
    "checkIn": "2026-08-01",
    "checkOut": "2026-08-03",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rupom888/expedia-hotels-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 = {
    "location": ["Atlanta, Georgia"],
    "checkIn": "2026-08-01",
    "checkOut": "2026-08-03",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

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

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

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

```

## CLI example

```bash
echo '{
  "location": [
    "Atlanta, Georgia"
  ],
  "checkIn": "2026-08-01",
  "checkOut": "2026-08-03",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call rupom888/expedia-hotels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rupom888/expedia-hotels-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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