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

Scrape hotel listings from Expedia search results. Extract hotel names, prices, ratings, reviews, neighborhoods, descriptions and images for any destination and travel dates.

- **URL**: https://apify.com/crawlerbros/expedia-hotels-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Real estate, Other, Travel
- **Stats:** 0 total users, 0 monthly users, 33.3% runs succeeded, 16 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 hotel listings from Expedia search results for any destination worldwide. Extract hotel names, nightly prices, guest ratings, review counts, neighborhoods, descriptions, images, and special offers like VIP Access or free breakfast.

### What can this scraper do?

- **Search any destination** -- Enter a city, neighborhood, or region to find available hotels on Expedia
- **Extract hotel pricing** -- Get current nightly rates as displayed on Expedia search results
- **Ratings and reviews** -- Collect guest ratings (out of 10) and total review counts
- **Neighborhood info** -- See which area or district each hotel is located in
- **Hotel descriptions** -- Get the short description or tagline shown in search results
- **Property images** -- Extract the main listing image URL for each hotel
- **Special offers and badges** -- Capture VIP Access, breakfast included, free cancellation, and other promotions
- **Date-specific search** -- Set check-in/check-out dates and guest count for accurate pricing and availability
- **Direct hotel links** -- Get direct Expedia URLs for each hotel's information page

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `destination` | string | Yes | -- | Destination city or area (e.g., "New York", "London", "Tokyo, Japan") |
| `checkIn` | string | Yes | -- | Check-in date in YYYY-MM-DD format (e.g., "2026-06-01") |
| `checkOut` | string | Yes | -- | Check-out date in YYYY-MM-DD format (e.g., "2026-06-03") |
| `adults` | integer | No | 2 | Number of adult guests (1-10) |
| `rooms` | integer | No | 1 | Number of rooms (1-5) |
| `maxItems` | integer | No | 20 | Maximum number of hotels to scrape |
| `proxy` | object | No | -- | Proxy configuration. Residential proxy recommended for datacenter IPs |

#### Example input

