{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Prices, Ratings & Amenities, $1/1K",
    "description": "$1/1K hotels, no start fee. Every booking site's price per hotel, one of the fastest on Apify. No login. Input a destination or hotel name or link, dates, guests, currency: Booking, Expedia and hotel prices, rating, reviews, amenities, stars, coordinates, price calendar.",
    "version": "0.4",
    "x-build-id": "LPtLJ70NZH8QqYWRB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-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/laptime~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-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/laptime~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-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": "Destinations",
            "type": "array",
            "description": "Where to search, as you would type it into Google Hotels: \"hotels in Paris\", \"Lisbon\", \"hotels near Times Square\". For a town with a common name add the state or country (\"Paris, Texas\", \"Springfield IL\"); each row says which place Google searched. Up to maxResults hotels per destination. Optional when you fill in Hotels.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Hotels (name or link)",
            "type": "array",
            "description": "Specific hotels, each with every booking site's price: a name with its city (\"Hilton London Metropole\"), a Google Hotels link (https://www.google.com/travel/hotels/entity/…), a Google Maps link (google.com/maps/place/…) or an entity token (ChkI…). Optional.",
            "items": {
              "type": "string"
            }
          },
          "checkInDate": {
            "title": "Check-in date",
            "type": "string",
            "description": "Pick a date, or switch to a relative date for scheduled runs: \"30 days\" = 30 days after the run starts. Also accepted: \"2026-12-20\", \"tomorrow\", \"+14d\". Empty: 30 days from today. Must be today or later (up to ~500 days ahead)."
          },
          "checkOutDate": {
            "title": "Check-out date",
            "type": "string",
            "description": "Pick a date or a relative one (\"32 days\"). Prices are for the whole stay from check-in to check-out: 1 to 30 nights. Empty: check-in + 2 nights."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Adults in one room (1–12). Google prices one room for the whole party. Default 2.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One age (0–17) per child in the room, e.g. [5, 9] for two children. Google prices children by age. Optional; empty = no children."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Currency of every price, as a 3-letter code: USD, EUR, GBP, JPY, AUD, CAD, INR... Each row's currency field says which currency its prices are in. Default USD.",
            "default": "USD"
          },
          "maxResults": {
            "title": "Max hotels per destination",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many hotels for each destination (1–5,000). Default 20.",
            "default": 20
          },
          "includeOffers": {
            "title": "Every booking site's price (property page)",
            "type": "boolean",
            "description": "Load each hotel's property page: every booking site's nightly and total price (Booking.com, Expedia, Hotels.com, Agoda, the hotel's own site...) with links and free-cancellation dates, plus address, phone and description. +$1.50 per 1,000 hotels (hotel-details event).",
            "default": false
          },
          "calendarDays": {
            "title": "Price calendar: check-in dates",
            "minimum": 0,
            "maximum": 180,
            "type": "integer",
            "description": "Price the same stay for this many check-in dates in a row, starting at the check-in date: one row per hotel and date with the cheapest price and every site's price. 0 = off. $1 per 1,000 dates. Tip: use with Hotels or a small max.",
            "default": 0
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add guest reviews (Google and partner sites such as Tripadvisor) as review rows, up to the max below per hotel. $0.50 per 1,000 reviews.",
            "default": false
          },
          "maxReviewsPerHotel": {
            "title": "Max reviews per hotel",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Reviews per hotel when Include reviews is on (1–1,000).",
            "default": 20
          },
          "reviewsSort": {
            "title": "Reviews order",
            "enum": [
              "newest",
              "most_relevant",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "Order of the reviews: newest first, most relevant, highest or lowest rating first. Needs Include reviews.",
            "default": "newest"
          },
          "reviewSearch": {
            "title": "Reviews mentioning",
            "type": "string",
            "description": "Only reviews that mention this word or phrase, from Google's own review search (e.g. \"breakfast\", \"noise\", \"parking\"). Empty = all reviews. Needs Include reviews."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "lowest_price",
              "highest_rating",
              "most_reviewed"
            ],
            "type": "string",
            "description": "Order of the search results. Default: relevance (Google's own order).",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest nightly price, in the chosen currency, e.g. 100. Optional."
          },
          "maxPrice": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Highest nightly price, in the chosen currency, e.g. 250. Optional."
          },
          "hotelClass": {
            "title": "Hotel class (stars)",
            "type": "array",
            "description": "Keep only these star classes; pick one or more. Empty: all.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            }
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Only hotels rated at least 3.5, 4 or 4.5 out of 5. The odd property Google lets through below it is left out (free). Optional."
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Only hotels that have all of these (Google's own filter). Each row's amenities column lists what Google shows for the hotel. Optional.",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "free_breakfast",
                "free_parking",
                "parking",
                "pool",
                "indoor_pool",
                "outdoor_pool",
                "fitness_center",
                "spa",
                "restaurant",
                "bar",
                "room_service",
                "pet_friendly",
                "child_friendly",
                "beach_access",
                "air_conditioned",
                "all_inclusive",
                "wheelchair_accessible",
                "ev_charger"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Free breakfast",
                "Free parking",
                "Parking",
                "Pool",
                "Indoor pool",
                "Outdoor pool",
                "Fitness center",
                "Spa",
                "Restaurant",
                "Bar",
                "Room service",
                "Pet-friendly",
                "Kid-friendly",
                "Beach access",
                "Air-conditioned",
                "All-inclusive",
                "Wheelchair accessible",
                "EV charger"
              ]
            }
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only hotels with a free-cancellation rate for your dates. With Every booking site's price on, the sites' prices are their free-cancellation rates.",
            "default": false
          },
          "specialOffers": {
            "title": "Deals only",
            "type": "boolean",
            "description": "Only hotels Google marks as a deal for your dates (the deal field says e.g. \"20% less than usual\").",
            "default": false
          },
          "ecoCertified": {
            "title": "Eco-certified only",
            "type": "boolean",
            "description": "Only properties Google marks as eco-certified (independently certified for sustainability).",
            "default": false
          },
          "vacationRentals": {
            "title": "Vacation rentals instead of hotels",
            "type": "boolean",
            "description": "Search apartments, houses and villas instead of hotels; rows add guests, bedrooms and bathrooms. Use a place as the destination (\"Lisbon\").",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name (price changes)",
            "type": "string",
            "description": "Any name, e.g. \"lisbon-weekly\". Prices are remembered under it, and each hotel gets priceChangeStatus (new, changed, unchanged), previousPrice and priceChange. The same hotel, dates, guests and currency are compared. Optional."
          },
          "onlyChanged": {
            "title": "Only new hotels and changed prices",
            "type": "boolean",
            "description": "With a monitorName: deliver (and charge) only hotels that are new or whose price changed since the last run. A run where nothing changed costs $0.",
            "default": false
          },
          "minPriceChange": {
            "title": "Minimum price change",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Monitoring: a price that moved by less than this amount (in the run currency, per night) counts as unchanged, so Google cent-level jitter does not trigger changes or charges. Small moves add up: the comparison is with the last price reported as changed. 0 = report every cent.",
            "default": 1
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of names, descriptions and labels (Google's hl): en, de, fr, es, ja, zh-CN... Default en.",
            "default": "en"
          },
          "country": {
            "title": "Country (market)",
            "type": "string",
            "description": "Market as a two-letter code (Google's gl): us, gb, de... It is the searcher's country, not the destination. Which booking sites show and whether prices include taxes also follow the IP's country: use Proxy country for that. Default us.",
            "default": "us"
          },
          "proxyCountry": {
            "title": "Proxy country (local prices)",
            "type": "string",
            "description": "See prices as a visitor from this country does, e.g. GB or DE: local booking sites, and prices with taxes in most countries. Uses residential IPs (slower). Empty: fast datacenter IPs (mostly US, prices before taxes)."
          },
          "useResidentialProxy": {
            "title": "Use residential IPs",
            "type": "boolean",
            "description": "Start on residential IPs instead of datacenter ones. Not needed normally: the scraper switches to residential IPs by itself if Google refuses datacenter IPs.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}