{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Hotels Scraper: Prices, OTA Rates & Hotel Data",
    "description": "Google Hotels prices for any city, landmark or hotel and dates: nightly and total price with taxes, deals, rating, stars, address and coordinates. Optional: every booking site's price (Booking.com, Expedia, Agoda…). $1 per 1,000 hotels.",
    "version": "0.1",
    "x-build-id": "O0F0JQEk8S9XArrJQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/southern-data~google-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-southern-data-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/southern-data~google-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-southern-data-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/southern-data~google-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-southern-data-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": "Place searches",
            "type": "array",
            "description": "Places as you would type them into Google Hotels, one per line, e.g. \"hotels in Lisbon\", \"hotels near Times Square, New York\", \"resorts in Bali\". Each search pages through Google's results (18 per page) until Max hotels. Add the city or country when a name is ambiguous; check the searchLocation field of the results to see where Google searched.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Exact hotels (optional)",
            "type": "array",
            "description": "Price specific hotels, one per line: a hotel name with its city (e.g. \"The Ritz London\" → Google's top match), a Google Hotels link (https://www.google.com/travel/hotels/entity/Ch…), or an entityId from an earlier run. One row per hotel and stay. Use the entityId to track exactly the same hotels every day.",
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in date",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\+?\\d{1,3})?$",
            "type": "string",
            "description": "YYYY-MM-DD (e.g. 2026-12-15) or a number of days from today (e.g. 30). Default: 30 days from today."
          },
          "checkOut": {
            "title": "Check-out date",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\+?\\d{1,3})?$",
            "type": "string",
            "description": "YYYY-MM-DD or days from today. Default: one night after check-in. Stays of 1 to 30 nights."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Adults in one room (1–12).",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "Age of each child, e.g. [4, 9]. Leave empty for no children.",
            "default": []
          },
          "extraCheckInDays": {
            "title": "Also check the next N check-in days",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "0 = only the dates above. N = repeat the same length of stay for each of the next N check-in days (a price calendar). Each stay is billed as its own rows.",
            "default": 0
          },
          "currency": {
            "title": "Currency",
            "pattern": "^[A-Za-z]{3}$",
            "type": "string",
            "description": "3-letter currency code for all prices, e.g. USD, EUR, GBP, AUD, JPY, INR, AED.",
            "default": "USD"
          },
          "country": {
            "title": "Google country",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "2-letter country code of the Google market, e.g. us, gb, au, de, fr, jp, in. Prices, tax display and booking sites can differ by country: from the US, nightly prices are shown before taxes; most other countries show them with taxes.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language code, e.g. en, fr, de, es, ja, pt-BR. Affects text such as descriptions.",
            "default": "en"
          },
          "maxHotels": {
            "title": "Max hotels per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Distinct hotels per place search and stay (1–500). The main cost control: each hotel row is one charge.",
            "default": 20
          },
          "includeOffers": {
            "title": "Include every booking site's price",
            "type": "boolean",
            "description": "Adds an offers list to each hotel: every booking site Google shows (Booking.com, Expedia, Agoda, Hotels.com, Trip.com, the official site and more) with its nightly price, price with taxes and booking link. One extra charge per hotel, not per offer.",
            "default": false
          },
          "minPrice": {
            "title": "Min nightly price",
            "minimum": 0,
            "type": "integer",
            "description": "Skip hotels below this nightly price (in your currency). 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max nightly price",
            "minimum": 0,
            "type": "integer",
            "description": "Skip hotels above this nightly price, or with no price. 0 = no maximum.",
            "default": 0
          },
          "minRating": {
            "title": "Minimum guest rating",
            "enum": [
              "0",
              "3",
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Skip hotels rated below this.",
            "default": "0"
          },
          "minHotelClass": {
            "title": "Minimum hotel class (stars)",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Skip hotels below this star class (0 = any, 1–5).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "How many Google pages to load at once.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}