{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper | OTA Prices, Price Calendar & Tracking",
    "description": "Scrape Google Hotels for any city and dates: nightly and total prices, every booking site's price (official site, Booking.com, Expedia, Agoda, Hotels.com) with booking links, star class, ratings, reviews, address and phone. Price calendar for up to 60 check-in dates plus price-change alerts.",
    "version": "0.1",
    "x-build-id": "Icoha8E4aDcbgXET1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corvuslab~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corvuslab-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/corvuslab~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-corvuslab-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/corvuslab~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-corvuslab-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": {
          "searchType": {
            "title": "🏠 Search type",
            "enum": [
              "hotels",
              "vacationRentals"
            ],
            "type": "string",
            "description": "Hotels (Google Hotels' main results) or Vacation rentals (apartments, houses, villas and other entire places, with sleeps, bedrooms, bathrooms and floor area).",
            "default": "hotels"
          },
          "locations": {
            "title": "📍 Locations",
            "type": "array",
            "description": "Cities, neighborhoods or landmarks to search, one per line (for example Paris, Shibuya Tokyo, Times Square). Each entry is searched as 'hotels in <location>'. A full search such as 'boutique hotels near the Louvre' is used as written. Leave empty to only look up the hotels below.",
            "items": {
              "type": "string"
            }
          },
          "hotelUrls": {
            "title": "🏨 Hotels (names or links)",
            "type": "array",
            "description": "Optional. Specific hotels, one per line: a hotel's name with its city (Hotel Lutetia Paris), a Google Maps link or share link, a Google Hotels link, or a Google place ID. Each returns that hotel's price from every booking site for your dates — ideal for tracking your own or a competitor's rates.",
            "items": {
              "type": "string"
            }
          },
          "checkInDate": {
            "title": "📅 Check-in date",
            "type": "string",
            "description": "Check-in date as YYYY-MM-DD, or a number of days from today such as +30 (useful for scheduled runs). Empty = 14 days from today."
          },
          "checkOutDate": {
            "title": "📅 Check-out date",
            "type": "string",
            "description": "Check-out date as YYYY-MM-DD, or days from today such as +32. Empty = 2 nights after check-in. Stays of up to 30 nights."
          },
          "checkInDays": {
            "title": "🗓️ Check-in dates to price",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Price the same stay for this many consecutive check-in dates, starting at the check-in date (1 = only the check-in date). 14 gives two weeks of nightly prices for every hotel — a price calendar. Up to 60.",
            "default": 1
          },
          "adults": {
            "title": "👥 Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Number of adult guests.",
            "default": 2
          },
          "children": {
            "title": "🧒 Children",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Number of children in the party (0–8). Google prices the whole party as one booking, so prices and the list of booking sites can change with children. Give their ages below.",
            "default": 0
          },
          "childrenAges": {
            "title": "🎂 Children's ages",
            "type": "array",
            "description": "One age per child, 0–17 (for example 4 and 9). Ages alone are enough: three ages means three children. A child without an age is priced as 8 years old.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "title": "💱 Currency",
            "type": "string",
            "description": "Three-letter currency code for every price, for example USD, EUR, GBP, JPY, INR. Any currency Google Hotels offers.",
            "default": "USD"
          },
          "maxResults": {
            "title": "🔢 Max hotels per location",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most hotels to return for each location and check-in date. Google lists thousands of hotels for a large city; raise this up to 5,000.",
            "default": 20
          },
          "sortBy": {
            "title": "↕️ Sort by",
            "enum": [
              "relevance",
              "lowestPrice",
              "highestRating",
              "mostReviewed"
            ],
            "type": "string",
            "description": "The order Google returns places in: its own relevance ranking (default), lowest price first, highest rating first (Google's rating order, which weighs how many reviews a place has) or most reviewed first. With a limit on results, this decides which places you get.",
            "default": "relevance"
          },
          "includeBookingSources": {
            "title": "💰 Include every booking site's price",
            "type": "boolean",
            "description": "Add the full price list for each hotel: the official site, Booking.com, Expedia, Agoda, Hotels.com and every other site Google shows, each with its nightly and total price, free cancellation and breakfast terms, booking link and whether it is sponsored. Also adds room-by-room rates from the featured sites, and the address, phone and Google place ID. Slower: one extra lookup per hotel.",
            "default": false
          },
          "includeReviews": {
            "title": "📝 Include guest reviews",
            "type": "boolean",
            "description": "Also collect each hotel's guest reviews: text, rating, room/service/location scores, trip type, the owner's reply and photos, from Google and partner sites such as Tripadvisor and Trip.com. Saved to a separate Reviews dataset (Output tab → Reviews), charged per review. Each hotel's reviews are collected once per run.",
            "default": false
          },
          "maxReviewsPerHotel": {
            "title": "🔢 Max reviews per hotel",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most reviews to collect for each hotel when reviews are on. Keeps the cost predictable: 20 hotels × 50 reviews = up to 1,000 reviews. Up to 5,000.",
            "default": 50
          },
          "reviewsSort": {
            "title": "↕️ Review order",
            "enum": [
              "mostHelpful",
              "newest",
              "highestRating",
              "lowestRating"
            ],
            "type": "string",
            "description": "Which reviews come first. Newest first suits monitoring; the default is Google's own Most helpful order. With price tracking on, reviews are always read newest first and only new ones are returned.",
            "default": "mostHelpful"
          },
          "hotelClass": {
            "title": "⭐ Hotel class",
            "type": "array",
            "description": "Only hotels with these star classes. Hotels without an official star class are left out when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            }
          },
          "minPrice": {
            "title": "⬇️ Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Only hotels whose nightly price (with taxes and fees) is at least this much, in your currency."
          },
          "maxPrice": {
            "title": "⬆️ Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Only hotels whose nightly price (with taxes and fees) is at most this much, in your currency."
          },
          "minRating": {
            "title": "👍 Minimum guest rating",
            "enum": [
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Only hotels with at least this Google guest rating (out of 5)."
          },
          "amenities": {
            "title": "🏊 Amenities",
            "type": "array",
            "description": "Only hotels that have every amenity you pick. Hotels Google lists no amenities for are left out when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "freeWifi",
                "wifi",
                "freeBreakfast",
                "breakfast",
                "freeParking",
                "parking",
                "pool",
                "indoorPool",
                "outdoorPool",
                "spa",
                "hotTub",
                "fitnessCenter",
                "airConditioning",
                "petFriendly",
                "kidFriendly",
                "restaurant",
                "bar",
                "roomService",
                "airportShuttle",
                "beachAccess",
                "allInclusive",
                "accessible",
                "businessCenter",
                "laundry",
                "smokeFree",
                "kitchen",
                "golf"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Wi-Fi (free or paid)",
                "Free breakfast",
                "Breakfast (free or paid)",
                "Free parking",
                "Parking (free or paid)",
                "Pool (any)",
                "Indoor pool",
                "Outdoor pool",
                "Spa",
                "Hot tub",
                "Fitness center",
                "Air conditioning",
                "Pet-friendly",
                "Kid-friendly",
                "Restaurant",
                "Bar",
                "Room service",
                "Airport shuttle",
                "Beach access",
                "All-inclusive",
                "Wheelchair accessible",
                "Business center",
                "Laundry service",
                "Smoke-free",
                "Kitchen",
                "Golf"
              ]
            }
          },
          "freeCancellationOnly": {
            "title": "↩️ Free cancellation only",
            "type": "boolean",
            "description": "Only hotels with at least one free-cancellation offer for your dates. Each hotel is looked up to check, so this also adds every booking site's price and the room-by-room rates.",
            "default": false
          },
          "propertyTypes": {
            "title": "🏨 Property types",
            "type": "array",
            "description": "Hotel searches only: keep only these kinds of property, by Google's own category.",
            "items": {
              "type": "string",
              "enum": [
                "hotel",
                "resort",
                "hostel",
                "bedAndBreakfast",
                "guestHouse",
                "motel",
                "apartmentHotel",
                "vacationRental"
              ],
              "enumTitles": [
                "Hotel",
                "Resort",
                "Hostel",
                "Bed & breakfast",
                "Guest house / inn",
                "Motel",
                "Apartment hotel / serviced apartment",
                "Vacation rental"
              ]
            }
          },
          "minBedrooms": {
            "title": "🛏️ Minimum bedrooms",
            "minimum": 1,
            "type": "integer",
            "description": "Vacation rentals only: at least this many bedrooms."
          },
          "minBathrooms": {
            "title": "🛁 Minimum bathrooms",
            "minimum": 1,
            "type": "integer",
            "description": "Vacation rentals only: at least this many bathrooms."
          },
          "incrementalMode": {
            "title": "♻️ Track price changes",
            "type": "boolean",
            "description": "Remember each hotel's price for each stay. Later runs mark records NEW or UPDATED (price changed), add previousPricePerNight and priceChange, and skip hotels whose price did not change — those are not charged. With guest reviews on, each run also returns only reviews new since the last run.",
            "default": false
          },
          "stateKey": {
            "title": "🗝️ Tracker name",
            "type": "string",
            "description": "Optional name for the price history, so several schedules can share or separate it. Empty = derived from your locations, hotels and filters."
          },
          "emitUnchanged": {
            "title": "🔁 Include unchanged prices",
            "type": "boolean",
            "description": "Also return hotels whose price did not change (marked UNCHANGED, charged as results).",
            "default": false
          },
          "telegramToken": {
            "title": "💬 Telegram bot token",
            "type": "string",
            "description": "Bot token from @BotFather."
          },
          "telegramChatId": {
            "title": "🆔 Telegram chat ID",
            "type": "string",
            "description": "Chat or channel ID, e.g. \"-100123456789\" or \"@yourchannel\"."
          },
          "slackWebhookUrl": {
            "title": "💼 Slack webhook URL",
            "type": "string",
            "description": "Slack incoming-webhook URL."
          },
          "discordWebhookUrl": {
            "title": "🎮 Discord webhook URL",
            "type": "string",
            "description": "Discord incoming-webhook URL."
          },
          "webhookUrl": {
            "title": "🪝 Webhook URL",
            "type": "string",
            "description": "Any HTTPS endpoint. Receives a JSON POST with the hotels — works with n8n, Make and Zapier."
          },
          "webhookHeaders": {
            "title": "🧾 Webhook headers",
            "type": "object",
            "description": "Extra headers for the webhook request, e.g. {\"Authorization\": \"Bearer xyz\"}."
          },
          "notificationLimit": {
            "title": "🔢 Hotels per notification",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many hotels to include in each notification message.",
            "default": 5
          },
          "languageCode": {
            "title": "🗣️ Language",
            "type": "string",
            "description": "Language of descriptions and labels, as a two-letter code (en, fr, de, es, ja...).",
            "default": "en"
          },
          "countryCode": {
            "title": "🌍 Country",
            "type": "string",
            "description": "Two-letter country of the searcher (us, gb, de, in...). Booking sites and prices can differ by country.",
            "default": "us"
          },
          "excludeEmptyFields": {
            "title": "🧹 Leave out empty fields",
            "type": "boolean",
            "description": "Drop fields that have no value from each record, for smaller exports.",
            "default": false
          },
          "requestTimeoutSecs": {
            "title": "⏱️ Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "How long to wait for each answer from Google before retrying.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy configuration",
            "type": "object",
            "description": "Optional. The actor works without a proxy; set one only if your runs are refused.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}