```json
{
    "destination": "New York",
    "checkIn": "2026-06-01",
    "checkOut": "2026-06-03",
    "adults": 2,
    "maxItems": 10
}
````

```json
{
    "destination": "Paris, France",
    "checkIn": "2026-07-15",
    "checkOut": "2026-07-20",
    "adults": 2,
    "rooms": 1,
    "maxItems": 30
}
```

### Output

#### Hotel fields

| Field | Type | Description |
|-------|------|-------------|
| `hotelId` | string | Unique Expedia hotel identifier |
| `name` | string | Hotel name |
| `url` | string | Direct link to the hotel page on Expedia |
| `price` | string | Nightly price as displayed (e.g., "$671 nightly") |
| `totalPrice` | string | Total price with taxes and fees (e.g., "$1,639 total") |
| `rating` | string | Guest rating out of 10 (e.g., "9.2") |
| `ratingText` | string | Rating descriptor (e.g., "Wonderful", "Excellent") |
| `reviewCount` | string | Total number of guest reviews |
| `neighborhood` | string | Hotel neighborhood or area (e.g., "Theater District") |
| `description` | string | Short description or tagline from the listing |
| `imageUrl` | string | URL of the hotel's main listing image |
| `badges` | array | Special offers and badges (e.g., "VIP Access", "Breakfast included") |
| `destination` | string | The search destination used |
| `checkIn` | string | Check-in date used for the search |
| `checkOut` | string | Check-out date used for the search |
| `searchUrl` | string | Full Expedia search URL used |
| `scrapedAt` | string | ISO 8601 timestamp of when the data was scraped |

#### Sample output

```json
{
    "hotelId": "1234567",
    "name": "The Ritz-Carlton New York, Times Square",
    "url": "https://www.expedia.com/New-York-Hotels-The-Ritz-Carlton.h1234567.Hotel-Information",
    "price": "$671 nightly",
    "totalPrice": "$1,639 total",
    "rating": "9.2",
    "ratingText": "Wonderful",
    "reviewCount": "2847",
    "neighborhood": "Theater District",
    "description": "Upscale hotel with panoramic city views, a luxury spa, and fine dining in the heart of Times Square.",
    "imageUrl": "https://images.trvl-media.com/lodging/1234567/...",
    "badges": ["VIP Access", "Breakfast included"],
    "destination": "New York",
    "checkIn": "2026-06-01",
    "checkOut": "2026-06-03",
    "searchUrl": "https://www.expedia.com/Hotel-Search?destination=New+York&startDate=2026-06-01&endDate=2026-06-03&rooms=1&adults=2",
    "scrapedAt": "2026-04-07T12:00:00.000000+00:00"
}
```

### Use cases

- **Travel planning** -- Compare hotel prices, ratings, and locations before booking your trip
- **Price monitoring** -- Track hotel price changes across dates and destinations over time
- **Market research** -- Analyze hotel pricing trends and competitive positioning in specific markets
- **Competitive analysis** -- Compare hotels by rating, price range, and neighborhood within a city
- **Travel aggregation** -- Build hotel comparison tools or travel recommendation engines
- **Data journalism** -- Collect hospitality market data for reporting and analysis

### Tips

- **Residential proxy recommended** -- For the most reliable results from datacenter environments, use a residential proxy. The scraper may work without proxy from residential IPs
- **Check-in and check-out required** -- Expedia requires dates to show hotel search results with pricing
- **Results per load** -- Expedia loads 3-10 hotel cards at a time. The scraper scrolls to load more, up to your `maxItems` limit
- **Destination format** -- Use common location names like "New York", "London, UK", or "Tokyo, Japan". The scraper handles URL encoding automatically

### FAQ

**How many hotels can I scrape?**
Expedia loads hotels progressively as you scroll. The scraper scrolls up to 8 times to load more results. Typical yields are 20-50 hotels per search, depending on the destination.

**Do I need login credentials?**
No. The scraper uses public Expedia hotel search pages that don't require authentication.

**Why do I need check-in and check-out dates?**
Expedia requires travel dates to display hotel search results with pricing. Without dates, the search may not return results.

**What proxy should I use?**
Residential proxies work best. Datacenter IPs may be blocked by Expedia's bot detection. Try without a proxy first if running locally.

**Why are some fields empty?**
Not all hotel cards display every field. For example, some hotels may not show a neighborhood, description, or rating. Empty strings are returned instead of null values.

**What destinations are supported?**
Any destination that Expedia supports -- cities, regions, neighborhoods, airports, and landmarks worldwide.

**How does the scraper handle bot detection?**
The scraper uses Patchright (an undetected browser automation library) with `headless=False` to bypass Expedia's PerimeterX bot detection.

# Actor input Schema

## `destination` (type: `string`):

The destination city or area to search for hotels (e.g., 'New York', 'London', 'Tokyo, Japan').

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

Check-in date in YYYY-MM-DD format (e.g., '2026-06-01').

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

Check-out date in YYYY-MM-DD format (e.g., '2026-06-03').

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

Number of adult guests. Affects pricing and room availability.

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

Number of rooms needed.

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

Maximum number of hotel listings to scrape from search results.

## `proxy` (type: `object`):

Required — Expedia blocks datacenter IPs. Use residential proxy for reliable results.

## Actor input object example

```json
{
  "destination": "New York",
  "checkIn": "2026-06-01",
  "checkOut": "2026-06-03",
  "adults": 2,
  "rooms": 1,
  "maxItems": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `hotels` (type: `string`):

No description

# 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 = {
    "destination": "New York",
    "checkIn": "2026-06-01",
    "checkOut": "2026-06-03",
    "adults": 2,
    "maxItems": 5,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/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 = {
    "destination": "New York",
    "checkIn": "2026-06-01",
    "checkOut": "2026-06-03",
    "adults": 2,
    "maxItems": 5,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/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 '{
  "destination": "New York",
  "checkIn": "2026-06-01",
  "checkOut": "2026-06-03",
  "adults": 2,
  "maxItems": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call crawlerbros/expedia-hotels-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Expedia Hotels Scraper",
        "description": "Scrape hotel listings from Expedia search results. Extract hotel names, prices, ratings, reviews, neighborhoods, descriptions and images for any destination and travel dates.",
        "version": "1.0",
        "x-build-id": "n3dbp9KOEYeLgx7hH"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~expedia-hotels-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-expedia-hotels-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~expedia-hotels-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-expedia-hotels-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~expedia-hotels-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-expedia-hotels-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "destination",
                    "checkIn",
                    "checkOut"
                ],
                "properties": {
                    "destination": {
                        "title": "Destination",
                        "type": "string",
                        "description": "The destination city or area to search for hotels (e.g., 'New York', 'London', 'Tokyo, Japan')."
                    },
                    "checkIn": {
                        "title": "Check-in Date",
                        "type": "string",
                        "description": "Check-in date in YYYY-MM-DD format (e.g., '2026-06-01')."
                    },
                    "checkOut": {
                        "title": "Check-out Date",
                        "type": "string",
                        "description": "Check-out date in YYYY-MM-DD format (e.g., '2026-06-03')."
                    },
                    "adults": {
                        "title": "Number of Adults",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Number of adult guests. Affects pricing and room availability.",
                        "default": 2
                    },
                    "rooms": {
                        "title": "Number of Rooms",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Number of rooms needed.",
                        "default": 1
                    },
                    "maxItems": {
                        "title": "Maximum Hotels",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of hotel listings to scrape from search results.",
                        "default": 20
                    },
                    "proxy": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Required — Expedia blocks datacenter IPs. Use residential proxy for reliable results."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
