# Find the cheapest dates to book a hotel in Miami Beach

**Use case:** 

Checks Google Hotels prices for the same hotels across a week of check-in dates, so you can see which night is cheapest to arrive. Change the city, nights and number of dates to plan any trip.

## Input

```json
{
  "mode": "prices",
  "queries": [
    "hotels in Miami Beach"
  ],
  "hotels": [
    "ChoIn5iv34iajuemARoNL2cvMTFidjFubnp6MxAB",
    "ChYI6YrJipS6urUgGgovbS8wYm1nbnBmEAE"
  ],
  "daysAhead": 30,
  "nights": 2,
  "adults": 2,
  "sweepDays": 6,
  "sweepStepDays": 1,
  "childAges": [],
  "currency": "USD",
  "outputFormat": "perHotel",
  "includeSponsored": true,
  "maxHotels": 2,
  "propertyTypes": "hotels",
  "minHotelClass": 0,
  "gl": "us",
  "hl": "en",
  "maxConcurrency": 4,
  "maxRunSecs": 100,
  "maxResidentialPages": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "name": {
    "label": "name",
    "format": "string"
  },
  "checkIn": {
    "label": "checkIn",
    "format": "string"
  },
  "checkOut": {
    "label": "checkOut",
    "format": "string"
  },
  "cheapestSeller": {
    "label": "cheapestSeller",
    "format": "string"
  },
  "cheapestPrice": {
    "label": "cheapestPrice",
    "format": "number"
  },
  "officialPrice": {
    "label": "officialPrice",
    "format": "number"
  },
  "parityGapPct": {
    "label": "parityGapPct",
    "format": "number"
  },
  "sellerCount": {
    "label": "sellerCount",
    "format": "number"
  },
  "rating": {
    "label": "rating",
    "format": "number"
  },
  "hotelClass": {
    "label": "hotelClass",
    "format": "number"
  },
  "googleHotelsUrl": {
    "label": "Google Hotels",
    "format": "string"
  }
}
```

## How it works

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

The Google Hotels Prices Scraper | OTA Rates & Rate Parity Actor is ready to run with the inputs already set for "Find the cheapest dates to book a hotel in Miami Beach". [Sign up or log in](https://console.apify.com/create-task-from-example/8OEbxNBEhZfazOG3M) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find the cheapest dates to book a hotel in Miami Beach" task

The Google Hotels Prices Scraper | OTA Rates & Rate Parity Actor will start running based on the input automatically. You can also change all the input fields, like mode, search queries, and more, to match your specific use case.

### 3. Receive the "Find the cheapest dates to book a hotel in Miami Beach" 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 name, checkin, checkout, 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 "Find the cheapest dates to book a hotel in Miami Beach" task via API](https://apify.com/zrk1212/google-hotels-prices-scraper.md).

## FAQ

### What does this task return?

The Find the cheapest dates to book a hotel in Miami Beach task returns one row per hotel and stay date with the price from every seller Google lists, such as Booking.com, Expedia, Hotels.com, Agoda and the official site, plus rate-parity flags.

### How much does it cost?

The Find the cheapest dates to book a hotel in Miami Beach task is pay per result: $4 per 1,000 hotel-dates with prices, or $1.50 per 1,000 hotels in search mode. You can set a maximum spend per run.

### Can I run it on a schedule or through the API?

The Find the cheapest dates to book a hotel in Miami Beach task runs on an Apify schedule, through the API, or from Zapier, Make and n8n. Set a monitor key to get price changes since the last run.

## About this Actor

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