# All Hotels in a City with Prices, Ratings and Amenities

**Use case:** 

Get a complete list of hotels in any city from Google Hotels: price per night for your dates, star class, guest rating and reviews, amenities, GPS coordinates, check-in times and photos. Filter by stars, rating, price or property type and export to Excel, CSV or JSON. Great for market research, travel apps and hotel comparisons. No coding needed.

## Input

```json
{
  "queries": [
    "hotels in Barcelona"
  ],
  "checkInDate": "+14 days",
  "nights": 2,
  "numberOfDates": 1,
  "dateStepDays": 1,
  "adults": 2,
  "includePrices": false,
  "maxHotelsPerSearch": 200,
  "propertyType": "hotels",
  "minStars": 3,
  "minRating": 0,
  "onlyWithPrice": false,
  "currency": "EUR",
  "language": "en",
  "country": "us",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "alwaysUseProxy": false
}
```

## Output

```json
{
  "query": {
    "label": "Query",
    "format": "text"
  },
  "checkInDate": {
    "label": "Check-in",
    "format": "text"
  },
  "position": {
    "label": "#",
    "format": "number"
  },
  "name": {
    "label": "Hotel",
    "format": "text"
  },
  "type": {
    "label": "Type",
    "format": "text"
  },
  "stars": {
    "label": "Stars",
    "format": "number"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewsCount": {
    "label": "Reviews",
    "format": "number"
  },
  "pricePerNight": {
    "label": "Price / night",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "cheapestSource": {
    "label": "Cheapest site",
    "format": "text"
  },
  "cheapestPricePerNight": {
    "label": "Cheapest",
    "format": "number"
  },
  "officialPricePerNight": {
    "label": "Official site",
    "format": "number"
  },
  "officialVsCheapestDiff": {
    "label": "Official - cheapest",
    "format": "number"
  },
  "offersCount": {
    "label": "Sites",
    "format": "number"
  },
  "googleHotelsUrl": {
    "label": "Google Hotels",
    "format": "link"
  }
}
```

## About this Actor

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