{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Prices, Ratings, Booking Offers",
    "description": "Google Hotels results for a city or hotel and your dates: price, total, taxes, rating, reviews, class, amenities, coordinates; $4.49 per 1,000 hotels. Each booking site price with free-cancellation deadline $0.90 per 1,000 offers. Many dates per run, free error rows.",
    "version": "0.1",
    "x-build-id": "sg5jZdETFcz9GALY7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/arcadium~google-hotels/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-arcadium-google-hotels",
        "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/arcadium~google-hotels/runs": {
      "post": {
        "operationId": "runs-sync-arcadium-google-hotels",
        "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/arcadium~google-hotels/run-sync": {
      "post": {
        "operationId": "run-sync-arcadium-google-hotels",
        "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": "Places to search, for example \"Paris\", \"Times Square New York\" or \"resorts in Cancun\". A plain place name is searched as \"hotels in <place>\". Each location returns up to 'Max hotels' hotels per check-in date, with Google's lowest price, rating, class, amenities and coordinates.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Hotels (links, tokens or names)",
            "type": "array",
            "description": "Specific hotels: a Google Hotels link such as https://www.google.com/travel/hotels/entity/ChcIzp-H4rLs0eRnGgsvZy8xdGYxbjN6OBAB, the entity token alone (the Ch... part, also in the entityId field of any row), or a name with the city such as \"Ritz Paris\". Each hotel returns its row plus one offer row per booking site (Booking.com, Expedia, the official site, ...) for every date.",
            "items": {
              "type": "string"
            }
          },
          "maxHotels": {
            "title": "Max hotels per location and date",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hotels to return for each location and check-in date, 1 to 500, for example 50. Google lists about 20 per page; sort and filters are applied by Google before this cap."
          },
          "includeOffers": {
            "title": "Booking-site prices for location results",
            "type": "boolean",
            "description": "Also read every booking site's price for each hotel found by a location search: one extra request per hotel, and one offer row per site (about 10-30 per hotel). Off by default; hotel lookups always include offers."
          },
          "maxOffersPerHotel": {
            "title": "Max offers per hotel",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only the N cheapest booking-site offers per hotel and stay, for example 5. 0 = all offers. A cost cap for offer rows.",
            "default": 0
          },
          "checkInDates": {
            "title": "Check-in dates",
            "type": "array",
            "description": "Check-in dates as YYYY-MM-DD, or relative to today such as \"+30d\", \"6 weeks\" or \"tomorrow\". Example: [\"2026-12-10\", \"+45d\"]. Up to a year ahead. If this and the range below are empty, one stay 30 days from now is used.",
            "items": {
              "type": "string"
            }
          },
          "nights": {
            "title": "Nights",
            "type": "array",
            "description": "Lengths of stay in nights, for example [1, 3, 7]. Each value gives its own row per hotel and check-in date. 1 to 30 nights; default [1]."
          },
          "checkInFrom": {
            "title": "Check-in range: from",
            "type": "string",
            "description": "Start of a range of check-in dates (YYYY-MM-DD or +Nd), for example \"2026-12-01\". With 'to' and 'step' it adds one check-in date every N days, on top of the dates above."
          },
          "checkInTo": {
            "title": "Check-in range: to",
            "type": "string",
            "description": "Last check-in date of the range (YYYY-MM-DD or +Nd), for example \"2026-12-31\". Up to 120 dates in total."
          },
          "checkInStepDays": {
            "title": "Check-in range: step (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Days between check-in dates inside the range, for example 7 for weekly. 1 = every day.",
            "default": 1
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Adult guests in one room, 1 to 10, for example 2. Google prices one room for the whole party.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children ages",
            "type": "array",
            "description": "Age (0-17) of each child in the room, for example [5, 9]. Leave empty for none."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Three-letter ISO code for every price in the run, for example USD, EUR, GBP or JPY. Google converts the prices.",
            "default": "USD"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "lowest_price",
              "highest_rating",
              "most_reviewed"
            ],
            "type": "string",
            "description": "Order of location results: relevance (Google's default), lowest_price, highest_rating or most_reviewed.",
            "default": "relevance"
          },
          "hotelClass": {
            "title": "Hotel class",
            "type": "array",
            "description": "Star classes to keep, for example [\"4\", \"5\"]. Empty = any class.",
            "items": {
              "type": "string",
              "enum": [
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "2-star",
                "3-star",
                "4-star",
                "5-star"
              ]
            }
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "any",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Lowest Google guest rating (out of 5): 3.5, 4.0 or 4.5. Google offers only these steps.",
            "default": "any"
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only hotels with a free-cancellation rate for the dates; Google then shows that refundable rate as the price.",
            "default": false
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest nightly price in the run currency, for example 80. Empty = no minimum."
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "Highest nightly price in the run currency, for example 250. Empty = no maximum."
          },
          "amenities": {
            "title": "Amenities",
            "type": "array",
            "description": "Only hotels that have all of these, for example [\"pool\", \"free_breakfast\"].",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "free_breakfast",
                "free_parking",
                "parking",
                "pool",
                "indoor_pool",
                "outdoor_pool",
                "spa",
                "fitness_center",
                "restaurant",
                "bar",
                "room_service",
                "kid_friendly",
                "pet_friendly",
                "air_conditioning",
                "all_inclusive",
                "beach_access",
                "wheelchair_accessible",
                "ev_charger"
              ],
              "enumTitles": [
                "Free Wi-Fi",
                "Free breakfast",
                "Free parking",
                "Parking",
                "Pool",
                "Indoor pool",
                "Outdoor pool",
                "Spa",
                "Fitness center",
                "Restaurant",
                "Bar",
                "Room service",
                "Kid-friendly",
                "Pet-friendly",
                "Air conditioning",
                "All-inclusive available",
                "Beach access",
                "Wheelchair accessible",
                "EV charger"
              ]
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language (hl), for example en, de, fr or pt-BR. Sets the language of descriptions and deal labels."
          },
          "country": {
            "title": "Market country",
            "type": "string",
            "description": "Country of the searcher (gl), two letters, for example us, gb or de. Not the destination: it can change which booking sites appear and whether prices include taxes."
          },
          "includeErrorRows": {
            "title": "Include error rows",
            "type": "boolean",
            "description": "Add a free row with rowType \"error\" for every location, hotel or date that could not be read, so you can tell \"not found\" from \"blocked\".",
            "default": true
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Advanced. Retries for a failed or rate-limited request, 0 to 10, for example 4. Each retry waits 1 to 6 seconds.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Advanced. The actor uses Apify's datacenter proxy by default. Your own proxy URLs are honoured; Apify proxy groups are ignored to keep the price low."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}