# Expedia Hotel Details Scraper (`apt_marble/expedia-hotel-details`) Actor

Get full Expedia hotel records from hotel IDs or links: name, address, every gallery photo with descriptions, amenities, policies, fees, nearby places, FAQ and room types with displayed rates. Legal notice: Collect only public data you are allowed to use.

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

## Pricing

from $1.60 / 1,000 hotel record saveds

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

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 Hotel Details Scraper

Get a full Expedia hotel record from a hotel ID or link: name, address, star rating, guest score, **every gallery photo with its description**, amenities by group, policies, fees, nearby places, FAQ, and room types with room photos, room amenities and displayed rates for your dates.

### What you get

One dataset row per hotel. Export JSON, CSV, Excel or other Apify formats.

- **Photos:** the complete gallery as Expedia shows it under "All photos" (for example 54 of 54), with 1200px URL, thumbnail URL, description and image ID. The row also lists Expedia's photo categories and counts.
- **Basics:** name, tagline, street, city, postal code, country code, latitude, longitude, star rating, guest score, score label, review count.
- **Amenities:** popular amenities plus the full list by group (parking, food and drink, internet, accessibility and more).
- **Policies:** check-in, check-out, pets, children and extra beds, payment types, fees, optional extras, notices.
- **Area:** neighborhood text and nearby places with walking times.
- **FAQ:** questions and answers shown on the hotel page.
- **Rooms (optional, one row per room type):** room types, features, room amenities, room photos, and rate plans with displayed price, cancellation wording and extras (for example breakfast) for your dates.

### Quick start

```json
{
  "hotels": ["27836753", "https://euro.expedia.net/Paris-Hotels-La-Clef-Champs-Elysees-Paris-By-The-Crest-Collection.h27836753.Hotel-Information"],
  "checkIn": "2026-12-01",
  "checkOut": "2026-12-02",
  "adults": 2,
  "rooms": 1,
  "includeRooms": true
}
```

Find hotel IDs with the Expedia Hotel Search Scraper (`propertyId`) or from a hotel link (the number after `.h`).

### Input

| Field | Meaning |
| --- | --- |
| hotels | Hotel IDs or full Expedia hotel links. Duplicates are removed. |
| checkIn, checkOut | YYYY-MM-DD. Used for room rates. Check-in must be today or later. |
| adults, rooms | Adults per room and number of rooms. Children are not supported. |
| includeRooms | Add room types and rates. Turn off for a lighter run. |
| concurrency | Hotels processed at the same time. |

### Notes you should know

- Prices are the displayed rate lead for your dates and may include taxes and fees as the `priceNotes` say. They are not a booking guarantee.
- A row is saved only when the page, details and (if on) rooms are all read. If any part fails, no partial row is saved and the run summary names the step.
- Expedia changes its site. If a saved query expires, the run stops with a clear "stale query" message, never an empty row.
- Collect only public data you are allowed to use. Follow Expedia's terms and applicable laws, including GDPR and CCPA where relevant. Do not use this actor for sensitive personal information.

### Output rows

Each hotel gives 1 hotel row (recordType `hotel`) plus 1 row per room type (recordType `room`) when rooms are on. Every row counts as one result.

# Actor input Schema

## `hotels` (type: `array`):

One numeric hotel ID or full Expedia hotel link per entry. Example: 27836753. A link must contain .h<ID>.Hotel-Information.

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

Future check-in date in YYYY-MM-DD. Used for room rates.

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

Check-out after check-in in YYYY-MM-DD.

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

Adults in each room. Children are not supported.

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

Number of rooms, each with the adults-per-room count.

## `includeRooms` (type: `boolean`):

Adds room types, room photos, room amenities and displayed rates for your dates. Turn off for a faster run without rates.

## `concurrency` (type: `integer`):

Number of hotels processed at the same time. Each hotel makes its requests in order.

## Actor input object example

```json
{
  "hotels": [
    "27836753"
  ],
  "checkIn": "2027-01-01",
  "checkOut": "2027-01-02",
  "adults": 2,
  "rooms": 1,
  "includeRooms": true,
  "concurrency": 2
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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 = {
    "hotels": [
        "27836753"
    ],
    "checkIn": "2027-01-01",
    "checkOut": "2027-01-02"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/expedia-hotel-details").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 = {
    "hotels": ["27836753"],
    "checkIn": "2027-01-01",
    "checkOut": "2027-01-02",
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/expedia-hotel-details").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 '{
  "hotels": [
    "27836753"
  ],
  "checkIn": "2027-01-01",
  "checkOut": "2027-01-02"
}' |
apify call apt_marble/expedia-hotel-details --silent --output-dataset

```

## MCP server setup

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

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/vNFmMmELcy4pklzul/builds/IGeijC0v4LUtFjfRA/openapi.json
