{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels & Vacation Scraper  - Most Comprehensive",
    "description": "🔥 ~$0.1/1K hotels 🔥 Scrape Google Hotels and Vacation Rentals with full filter support - price, hotel class, guest rating, amenities, property types, offers, eco-certified. Includes batch searches, booking links, and paginated reviews.",
    "version": "0.1",
    "x-build-id": "bXsn03YXJ8OLE2zMh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kaix~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kaix-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/kaix~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kaix-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/kaix~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kaix-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": {
          "hotelUrls": {
            "title": "Hotel URLs",
            "minItems": 1,
            "type": "array",
            "description": "Google Hotels entity URLs to look up directly. Property details are required; gallery photos are attempted and can be partial.",
            "items": {
              "type": "string"
            }
          },
          "searches": {
            "title": "Searches",
            "minItems": 1,
            "type": "array",
            "description": "List of location searches to perform. Required unless hotelUrls is provided.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "location": {
                  "type": "string",
                  "title": "Location",
                  "description": "City, region, landmark, or destination to search.",
                  "minLength": 1
                },
                "checkInDate": {
                  "type": "string",
                  "title": "Check-in date",
                  "description": "First night of the stay in YYYY-MM-DD format.",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                },
                "checkOutDate": {
                  "type": "string",
                  "title": "Check-out date",
                  "description": "Departure date in YYYY-MM-DD format, after check-in.",
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                }
              },
              "required": [
                "location",
                "checkInDate",
                "checkOutDate"
              ]
            }
          },
          "type": {
            "title": "Search Type",
            "enum": [
              "hotels",
              "vacation_rentals",
              "both"
            ],
            "type": "string",
            "description": "What type of properties to search for. Filters and non-relevance sorting currently require Hotels only.",
            "default": "both"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Number of adult guests for location searches",
            "default": 2
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 9,
            "type": "integer",
            "description": "Number of child guests for location searches",
            "default": 0
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Number of rooms for location searches",
            "default": 1
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "minLength": 3,
            "maxLength": 3,
            "type": "string",
            "description": "ISO 4217 currency code for prices (e.g. USD, EUR, GBP, VND)",
            "default": "USD"
          },
          "minPrice": {
            "title": "Minimum Price",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum price per night in the selected currency"
          },
          "maxPrice": {
            "title": "Maximum Price",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum price per night in the selected currency"
          },
          "hotelClass": {
            "title": "Hotel Class",
            "type": "array",
            "description": "Star levels to filter by",
            "items": {
              "type": "integer",
              "minimum": 2,
              "maximum": 5
            }
          },
          "guestRating": {
            "title": "Guest Rating",
            "enum": [
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Minimum guest rating"
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Filter by amenities",
            "items": {
              "type": "string",
              "enum": [
                "Free Wi-Fi",
                "Free breakfast",
                "Restaurant",
                "Bar",
                "Kid-friendly",
                "Pet-friendly",
                "Free parking",
                "Parking",
                "EV charger",
                "Room service",
                "Fitness center",
                "Spa",
                "Pool",
                "Indoor pool",
                "Outdoor pool",
                "Air-conditioned",
                "Wheelchair accessible",
                "Beach access",
                "All-inclusive available"
              ]
            }
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "price_low",
              "price_high",
              "rating"
            ],
            "type": "string",
            "description": "How to sort search results",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum results per location and property type",
            "default": 50
          },
          "includeDetails": {
            "title": "Include Details",
            "type": "boolean",
            "description": "Add booking links, amenities, descriptions, and other property details to location-search results. URL lookup requires property details before it can return a record.",
            "default": false
          },
          "includeReviews": {
            "title": "Include Reviews",
            "type": "boolean",
            "description": "Add available reviews to each returned property.",
            "default": false
          },
          "maxReviewsPerHotel": {
            "title": "Max Reviews per Hotel",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reviews per property. Set to 0 to continue until no more reviews are available.",
            "default": 40
          },
          "reviewSort": {
            "title": "Review Sort",
            "enum": [
              "most_helpful",
              "most_recent",
              "highest_score",
              "lowest_score"
            ],
            "type": "string",
            "description": "How to order collected reviews.",
            "default": "most_helpful"
          },
          "reviewSearch": {
            "title": "Review Search",
            "minLength": 1,
            "type": "string",
            "description": "Return reviews matching this text."
          },
          "maxPhotosPerHotel": {
            "title": "Photos per Lookup",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum photos for each hotel URL lookup. Set to 0 to continue until no more photos are available.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Connection Settings",
            "type": "object",
            "description": "Optional connection routing settings. Apify Proxy is enabled by default.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}