{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Hotel Prices From Every Booking Site",
    "description": "Hotel prices from Google Hotels for any city, hotel and dates: every booking site's rate, cheapest first, total with taxes, rating, stars, amenities and coordinates. Track hotel price calendars and price drops on a schedule.",
    "version": "0.1",
    "x-build-id": "959bI0LZTsFRQgvnF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automatic~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automatic-google-hotels-scraper",
        "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/automatic~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automatic-google-hotels-scraper",
        "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/automatic~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automatic-google-hotels-scraper",
        "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": {
          "queries": {
            "title": "Places to search",
            "type": "array",
            "description": "Cities, neighborhoods or searches as you would type them on Google Hotels, for example \"Lisbon\", \"Austin, TX\" or \"hotels near Times Square\". A bare place is searched as \"hotels in <place>\". Omitted or empty queries run the example: up to 10 hotels in Lisbon with their booking-site offers. The empty-list fallback is logged once. Example: [\"Lisbon\"]. Supply at least one place for a custom search, or leave this empty and fill in Hotels to track.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "hotels": {
            "title": "Hotels to track",
            "type": "array",
            "description": "Hotels to price for every date below, one per line: a hotel name with its city (\"The Central House Lisbon Baixa, Lisbon\"; Google's top property match is used), a Google Hotels link copied from the hotel (https://www.google.com/travel/hotels/entity/...), or its property id. Up to 100. Each hotel gives one row per check-in date and stay length. The prefilled example place (Lisbon) is ignored when hotels are given; any other place still runs. Example: [\"Hilton Garden Inn New York/Times Square Central, New York\"].",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "checkInDates": {
            "title": "Check-in dates to price",
            "type": "array",
            "description": "For Hotels to track: every check-in date to price, as YYYY-MM-DD or days from today (\"+7d\", \"+14 days\", \"+2 weeks\"), so a scheduled run keeps moving forward. Combined with the date range below; up to 90 dates per hotel. Dates in the past or more than 330 days ahead are skipped and listed in OUTPUT. Empty: the single stay of Check-in date. Example: [\"+7d\", \"+14d\", \"2026-12-24\"].",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "dateRange": {
            "title": "Check-in date range",
            "type": "object",
            "description": "For Hotels to track: price every check-in date from \"from\" to \"to\" (inclusive), every \"step\" days (default 1). Dates take the same formats as above, so {\"from\": \"+1d\", \"to\": \"+30d\"} always prices the next 30 days. Up to 90 dates per hotel. Example: {\"from\": \"+7d\", \"to\": \"+36d\", \"step\": 1}."
          },
          "stayLengths": {
            "title": "Stay lengths (nights)",
            "type": "array",
            "description": "For Hotels to track: the number of nights to price for each check-in date, up to 7 values from 1 to 30. Every date is priced for every length. Empty: the nights between Check-in date and Check-out date (1 by default). Example: [1, 3, 7].",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 30
            }
          },
          "checkInDate": {
            "title": "Check-in date",
            "type": "string",
            "description": "Arrival date (YYYY-MM-DD), or a number of days from today such as \"+14 days\". Empty: 7 days from today. Example: \"2026-12-01\". A cleared value is treated as omitted and uses the Actor's built-in default."
          },
          "checkOutDate": {
            "title": "Check-out date",
            "type": "string",
            "description": "Departure date (YYYY-MM-DD), or days from today. Empty: one night after check-in. At most 30 nights. Example: \"2026-12-01\". A cleared value is treated as omitted and uses the Actor's built-in default."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Adults staying (1-6, children included in the 6). Example: 2. Omit this field to use 2. A cleared form value is treated as omitted.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One age (0-17) per child, for example [4, 9]. Example: [7]. A cleared value is treated as omitted and uses the Actor's built-in default.",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 17
            }
          },
          "includeOffers": {
            "title": "Add every booking site's offer",
            "type": "boolean",
            "description": "Open each hotel's prices to add the offer from every booking site (cheapest first, with links), the cheapest site, address, phone and the price range the hotel typically costs for these dates. Example: true. Omit this field to use true. A cleared form value is treated as omitted.",
            "default": true
          },
          "hotelsOnly": {
            "title": "Hotels only",
            "type": "boolean",
            "description": "Leave out vacation rentals (apartments and homes) that Google mixes into the results. Example: false. Omit this field to use false. A cleared form value is treated as omitted.",
            "default": false
          },
          "includeAmenities": {
            "title": "Add amenities",
            "type": "boolean",
            "description": "Add each hotel's amenities as Google lists them, by category (Wi-Fi free, pool, parking, breakfast, pets, accessibility...), and its popular amenities. With booking-site offers on this adds nothing to the run time; with offers off it opens one more page per hotel. Example: false. Omit this field to use false. A cleared form value is treated as omitted.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results per place",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap on rows for each place or search (up to 10,000). Google Hotels lists up to a few hundred properties for most places. Example: 20. Omit this field to use 20. A cleared form value is treated as omitted.",
            "default": 20
          },
          "maxHotelDateRows": {
            "title": "Maximum hotel-date rows",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "For Hotels to track: cap on hotel x date rows read in the whole run (up to 10,000). A run that reaches it keeps every saved row and says so in OUTPUT.stopReason. Example: 5000. Omit this field to use 5000. A cleared form value is treated as omitted.",
            "default": 5000
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Currency for every price (ISO code such as USD, EUR, GBP, JPY). Example: \"USD\". If empty, uses \"USD\".",
            "default": "USD"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country whose Google Hotels results you want to see (ISO code such as US, GB, DE). Example: \"US\". If empty, uses \"US\".",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of names and labels (code such as en, es, de, pt-BR). Example: \"en\". If empty, uses \"en\".",
            "default": "en"
          },
          "monitorMode": {
            "title": "Deliver only price changes",
            "enum": [
              "off",
              "changes"
            ],
            "type": "string",
            "description": "\"changes\": deliver (and pay for) only stays that are new or whose lowest price changed since the last run with the same Monitor name; each row then carries isNew, priceChanged, previousPrice and firstSeenAt. The first run delivers everything as new. \"off\": deliver every row. Example: \"off\". Omit this field to use \"off\". A cleared form value is treated as omitted.",
            "default": "off"
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Required with \"changes\": a name for this feed (1-64 letters, digits, spaces, dots, dashes or underscores) that you reuse on every scheduled run. Its price history is kept in your account's key-value store google-hotels-monitor. A different currency, guests, country, language or offers setting starts a new history. Run one job at a time per name. Example: \"lisbon-rate-watch\"."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}