# Hotels.com Image Scraper 🏨 📸 (`easyapi/hotels-com-image-scraper`) Actor

Scrape hotel images and their descriptions from Hotels.com product pages. Extract high-quality hotel photos with metadata for property listings.

- **URL**: https://apify.com/easyapi/hotels-com-image-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Travel, Integrations, Other
- **Stats:** 14 total users, 0 monthly users, 25.9% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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.

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

## Hotels.com Image Scraper 🏨 📸

Extract high-quality hotel images and their descriptions from Hotels.com product pages. This actor helps you collect comprehensive visual data for hotel properties.

### Features ✨

- Scrapes high-resolution hotel images and their descriptions
- Handles multiple hotel URLs in a single run
- Supports proxy configuration for reliable scraping
- Provides detailed metadata including image descriptions and timestamps
- Uses advanced browser automation with stealth features
- Efficient memory management for large-scale scraping

### Use Cases 🎯

- Build hotel image databases
- Analyze hotel visual content
- Create hotel comparison platforms
- Monitor hotel visual updates
- Generate hotel marketing materials
- Research hotel property presentations

### Input Parameters 📝

The actor accepts the following input parameters:

- `productUrls` (Required): Array of Hotels.com product URLs to scrape
- `maxItems` (Optional): Maximum number of items to scrape per URL (default: unlimited)
- `proxyConfiguration` (Optional): Proxy settings for making requests

### Output 📊

The actor outputs JSON files containing:

- Product URL
- Image URL
- Image description
- Timestamp of scraping

### Tips for Usage 💡

1. Use proxy configuration for better reliability
2. Adjust maxItems based on your needs
3. Ensure input URLs are valid Hotels.com product pages
4. Consider rate limiting for large-scale scraping

### Limitations ⚠️

