{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Prices, Booking Sites & Rate Calendar",
    "description": "Hotel prices from Google Hotels for any city or hotel and your dates, guests and currency: nightly and total price, rating, class, amenities, and optionally every booking site's price (Booking.com, Expedia, official site) for rate tracking.",
    "version": "0.1",
    "x-build-id": "Nbv8M8WFB6wHyIuoo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jamie_developer~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jamie_developer-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/jamie_developer~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jamie_developer-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/jamie_developer~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jamie_developer-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": {
          "locations": {
            "title": "Places to search",
            "type": "array",
            "description": "One per line: a city, area or landmark as you would type it into Google Hotels, e.g. Zurich, Paris 8th arrondissement, hotels near Times Square, Lisbon. Google's own wording also works as a filter, e.g. 5 star hotels in Rome or hotels in Berlin under $150.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Specific hotels",
            "type": "array",
            "description": "One per line: a Google Hotels hotel URL (https://www.google.com/travel/hotels/entity/ChcI…), its ID (starts with Ch…) or the hotel's name with its city, e.g. Hotel Schweizerhof Zurich. Each hotel row always includes every booking site's price.",
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in date",
            "pattern": "^(\\+?\\d{1,3}|\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "YYYY-MM-DD (e.g. 2026-12-10), or a number of days from the day the run starts (e.g. 30). Empty = 14 days from today, which keeps scheduled runs looking ahead."
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Length of stay, 1 to 30 nights.",
            "default": 1
          },
          "additionalCheckInDays": {
            "title": "Also check the next N check-in days",
            "minimum": 0,
            "maximum": 180,
            "type": "integer",
            "description": "Rate calendar: repeat every search and hotel for the next N check-in dates with the same number of nights. 0 = only the check-in date above; 29 = 30 check-in dates.",
            "default": 0
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Adults in one room. Google prices one room for the whole party.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One age per child (0 to 17), e.g. 5 and 9 for two children. Leave empty for no children.",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "3-letter currency code for all prices, e.g. USD, EUR, GBP, CHF, JPY.",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,4})?$",
            "type": "string",
            "description": "Google language code for hotel names and descriptions, e.g. en, de, fr, es, ja.",
            "default": "en"
          },
          "country": {
            "title": "Google country",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "2-letter country code of the Google market (gl), e.g. us, gb, de, ch. Booking sites and some prices differ by market.",
            "default": "us"
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the currency above. 0 = no minimum. Applied by Google before results are returned.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the currency above. 0 = no maximum.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Keep only hotels rated at least this on Google.",
            "default": ""
          },
          "hotelClass": {
            "title": "Hotel class (stars)",
            "type": "array",
            "description": "Keep only these star classes. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            }
          },
          "amenities": {
            "title": "Must have amenities",
            "type": "array",
            "description": "Keep only hotels that have all of these.",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "free_breakfast",
                "free_parking",
                "parking",
                "pool",
                "indoor_pool",
                "outdoor_pool",
                "spa",
                "hot_tub",
                "fitness_center",
                "restaurant",
                "bar",
                "room_service",
                "air_conditioning",
                "pet_friendly",
                "kid_friendly",
                "airport_shuttle",
                "wheelchair_accessible",
                "beach_access",
                "all_inclusive"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Free breakfast",
                "Free parking",
                "Parking",
                "Pool",
                "Indoor pool",
                "Outdoor pool",
                "Spa",
                "Hot tub",
                "Fitness center",
                "Restaurant",
                "Bar",
                "Room service",
                "Air conditioning",
                "Pet-friendly",
                "Kid-friendly",
                "Airport shuttle",
                "Wheelchair accessible",
                "Beach access",
                "All-inclusive"
              ]
            }
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Keep only hotels with a free-cancellation rate for your dates.",
            "default": false
          },
          "includeBookingSites": {
            "title": "Add every booking site's price",
            "type": "boolean",
            "description": "For place searches: add each hotel's address, Google place ID and the price on every booking site (Booking.com, Expedia, Agoda, the hotel's own site …) with free-cancellation info. One extra request per hotel, so runs take longer. Rows from 'Specific hotels' always include this.",
            "default": false
          },
          "maxHotelsPerSearch": {
            "title": "Max hotels per place and date",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each place search after this many hotels (Google lists 20 per page, in its own ranking). 0 = every hotel Google lists, which can be thousands for big cities.",
            "default": 100
          },
          "maxResults": {
            "title": "Max rows in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many rows. 0 = no limit.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}