{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Hotel Prices, OTA Rates & Calendar",
    "description": "Google Hotels scraper for hotel prices in any city and dates: nightly and total price, deals, stars, rating and coordinates. Get every booking site's price (official site, Booking.com, Expedia and more) with rooms, a rate-parity check and a nightly price calendar up to 1 year ahead.",
    "version": "1.0",
    "x-build-id": "T7MGtBbezh9OXggJE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vncntlabs~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vncntlabs-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/vncntlabs~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-vncntlabs-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/vncntlabs~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-vncntlabs-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": {
          "destinations": {
            "title": "Destinations",
            "type": "array",
            "description": "City, region or country, one per line (up to 100): <code>Paris</code>, <code>Austin, TX</code>, <code>Bali</code>. Put a landmark or neighborhood in front of the city to search around it: <code>Times Square, New York, NY</code>, <code>Eiffel Tower, Paris</code>. Every destination is searched for every check-in date.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Specific hotels (rate check / parity)",
            "type": "array",
            "description": "Optional. Hotels to price directly, one per line (up to 500): <code>Hotel name, City</code> (e.g. <code>Hilton Austin, Austin, TX</code>), a Google Hotels URL, or a hotel ID from a previous run (<code>hotelId</code>). Returns every booking site's price, rooms and the rate-parity check for each check-in date. Tip: IDs and URLs skip the name lookup (cheaper).",
            "items": {
              "type": "string"
            }
          },
          "checkInDates": {
            "title": "Check-in dates",
            "type": "array",
            "description": "One per line (up to 30): a date <code>2026-12-18</code> or days from today <code>+30</code> (relative dates keep scheduled runs rolling forward). Rates are available up to about 330 days ahead.",
            "default": [
              "+30"
            ],
            "items": {
              "type": "string"
            }
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Length of stay. Check-out = check-in + nights. totalPrice = nightly price x nights.",
            "default": 2
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Guests per room (adults + children up to 6).",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "Optional, e.g. <code>[8, 12]</code> for two children aged 8 and 12.",
            "default": []
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "3-letter code, e.g. USD, EUR, GBP, INR, JPY.",
            "default": "USD"
          },
          "maxHotelsPerSearch": {
            "title": "Max hotels per search",
            "minimum": 1,
            "maximum": 150,
            "type": "integer",
            "description": "Hotels per destination and date (Google's order). Up to 150.",
            "default": 20
          },
          "detailsForTopHotels": {
            "title": "Booking-site prices for the top N hotels",
            "minimum": 0,
            "maximum": 150,
            "type": "integer",
            "description": "For the first N hotels of each search, also fetch every booking site's price (official site, Booking.com, Expedia, Agoda and more) with room offers and free-cancellation dates, the rate-parity check, address, phone, review breakdown and location scores. Charged per hotel (hotel-details).",
            "default": 0
          },
          "priceCalendar": {
            "title": "Nightly price calendar",
            "enum": [
              "off",
              "month",
              "three_months",
              "six_months",
              "year"
            ],
            "type": "string",
            "description": "For hotels with booking-site prices (top N or specific hotels): the lowest nightly price for every check-in date in the range, with cheapest/most expensive dates. Charged once per hotel (price-calendar).",
            "default": "off"
          },
          "calendarRows": {
            "title": "One row per calendar date",
            "type": "boolean",
            "description": "Also output each calendar date as its own row (easy charts and spreadsheets; free).",
            "default": false
          },
          "includeRoomOffers": {
            "title": "Include room offers",
            "type": "boolean",
            "description": "Room types and prices per booking site (up to 20 each).",
            "default": true
          },
          "includeImages": {
            "title": "All photos",
            "type": "boolean",
            "description": "All overview photo URLs (otherwise only the main photo).",
            "default": false
          },
          "hotelClass": {
            "title": "Hotel class",
            "type": "array",
            "description": "Only these star ratings.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            }
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "any",
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Google guest rating.",
            "default": "any"
          },
          "minPrice": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the selected currency."
          },
          "maxPrice": {
            "title": "Max price per night",
            "minimum": 1,
            "type": "integer",
            "description": "In the selected currency."
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only hotels offering free cancellation.",
            "default": false
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Hotels must have all selected amenities.",
            "items": {
              "type": "string",
              "enum": [
                "air_conditioning",
                "all_inclusive_available",
                "bar",
                "free_breakfast",
                "fitness_center",
                "kid_friendly",
                "free_parking",
                "pets_allowed",
                "pool",
                "restaurant",
                "room_service",
                "spa",
                "free_wifi",
                "parking",
                "indoor_pool",
                "outdoor_pool",
                "wheelchair_accessible",
                "beach_access"
              ],
              "enumTitles": [
                "Air conditioning",
                "All inclusive available",
                "Bar",
                "Free breakfast",
                "Fitness center",
                "Kid friendly",
                "Free parking",
                "Pets allowed",
                "Pool",
                "Restaurant",
                "Room service",
                "Spa",
                "Free Wi-Fi",
                "Parking",
                "Indoor pool",
                "Outdoor pool",
                "Wheelchair accessible",
                "Beach access"
              ]
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "lowest_price",
              "highest_rating",
              "most_reviewed"
            ],
            "type": "string",
            "description": "Google Hotels sort order.",
            "default": "relevance"
          },
          "vacationRentals": {
            "title": "Vacation rentals instead of hotels",
            "type": "boolean",
            "description": "Search vacation rentals (houses, apartments).",
            "default": false
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language code (en, de, fr, es, ja...).",
            "default": "en"
          },
          "defaultCountry": {
            "title": "Country for places not in our list",
            "type": "string",
            "description": "A destination we can't match to a known city/region (e.g. <code>Maui</code>) is searched as text within this country. Tip: add the state or country after a comma instead (<code>Maui, Hawaii</code>).",
            "default": "United States"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}