# Compare family hotel rates across upcoming stays

**Use case:** 

Check two adults and a seven-year-old at an exact Singapore hotel for stays 7, 30 and 90 days ahead. Collect room names, displayed cancellation terms and provider prices. Three stays can create three billable hotel results.

## Input

```json
{
  "searchQueries": [],
  "checkInDaysFromToday": 30,
  "nights": 2,
  "currency": "USD",
  "countryCode": "us",
  "language": "en",
  "maxResultsPerQuery": 20,
  "includeOffers": true,
  "maxOfferHotelsPerQuery": 5,
  "hotelUrls": [
    "https://www.google.com/travel/hotels/entity/ChgIie601P_pkqiBARoLL2cvMXYyN3JfcGsQAQ/prices"
  ],
  "maxResults": 3,
  "adults": 2,
  "childrenAges": [
    7
  ],
  "stays": [],
  "checkInOffsets": [
    7,
    30,
    90
  ],
  "maxPages": 1,
  "roomRequests": [],
  "monitorHistory": false,
  "minimumChangePercent": 5,
  "minimumChangeAmount": 0
}
```

## Output

```json
{
  "name": {
    "label": "Hotel",
    "format": "text"
  },
  "checkIn": {
    "label": "Check-in",
    "format": "date"
  },
  "checkOut": {
    "label": "Check-out",
    "format": "date"
  },
  "adults": {
    "label": "Adults shown",
    "format": "number"
  },
  "lowestOfferProvider": {
    "label": "Lowest provider",
    "format": "text"
  },
  "lowestOfferPricePerNight": {
    "label": "Lowest collected price/night",
    "format": "number"
  },
  "comparisonCurrency": {
    "label": "Comparison currency",
    "format": "text"
  },
  "officialSitePricePerNight": {
    "label": "Official site/night",
    "format": "number"
  },
  "offerPriceSpread": {
    "label": "Displayed price spread",
    "format": "number"
  },
  "providerCount": {
    "label": "Providers",
    "format": "number"
  },
  "organicOfferCount": {
    "label": "Organic offers",
    "format": "number"
  },
  "offersStatus": {
    "label": "Offers status",
    "format": "text"
  },
  "currencyMatched": {
    "label": "Requested currency",
    "format": "boolean"
  },
  "googleHotelsUrl": {
    "label": "Compare offers",
    "format": "link"
  },
  "childrenAges": {
    "label": "Child ages",
    "format": "array"
  },
  "occupancyVerified": {
    "label": "Guests verified",
    "format": "boolean"
  },
  "roomCount": {
    "label": "Room offers",
    "format": "number"
  },
  "changeStatus": {
    "label": "Price change status",
    "format": "text"
  },
  "priceChange": {
    "label": "Change/night",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Hotels Scraper: Price Tracker & OTA Comparison](https://apify.com/dig_stays/google-hotels-rates-ota-offers.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dig_stays/google-hotels-rates-ota-offers.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/dig_stays/google-hotels-rates-ota-offers.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`).
