{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper & Rate Monitor · $3/1K",
    "description": "From $3 per 1,000 hotels. Google Hotels prices for any city or hotel, amenities, every booking site's rate and rate-parity checks, plus competitor rate shopping: your hotel vs. competitors across up to 60 dates, with price rank, gap to average, a rate grid and price alerts.",
    "version": "0.0",
    "x-build-id": "h7iiBRMe528BMSgdD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xpandalabs~google-hotels-rate-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xpandalabs-google-hotels-rate-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/xpandalabs~google-hotels-rate-monitor/runs": {
      "post": {
        "operationId": "runs-sync-xpandalabs-google-hotels-rate-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/xpandalabs~google-hotels-rate-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-xpandalabs-google-hotels-rate-monitor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searches": {
            "title": "Searches",
            "type": "array",
            "description": "Destinations as you would type them into Google Hotels, e.g. 'hotels in Sydney', '4-star hotels near Darling Harbour', 'hotels in Shanghai'. Results are paginated up to 'Max hotels per search'.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Specific hotels",
            "type": "array",
            "description": "Hotel names (add the city for accuracy, e.g. 'Park Hyatt Sydney') or Google Hotels URLs. Each returns the hotel with every booking site's room rates.",
            "items": {
              "type": "string"
            }
          },
          "maxHotels": {
            "title": "Max hotels per search",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Google shows about 18 hotels per page; the Actor pages through results until this many hotels (after filters) are collected. For a quick answer (an AI assistant or a single question), use 18 or fewer: one results page, usually back in under 10 seconds.",
            "default": 100
          },
          "myHotel": {
            "title": "Your hotel",
            "type": "string",
            "description": "Your own hotel's name (add the city) or Google Hotels link. Every row then shows how each competitor's price compares with yours, and your price rank and gap to the competitor average, date by date."
          },
          "datesToCheck": {
            "title": "Check-in dates to check",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "How many check-in dates to price for Your hotel and Specific hotels, starting at the check-in date (or Days ahead). Example: 30 gives the next 30 nights. Destination searches always use one date. Each hotel and date is one result.",
            "default": 1
          },
          "dateStepDays": {
            "title": "Days between check-in dates",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "1 checks every night; 7 checks the same weekday each week.",
            "default": 1
          },
          "checkIn": {
            "title": "Check-in date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty to use 'Days ahead' instead (recommended for scheduled runs)."
          },
          "checkOut": {
            "title": "Check-out date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty to use 'Nights'."
          },
          "daysAhead": {
            "title": "Days ahead",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "When no check-in date is given, check in this many days from today. Lets a daily schedule always look at the same booking window.",
            "default": 7
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Length of stay in nights.",
            "default": 1
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Adults per room.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One entry per child, e.g. 4 and 9.",
            "items": {
              "type": "string"
            }
          },
          "region": {
            "title": "Region preset",
            "enum": [
              "",
              "US",
              "CA",
              "AU",
              "NZ",
              "GB",
              "EU",
              "JP",
              "SG",
              "TH",
              "CN",
              "HK",
              "MO"
            ],
            "type": "string",
            "description": "Sets currency, Google country and language in one go. Fields below override it.",
            "default": ""
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "ISO code, e.g. USD, AUD, CNY, HKD. Leave empty to use the region preset (USD if none)."
          },
          "country": {
            "title": "Google country (gl)",
            "type": "string",
            "description": "Two-letter code Google should localise for, e.g. us, au, hk. Leave empty to use the region preset."
          },
          "language": {
            "title": "Language (hl)",
            "type": "string",
            "description": "Interface language, e.g. en, zh-CN, ja. Leave empty to use the region preset."
          },
          "minStars": {
            "title": "Minimum star class",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "0 = any.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum guest rating",
            "type": "number",
            "description": "Google rating out of 5, e.g. 4.2. 0 = any.",
            "default": 0
          },
          "minPrice": {
            "title": "Minimum nightly price",
            "type": "number",
            "description": "In the chosen currency. 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum nightly price",
            "type": "number",
            "description": "In the chosen currency. 0 = no maximum.",
            "default": 0
          },
          "onlyWithPrice": {
            "title": "Only hotels with a price",
            "type": "boolean",
            "description": "Skip properties Google shows without a rate for your dates (often sold out).",
            "default": false
          },
          "requiredAmenities": {
            "title": "Must have amenities",
            "type": "array",
            "description": "Only hotels that have all of these, as listed on Google Hotels. Every result also includes its amenities list and yes/no columns for free Wi-Fi, free breakfast, free parking, pool and pet-friendly.",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "free_breakfast",
                "free_parking",
                "pool",
                "indoor_pool",
                "outdoor_pool",
                "hot_tub",
                "spa",
                "fitness_center",
                "pet_friendly",
                "airport_shuttle",
                "beach_access",
                "all_inclusive",
                "restaurant",
                "bar",
                "kid_friendly",
                "kitchen",
                "air_conditioning",
                "accessible",
                "room_service",
                "golf"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Free breakfast",
                "Free parking",
                "Pool (any)",
                "Indoor pool",
                "Outdoor pool",
                "Hot tub",
                "Spa",
                "Fitness center",
                "Pet-friendly",
                "Airport shuttle",
                "Beach access",
                "All inclusive",
                "Restaurant",
                "Bar",
                "Kid-friendly",
                "Kitchen",
                "Air conditioning",
                "Accessible",
                "Room service",
                "Golf"
              ]
            },
            "default": []
          },
          "sortBy": {
            "title": "Sort output",
            "enum": [
              "relevance",
              "price_low",
              "price_high",
              "rating",
              "reviews"
            ],
            "type": "string",
            "description": "Order of hotels within each search in the output.",
            "default": "relevance"
          },
          "includeBookingSiteRates": {
            "title": "Booking-site rates for search results",
            "type": "boolean",
            "description": "Also open each hotel's page to get the rate on every booking site (official site, Booking.com, Expedia...). Charged per hotel looked up ($0.006 on the free plan).",
            "default": false
          },
          "maxBookingSiteLookups": {
            "title": "Max hotels to look up booking-site rates",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Caps the extra lookups per run (top results first).",
            "default": 20
          },
          "trackChanges": {
            "title": "Track price changes between runs",
            "type": "boolean",
            "description": "Remembers the last price per hotel, dates and currency, and reports the change on the next run.",
            "default": true
          },
          "onlyChanges": {
            "title": "Output only changed, new or watched hotels",
            "type": "boolean",
            "description": "Skip hotels whose price did not move since the last run. Useful for alerts.",
            "default": false
          },
          "changeThresholdPct": {
            "title": "Change threshold %",
            "type": "number",
            "description": "Smaller moves count as unchanged.",
            "default": 1
          },
          "watchHotels": {
            "title": "Hotels to watch",
            "type": "array",
            "description": "Names (or part of a name) to flag in the output, e.g. your own hotel. Case-insensitive.",
            "items": {
              "type": "string"
            }
          },
          "maxRetries": {
            "title": "Retries per search",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "How many times to retry a search with a fresh proxy session before giving up.",
            "default": 3
          },
          "residentialFallback": {
            "title": "Residential proxy fallback",
            "type": "boolean",
            "description": "If a page keeps failing on datacenter proxies, retry it through residential proxies (billed by Apify per GB).",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel searches",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many searches run at the same time.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxies are enough for most runs.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}