# Miami hotel prices, two weeks out

**Use case:** 

Nightly rates, stay totals, star class and guest ratings for up to 20 Miami hotels on Google Hotels, for a 2-night stay starting 14 days from today. For travel planners, revenue managers and anyone tracking Miami hotel prices.

## Input

```json
{
  "locations": [
    "Miami"
  ],
  "hotelIds": [],
  "hotelUrls": [],
  "hotelNames": [],
  "maxResults": 20,
  "checkInDate": "",
  "checkOutDate": "",
  "priceWindowEnd": "",
  "adults": 2,
  "children": 0,
  "childrenAges": [],
  "currency": "USD",
  "sortBy": "google",
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": 0,
  "hotelClass": 0,
  "hotelClasses": [],
  "amenities": [],
  "propertyTypes": [],
  "freeCancellation": false,
  "vacationRentals": "include",
  "rentalTypes": [],
  "rentalAmenities": [],
  "bedrooms": 0,
  "bathrooms": 0,
  "includeBookingSources": false,
  "includeRoomRates": false,
  "includeHotelDetails": false,
  "maxPhotos": 25,
  "includeReviews": false,
  "maxReviews": 20,
  "reviewsSort": "mostHelpful",
  "reviewsTopic": "",
  "reviewsSources": [],
  "includeMarkdown": false,
  "languageCode": "en",
  "countryCode": "us",
  "device": "desktop",
  "requestTimeoutSecs": 45
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "location": {
    "label": "Location or hotel asked for",
    "format": "string"
  },
  "name": {
    "label": "Property name",
    "format": "string"
  },
  "propertyType": {
    "label": "Property type",
    "format": "string"
  },
  "pricePerNight": {
    "label": "Nightly price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Review count",
    "format": "integer"
  },
  "hotelClass": {
    "label": "Hotel class",
    "format": "number"
  },
  "checkInDate": {
    "label": "Check-in",
    "format": "string"
  },
  "checkOutDate": {
    "label": "Check-out",
    "format": "string"
  },
  "googleHotelsUrl": {
    "label": "Google Hotels URL",
    "format": "string"
  }
}
```

## About this Actor

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