- Only works with Hotels.com product pages
- Image quality depends on source website
- Rate limiting may apply

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "productUrls": [
        "https://www.hotels.com/ho1949303712/las-vegas-hilton-at-resorts-world-las-vegas-united-states-of-america/?chkin=2025-02-22&chkout=2025-02-23&x_pwa=1&rfrr=HSR&pwa_ts=1738983958423&referrerUrl=aHR0cHM6Ly93d3cuaG90ZWxzLmNvbS9Ib3RlbC1TZWFyY2g%3D&useRewards=false&rm1=a2&regionId=2008&destination=Las+Vegas%2C+Nevada%2C+United+States+of+America&destType=MARKET&neighborhoodId=800045&latLong=36.17006%2C-115.141376&trackingData=AAAAAQAAAAEAAAAQAL6jcBDUo_pQmSJUNAR2LOoOUUOkw2sPXafs1a54OXlCSstgsykD5J1i24AyNx81ETYEz5Yeteegv2MB0dEUeGAQ1RqLmvc0aFbFnAk5uhd7G3bJKBnYuC8RCoDxadmLFFY_mQ0bdbtc7NOTb_HPv5ku0NIZtGmdDQcxJw-3wgtUaTUrfpme_nreaD8A8elodTcBQX4O0zFLC8ajr4lLjEAGhMNCTY_hXkc8GLzlY0hC8sPNfkZ0Nz4Fgzn43lIboAhBRwKngpQG0UaM4UcQfqsy2uVHVdpab2CEFpIYYuVdoYYdJ6Mnfi7V_6Pl63MR3VD8AtduQaAy6XxWzX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verride=Buttercup%2C39483.0.0%2C50028.0.0%2C50813.0.0%2C51642.0.0%2C51690.0.0%2C52131.0.0%2C54709.194717.1%2C59134.207501.0%2C50988.158353.0%2C54072.210754.1%2C57292.207418.1&slots=&position=1&beaconIssued=&sort=RECOMMENDED&top_dp=199&top_cur=USD&userIntent=&selectedRoomType=226554339&selectedRatePlan=383740751&expediaPropertyId=60884491&searchId=57ef6b5c-dc3c-4b55-9927-b193b6aae407"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "productUrl": "https://www.hotels.com/ho1949303712/las-vegas-hilton-at-resorts-world-las-vegas-united-states-of-america/?chkin=2025-02-22&chkout=2025-02-23&x_pwa=1&rfrr=HSR&pwa_ts=1738983958423&referrerUrl=aHR0cHM6Ly93d3cuaG90ZWxzLmNvbS9Ib3RlbC1TZWFyY2g%3D&useRewards=false&rm1=a2&regionId=2008&destination=Las+Vegas%2C+Nevada%2C+United+States+of+America&destType=MARKET&neighborhoodId=800045&latLong=36.17006%2C-115.141376&trackingData=AAAAAQAAAAEAAAAQAL6jcBDUo_pQmSJUNAR2LOoOUUOkw2sPXafs1a54OXlCSstgsykD5J1i24AyNx81ETYEz5Yeteegv2MB0dEUeGAQ1RqLmvc0aFbFnAk5uhd7G3bJKBnYuC8RCoDxadmLFFY_mQ0bdbtc7NOTb_HPv5ku0NIZtGmdDQcxJw-3wgtUaTUrfpme_nreaD8A8elodTcBQX4O0zFLC8ajr4lLjEAGhMNCTY_hXkc8GLzlY0hC8sPNfkZ0Nz4Fgzn43lIboAhBRwKngpQG0UaM4UcQfqsy2uVHVdpab2CEFpIYYuVdoYYdJ6Mnfi7V_6Pl63MR3VD8AtduQaAy6XxWzXS0CRG7ltN_CPSAa7aD5d9t_cCo5BcxYIv_CkLhYA7InbB_bxMANXE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.0%2C52131.0.0%2C54709.194717.1%2C59134.207501.0%2C50988.158353.0%2C54072.210754.1%2C57292.207418.1&slots=&position=1&beaconIssued=&sort=RECOMMENDED&top_dp=199&top_cur=USD&userIntent=&selectedRoomType=226554339&selectedRatePlan=383740751&expediaPropertyId=60884491&searchId=57ef6b5c-dc3c-4b55-9927-b193b6aae407",
        "scrapedAt": "2026-07-07T03:47:40.162Z",
        "description": "A high-rise room with a panoramic city view, two plush red chairs, a small round table with a drink, and a telescope.",
        "url": "https://images.trvl-media.com/lodging/61000000/60890000/60884500/60884491/b288c2bd.jpg?impolicy=resizecrop&rw=1200&ra=fit"
    },
    ...
]
```

### Related Actors

- 🏨 [Hotels.com Scraper](https://apify.com/easyapi/hotels-com-scraper) - Extract detailed hotel listings including prices, ratings, amenities and images
- 🏨 [Hotels.com Review Scraper](https://apify.com/easyapi/hotels-com-review-scraper) - Scrape detailed hotel reviews including ratings, review text and management responses
- 🏨 [Booking Search Scraper](https://apify.com/easyapi/booking-search-scraper) - Extract comprehensive hotel data from Booking.com search results
- 🏨 [Booking Reviews Scraper](https://apify.com/easyapi/booking-reviews-scraper) - Get detailed guest reviews and ratings from Booking.com hotel pages
- 🏨 [Hostelworld Scraper](https://apify.com/easyapi/hostelworld-scraper) - Scrape detailed hostel information including prices, ratings and facilities
- 🏨 [Hostelworld Reviews Scraper](https://apify.com/easyapi/hostelworld-reviews-scraper) - Extract detailed hostel reviews and ratings from Hostelworld.com
- 📸 [Pinterest Image Downloader](https://apify.com/easyapi/pinterest-image-downloader) - Download high-quality images from Pinterest with batch capabilities
- 🖼️ [Google Images Scraper](https://apify.com/easyapi/google-images-scraper) - Powerful image scraper with flexible search options and language support
- 🎨 [Adobe Stock Search Scraper](https://apify.com/easyapi/adobe-stock-search-scraper) - Extract image, video and illustration data from Adobe Stock
- 📸 [Unsplash Image Scraper](https://apify.com/easyapi/unsplash-image-scraper) - Fetch high-quality images based on search queries
- 🔍 [URL Metadata Crawler](https://apify.com/easyapi/url-metadata-crawler) - Extract comprehensive metadata from web pages including meta tags and images
- 🏠 [VRBO Property Listing Scraper](https://apify.com/easyapi/vrbo-property-listing-scraper) - Scrape vacation rental listings with detailed information and images
- 🏠 [Realtor.com Scraper](https://apify.com/easyapi/realtor-com-scraper) - Extract detailed property listings including images and property features
- 🏠 [Rightmove Property Search Scraper](https://apify.com/easyapi/rightmove-property-search-scraper) - Scrape comprehensive property data from UK's leading property website
- 🏠 [Funda.nl Scraper](https://apify.com/easyapi/funda-nl-scraper) - Extract detailed real estate data from Netherlands' property platform

# Actor input Schema

## `productUrls` (type: `array`):

Array of Hotels.com product URLs to scrape

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

Maximum number of items to scrape per URL

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

Proxy settings for making requests

## Actor input object example

```json
{
  "productUrls": [
    "https://www.hotels.com/ho1949303712/las-vegas-hilton-at-resorts-world-las-vegas-united-states-of-america/?chkin=2025-02-22&chkout=2025-02-23&x_pwa=1&rfrr=HSR&pwa_ts=1738983958423&referrerUrl=aHR0cHM6Ly93d3cuaG90ZWxzLmNvbS9Ib3RlbC1TZWFyY2g%3D&useRewards=false&rm1=a2&regionId=2008&destination=Las+Vegas%2C+Nevada%2C+United+States+of+America&destType=MARKET&neighborhoodId=800045&latLong=36.17006%2C-115.141376&trackingData=AAAAAQAAAAEAAAAQAL6jcBDUo_pQmSJUNAR2LOoOUUOkw2sPXafs1a54OXlCSstgsykD5J1i24AyNx81ETYEz5Yeteegv2MB0dEUeGAQ1RqLmvc0aFbFnAk5uhd7G3bJKBnYuC8RCoDxadmLFFY_mQ0bdbtc7NOTb_HPv5ku0NIZtGmdDQcxJw-3wgtUaTUrfpme_nreaD8A8elodTcBQX4O0zFLC8ajr4lLjEAGhMNCTY_hXkc8GLzlY0hC8sPNfkZ0Nz4Fgzn43lIboAhBRwKngpQG0UaM4UcQfqsy2uVHVdpab2CEFpIYYuVdoYYdJ6Mnfi7V_6Pl63MR3VD8AtduQaAy6XxWzXS0CRG7ltN_CPSAa7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0%2C50028.0.0%2C50813.0.0%2C51642.0.0%2C51690.0.0%2C52131.0.0%2C54709.194717.1%2C59134.207501.0%2C50988.158353.0%2C54072.210754.1%2C57292.207418.1&slots=&position=1&beaconIssued=&sort=RECOMMENDED&top_dp=199&top_cur=USD&userIntent=&selectedRoomType=226554339&selectedRatePlan=383740751&expediaPropertyId=60884491&searchId=57ef6b5c-dc3c-4b55-9927-b193b6aae407"
  ],
  "maxItems": 10000,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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("easyapi/hotels-com-image-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("easyapi/hotels-com-image-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 easyapi/hotels-com-image-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/hotels-com-image-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/6M4fEhKNzffnOuerH/builds/U9nELQP9alrRBsHXH/openapi.json
