# Estimate multi-room hotel costs and compare providers

**Use case:** 

Plan two adult-only rooms and one parent-and-child room using independent Google Hotels quotes. Compare combined estimates and same-provider alternatives. Joint inventory and checkout totals are not verified.

## 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": 2,
  "adults": 2,
  "childrenAges": [],
  "stays": [],
  "checkInOffsets": [],
  "maxPages": 1,
  "roomRequests": [
    {
      "adults": 2,
      "childrenAges": [],
      "quantity": 2,
      "label": "Couples"
    },
    {
      "adults": 1,
      "childrenAges": [
        7
      ],
      "quantity": 1,
      "label": "Parent and child"
    }
  ],
  "monitorHistory": false,
  "minimumChangePercent": 5,
  "minimumChangeAmount": 0
}
```

## Output

```json
{
  "searchQuery": {
    "label": "Search",
    "format": "text"
  },
  "name": {
    "label": "Hotel",
    "format": "text"
  },
  "pricePerNight": {
    "label": "Price/night",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "checkIn": {
    "label": "Check-in",
    "format": "date"
  },
  "checkOut": {
    "label": "Check-out",
    "format": "date"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "hotelClass": {
    "label": "Class",
    "format": "text"
  },
  "offerCount": {
    "label": "OTA offers",
    "format": "number"
  },
  "offers": {
    "label": "Provider offers",
    "format": "object"
  },
  "amenities": {
    "label": "Amenities",
    "format": "array"
  },
  "googleHotelsUrl": {
    "label": "Compare offers",
    "format": "link"
  },
  "currencyMatched": {
    "label": "Requested currency",
    "format": "boolean"
  },
  "scrapedAt": {
    "label": "Checked",
    "format": "date"
  },
  "entityId": {
    "label": "Hotel ID",
    "format": "text"
  },
  "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"
  },
  "offersError": {
    "label": "Offers error",
    "format": "text"
  },
  "datesVerified": {
    "label": "Dates verified",
    "format": "boolean"
  },
  "priceSource": {
    "label": "Price source",
    "format": "text"
  },
  "available": {
    "label": "Price observed",
    "format": "boolean"
  },
  "warnings": {
    "label": "Warnings",
    "format": "array"
  },
  "childrenAges": {
    "label": "Child ages",
    "format": "array"
  },
  "occupancyVerified": {
    "label": "Guests verified",
    "format": "boolean"
  },
  "roomCount": {
    "label": "Room offers",
    "format": "number"
  },
  "rooms": {
    "label": "Room details",
    "format": "array"
  },
  "roomsStatus": {
    "label": "Room status",
    "format": "text"
  },
  "address": {
    "label": "Directions address",
    "format": "text"
  },
  "changeStatus": {
    "label": "Price change status",
    "format": "text"
  },
  "priceChange": {
    "label": "Change/night",
    "format": "number"
  },
  "priceChangePercent": {
    "label": "Change %",
    "format": "number"
  },
  "previousPrice": {
    "label": "Previous price",
    "format": "number"
  },
  "searchPage": {
    "label": "Search page",
    "format": "number"
  },
  "searchCoverage": {
    "label": "Search coverage",
    "format": "object"
  },
  "roomLabel": {
    "label": "Room requirement",
    "format": "text"
  },
  "roomQuantity": {
    "label": "Room quantity",
    "format": "number"
  },
  "roomComparisonCount": {
    "label": "Comparison candidates",
    "format": "number"
  },
  "roomComparisons": {
    "label": "Room comparison evidence",
    "format": "array"
  },
  "withinBudget": {
    "label": "Within nightly budget",
    "format": "boolean"
  },
  "eventTypes": {
    "label": "Price / budget events",
    "format": "array"
  },
  "evidence": {
    "label": "Evidence"
  }
}
```

## 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`).
