{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper - Prices & Offers, No Login",
    "description": "Get Google Hotels prices by city or hotel: nightly and total price, every booking site's offer with link, rating, reviews, stars, amenities, address, phone and coordinates. Dates, guests, filters, date sweep. No login.",
    "version": "0.1",
    "x-build-id": "pskD8BrdEz23AQBzn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-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/cliqtomedia~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-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/cliqtomedia~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-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 or hotel names",
            "type": "array",
            "description": "What you would type into Google Hotels: a city, area or hotel name, e.g. Bangkok, Paris Montmartre, Hilton Tokyo. One search per value (up to 50).",
            "items": {
              "type": "string"
            }
          },
          "hotelUrls": {
            "title": "Google Hotels links",
            "type": "array",
            "description": "Links to hotel pages on Google Hotels (https://www.google.com/travel/hotels/entity/...) or hotel IDs from earlier results. One row per hotel with all offers (up to 100).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "checkIn": {
            "title": "Check-in",
            "type": "string",
            "description": "YYYY-MM-DD, or +N for N days from today (e.g. +30). Default: +30. Up to about 330 days ahead."
          },
          "checkOut": {
            "title": "Check-out",
            "type": "string",
            "description": "YYYY-MM-DD or +N. Default: the day after check-in. Up to 30 nights."
          },
          "sweepDays": {
            "title": "Check-in days to compare",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Repeat the search for this many consecutive check-in days (1–30), keeping the same length of stay, to see how prices change by date. Each day is a separate search with its own rows.",
            "default": 1
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Adults, 1–10. Prices depend on the number of guests.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "Age of each child, 0–17, e.g. [5, 9]. Up to 6 children."
          },
          "maxItems": {
            "title": "Max hotels in total",
            "minimum": 1,
            "maximum": 1400,
            "type": "integer",
            "description": "Most hotel rows for the whole run, across all places, dates and links (1–1400). Empty = 20. You pay per hotel row. The run stops cleanly when it reaches this number. With offers a hotel takes about 1.2–1.8 seconds: raise the run timeout above 300 seconds for more than about 100 hotels."
          },
          "maxItemsPerSearch": {
            "title": "Max hotels per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Optional: most hotels for each place and check-in date (1–500), so one big city does not use up the whole total. Empty = up to the total."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "lowest_price",
              "highest_rating",
              "most_reviewed"
            ],
            "type": "string",
            "description": "Order Google uses for the list.",
            "default": "relevance"
          },
          "hotelClass": {
            "title": "Hotel class (stars)",
            "type": "array",
            "description": "Only hotels with these star classes. Empty = any. Google applies this filter.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "minRating": {
            "title": "Guest rating",
            "enum": [
              "any",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Only hotels with at least this Google rating. Google applies this filter.",
            "default": "any"
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only places Google marks with free cancellation for these dates.",
            "default": false
          },
          "minPrice": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Skip hotels cheaper than this per night, in your currency. Hotels without a price are skipped when a price filter is set. Skipped hotels are free."
          },
          "maxPrice": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Skip hotels above this price per night, in your currency. Skipped hotels are free."
          },
          "amenities": {
            "title": "Must have amenities",
            "type": "array",
            "description": "Only hotels whose Google listing has all of these amenities. Skipped hotels are free.",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "wifi",
                "pool",
                "outdoor_pool",
                "parking",
                "free_parking",
                "breakfast",
                "free_breakfast",
                "air_conditioning",
                "fitness_center",
                "restaurant",
                "bar",
                "spa",
                "pet_friendly",
                "kid_friendly",
                "airport_shuttle",
                "room_service",
                "hot_tub",
                "laundry",
                "accessible",
                "smoke_free",
                "kitchen"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Wi-Fi (free or paid)",
                "Pool",
                "Outdoor pool",
                "Parking (free or paid)",
                "Free parking",
                "Breakfast (free or paid)",
                "Free breakfast",
                "Air conditioning",
                "Fitness center",
                "Restaurant",
                "Bar",
                "Spa",
                "Pet-friendly",
                "Kid-friendly",
                "Airport shuttle",
                "Room service",
                "Hot tub",
                "Laundry",
                "Accessible",
                "Smoke-free",
                "Kitchen"
              ]
            }
          },
          "includeOffers": {
            "title": "Read offers of every booking site",
            "type": "boolean",
            "description": "Open each hotel's prices page for all provider offers (Booking.com, Agoda, Expedia, the hotel's own site...) with links, total price and free cancellation dates, plus address and phone. Off = faster run with the list price only.",
            "default": true
          },
          "maxOffersPerHotel": {
            "title": "Max offers per hotel",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only the first N offers per hotel (0 = all). offersCount still shows the full count.",
            "default": 0
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "3-letter ISO code for prices, e.g. USD, EUR, THB.",
            "default": "USD"
          },
          "country": {
            "title": "Country (Google region)",
            "type": "string",
            "description": "2-letter country code Google uses for the market, e.g. us, gb, de. Some sites show different prices by country.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of names and texts, e.g. en, de, pt-BR.",
            "default": "en"
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}