# Hotel prices in a city from Google Hotels

**Use case:** 

Get every hotel in a city from Google Hotels with the price for your dates, star class, guest rating, reviews, amenities and address. This example lists hotels in Barcelona for a stay 30 days from today.

## Input

```json
{
  "mode": "search",
  "searchQueries": [
    "hotels in Barcelona"
  ],
  "maxResults": 100,
  "sortBy": "relevance",
  "freeCancellation": false,
  "includeVacationRentals": true,
  "onlyDeals": false,
  "maxImages": 5,
  "includeProviderPrices": false,
  "hotels": [
    "Novotel Paris Les Halles"
  ],
  "includeRoomRates": false,
  "includeReviews": false,
  "maxReviews": 50,
  "reviewsSort": "newest",
  "checkInDate": "+30",
  "nights": 1,
  "adults": 2,
  "rooms": 1,
  "currency": "USD",
  "country": "US",
  "deltaMode": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "position": {
    "label": "Position"
  },
  "name": {
    "label": "Name"
  },
  "hotelClass": {
    "label": "Hotel class"
  },
  "rating": {
    "label": "Rating"
  },
  "reviewCount": {
    "label": "Review count"
  },
  "pricePerNight": {
    "label": "Price per night"
  },
  "pricePerNightWithTaxes": {
    "label": "Price per night with taxes"
  },
  "totalPrice": {
    "label": "Total price"
  },
  "currency": {
    "label": "Currency"
  },
  "checkIn": {
    "label": "Check in"
  },
  "checkOut": {
    "label": "Check out"
  },
  "address": {
    "label": "Address"
  },
  "propertyType": {
    "label": "Property type"
  },
  "googleHotelsUrl": {
    "label": "Google hotels url",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Hotels Scraper - Prices, Booking Sites & Reviews](https://apify.com/alom/google-hotels-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alom/google-hotels-scraper.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/alom/google-hotels-scraper.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`).
