{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper - Google Travel Hotel Prices & OTAs",
    "description": "Google Travel hotel prices for any city or hotel list: lowest nightly rate, every OTA offer (Booking.com, Expedia, Agoda, Trip.com, official site), price calendar across many check-in dates, typical price range and hotel details. Fast, no browser.",
    "version": "1.0",
    "x-build-id": "nVzCaRS8NOrAXWng6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kamerozkan~google-hotels-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kamerozkan-google-hotels-prices",
        "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/kamerozkan~google-hotels-prices/runs": {
      "post": {
        "operationId": "runs-sync-kamerozkan-google-hotels-prices",
        "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/kamerozkan~google-hotels-prices/run-sync": {
      "post": {
        "operationId": "run-sync-kamerozkan-google-hotels-prices",
        "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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "What you would type into Google Hotels, e.g. 'hotels in Istanbul', 'hotels near Eiffel Tower', '5 star hotels in Dubai Marina'. One row per hotel per check-in date.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Specific hotels",
            "type": "array",
            "description": "Track specific hotels (e.g. your competitive set). Accepts a hotel name with city ('Hilton Istanbul Bomonti'), a Google Hotels URL, or a Google hotel ID (starts with 'Ch...', returned in the hotelId output field).",
            "items": {
              "type": "string"
            }
          },
          "maxHotelsPerSearch": {
            "title": "Max hotels per search query",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many hotels to collect for each search query and date (Google returns ~20 per page; the Actor paginates automatically).",
            "default": 20
          },
          "minHotelClass": {
            "title": "Minimum hotel class (stars)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only hotels with at least this many stars, e.g. 4 for 4 and 5 star hotels. 0 = no filter. Applies to search queries; filtered-out hotels are not charged.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum guest rating",
            "type": "string",
            "description": "Keep only hotels rated at least this on Google (1 to 5), e.g. 4.5. Empty = no filter."
          },
          "minPricePerNight": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the selected currency, based on the lowest price in the search results. 0 = no filter.",
            "default": 0
          },
          "maxPricePerNight": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the selected currency, based on the lowest price in the search results. 0 = no filter. Hotels without a price are skipped when a price filter is set.",
            "default": 0
          },
          "checkInDate": {
            "title": "Check-in date",
            "type": "string",
            "description": "First check-in date. Absolute (2026-12-20) or relative (+14 days, 2 weeks, tomorrow). Relative dates are ideal for scheduled runs.",
            "default": "+14 days"
          },
          "nights": {
            "title": "Nights (length of stay)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Length of stay for every check-in date.",
            "default": 1
          },
          "numberOfDates": {
            "title": "Number of check-in dates (price calendar)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Scrape prices for this many check-in dates starting from the check-in date. Example: 30 gives you a 30-day price calendar for every hotel.",
            "default": 1
          },
          "dateStep": {
            "title": "Days between check-in dates",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "1 = every day, 7 = same weekday every week.",
            "default": 1
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of adult guests. Prices are for one room.",
            "default": 2
          },
          "includeOtaOffers": {
            "title": "Include all OTA offers",
            "type": "boolean",
            "description": "Fetch every booking offer for each hotel (Booking.com, Expedia, Hotels.com, Agoda, Trip.com, official site...) with nightly and total prices, booking links, typical price range and tax breakdown. Turn off for a cheaper, faster run that returns only the lowest price from the search results.",
            "default": true
          },
          "includeRoomTypes": {
            "title": "Include room types",
            "type": "boolean",
            "description": "Adds room-level prices (e.g. 'Deluxe Double Room') from featured providers. Requires 'Include all OTA offers'.",
            "default": false
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "TRY",
              "AED",
              "SAR",
              "AUD",
              "CAD",
              "CHF",
              "JPY",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "CZK",
              "HUF",
              "ZAR",
              "SGD",
              "HKD",
              "KRW",
              "THB",
              "IDR",
              "MYR",
              "NZD",
              "ILS",
              "EGP",
              "QAR",
              "KWD"
            ],
            "type": "string",
            "description": "Currency for all prices.",
            "default": "USD"
          },
          "country": {
            "title": "Country (point of sale)",
            "type": "string",
            "description": "Two-letter country code Google uses as the point of sale (us, gb, de, tr...). Prices and the list of booking sites can differ by country.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language for hotel descriptions and room names, e.g. en-US, de, tr, fr.",
            "default": "en-US"
          },
          "maxItems": {
            "title": "Max results (0 = unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many rows. Useful to cap costs.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel requests to Google. Higher is faster; lower it if you see many retries.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Datacenter proxies work in most cases. Switch to residential if you see many failed requests.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}