# Google Hotels scraper: city hotel prices from all booking sites

**Use case:** 

Hotel prices for a city from Google Hotels: lowest nightly rate, every OTA offer (Booking.com, Expedia, Agoda, official site), rating and stars. Edit the city, dates and currency.

## Input

```json
{
  "searchQueries": [
    "hotels in Barcelona"
  ],
  "maxHotelsPerSearch": 20,
  "minHotelClass": 0,
  "minPricePerNight": 0,
  "maxPricePerNight": 0,
  "checkInDate": "+30 days",
  "nights": 2,
  "numberOfDates": 1,
  "dateStep": 1,
  "adults": 2,
  "includeOtaOffers": true,
  "includeRoomTypes": false,
  "currency": "EUR",
  "country": "us",
  "language": "en-US",
  "maxItems": 0,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "thumbnailUrl": {
    "label": "Photo",
    "format": "image"
  },
  "hotelName": {
    "label": "Hotel",
    "format": "text"
  },
  "checkIn": {
    "label": "Check-in",
    "format": "text"
  },
  "checkOut": {
    "label": "Check-out",
    "format": "text"
  },
  "lowestPricePerNight": {
    "label": "Lowest / night",
    "format": "number"
  },
  "lowestTotalPrice": {
    "label": "Lowest total",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "lowestPriceProvider": {
    "label": "Cheapest on",
    "format": "text"
  },
  "offersCount": {
    "label": "Offers",
    "format": "number"
  },
  "priceInsight": {
    "label": "Price vs typical",
    "format": "object"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "hotelClass": {
    "label": "Stars",
    "format": "number"
  },
  "searchQuery": {
    "label": "Query",
    "format": "text"
  },
  "googleHotelsUrl": {
    "label": "Google Hotels",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Hotels Scraper - Google Travel Hotel Prices & OTAs Actor is ready to run with the inputs already set for "Google Hotels scraper: city hotel prices from all booking sites". [Sign up or log in](https://console.apify.com/create-task-from-example/yUcBab5eS5g0DdS48) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Hotels scraper: city hotel prices from all booking sites" task

The Google Hotels Scraper - Google Travel Hotel Prices & OTAs Actor will start running based on the input automatically. You can also change all the input fields, like search queries, max hotels per search query, and more, to match your specific use case.

### 3. Receive the "Google Hotels scraper: city hotel prices from all booking sites" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as photo, hotel, check-in, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Google Hotels scraper: city hotel prices from all booking sites" task via API](https://apify.com/kamerozkan/google-hotels-prices.md).

## About this Actor

This example demonstrates how to use [Google Hotels Scraper - Google Travel Hotel Prices & OTAs](https://apify.com/kamerozkan/google-hotels-prices.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kamerozkan/google-hotels-prices.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kamerozkan/google-hotels-prices.md

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