{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Prices & Booking Sites",
    "description": "Google Hotels scraper: enter a city, hotel name or link and your dates. Get every hotel Google lists (700+ for big cities) with price per night, total with taxes, each booking site's price, deals, rating, reviews and photos; address and phone with site prices on. No login.",
    "version": "0.2",
    "x-build-id": "HpDCcKZeaydzQlKtJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-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/deepmine~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-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/deepmine~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-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": {
          "locations": {
            "title": "📍 Locations",
            "type": "array",
            "description": "Cities, neighbourhoods or areas, one per line, e.g. Paris or Manhattan, New York. Each location is its own Google Hotels search. Leave empty to price only the hotels below.",
            "items": {
              "type": "string"
            }
          },
          "checkInDate": {
            "title": "📅 Check-in date",
            "type": "string",
            "description": "Arrival date, e.g. 2026-11-10, or relative like 14 days (from today). Empty = tomorrow."
          },
          "checkOutDate": {
            "title": "📅 Check-out date",
            "type": "string",
            "description": "Departure date after the check-in date, e.g. 2026-11-12 or 16 days. Empty = one night."
          },
          "adults": {
            "title": "👥 Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Guests the prices are for, e.g. 2.",
            "default": 2
          },
          "maxHotelsPerLocation": {
            "title": "💯 Max hotels per location",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hotels to collect per location, e.g. 100. You pay per hotel. Google lists 700+ for a big city; the run stops when Google has no more.",
            "default": 20
          },
          "includeOffers": {
            "title": "🏷️ Prices from every booking site",
            "type": "boolean",
            "description": "Adds offers: each site's price per night and total for your dates (Booking.com, Expedia, Agoda, the hotel's own site...) with its booking link. Same price per hotel; runs take longer.",
            "default": false
          },
          "hotels": {
            "title": "🏨 Hotel names, links or IDs",
            "type": "array",
            "description": "Hotel names with their city (Hilton Paris Opera), Google Hotels links or IDs (start with Ch). One row per hotel, always with every booking site's price.",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "title": "💵 Currency",
            "type": "string",
            "description": "Currency for every price, as a three-letter code: USD, EUR, GBP, JPY...",
            "default": "USD"
          },
          "country": {
            "title": "🌍 Country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "AT",
              "CH",
              "FR",
              "BE",
              "NL",
              "LU",
              "ES",
              "PT",
              "IT",
              "GR",
              "TR",
              "PL",
              "CZ",
              "HU",
              "RO",
              "BG",
              "HR",
              "SE",
              "NO",
              "DK",
              "FI",
              "IS",
              "JP",
              "KR",
              "HK",
              "TW",
              "SG",
              "TH",
              "MY",
              "ID",
              "PH",
              "VN",
              "IN",
              "AE",
              "SA",
              "IL",
              "EG",
              "ZA",
              "MA",
              "MX",
              "BR",
              "AR",
              "CL",
              "CO",
              "PE"
            ],
            "type": "string",
            "description": "Where the visitor is. Changes which booking sites and offers Google shows.",
            "default": "US"
          },
          "language": {
            "title": "🗣️ Language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "sv",
              "da",
              "no",
              "fi",
              "pl",
              "cs",
              "tr",
              "el",
              "ru",
              "ja",
              "ko",
              "th",
              "id",
              "vi",
              "ar",
              "he",
              "hi"
            ],
            "type": "string",
            "description": "Language of Google's texts: deal notes, descriptions, review aspects.",
            "default": "en"
          },
          "mobilePrices": {
            "title": "📱 Mobile prices",
            "type": "boolean",
            "description": "Ask like a phone: Google then shows a few more booking sites and some member prices. The cheapest price is usually the same.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}