{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking Hotels Scraper - Most Comprehensive",
    "description": "🔥 ~$0.1/1K hotels 🔥 Get hotel profiles, guest reviews, facilities, photos, nearby places, and stay availability by hotel or destination.",
    "version": "0.2",
    "x-build-id": "K3FizK9WEcFQr6g7i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kaix~booking-hotel-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kaix-booking-hotel-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~booking-hotel-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kaix-booking-hotel-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~booking-hotel-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kaix-booking-hotel-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": {
          "destination": {
            "title": "Destination",
            "minLength": 1,
            "type": "string",
            "description": "Enter a city, area, landmark, airport, or hotel name. Then choose check-in and check-out below. You do not need a hotel URL."
          },
          "stay": {
            "title": "Check-in, check-out, and guests",
            "required": [
              "checkIn",
              "checkOut"
            ],
            "type": "object",
            "description": "Required for a destination search. Choose exact dates or dates relative to the run date. Dates are optional for specific hotels.",
            "properties": {
              "checkIn": {
                "title": "Check-in",
                "type": "string",
                "description": "Choose an exact arrival date or a date relative to the UTC run date, such as 60 days.",
                "example": "60 days",
                "editor": "datepicker",
                "dateType": "absoluteOrRelative",
                "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$"
              },
              "checkOut": {
                "title": "Check-out",
                "type": "string",
                "description": "Choose a departure date after Check-in. It may be exact or relative to the UTC run date, such as 63 days.",
                "example": "63 days",
                "editor": "datepicker",
                "dateType": "absoluteOrRelative",
                "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$"
              },
              "adults": {
                "title": "Adults",
                "type": "integer",
                "description": "Set the number of adult guests for the whole stay, from 1 to 30.",
                "example": 2,
                "minimum": 1,
                "maximum": 30
              },
              "childrenAges": {
                "title": "Children's ages",
                "type": "array",
                "description": "Add one age, from 0 to 17, for each child. Leave the list empty when no children are travelling; the Actor derives the child count from this list.",
                "example": [
                  4,
                  9
                ],
                "editor": "json",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 17
                }
              },
              "rooms": {
                "title": "Rooms",
                "type": "integer",
                "description": "Set the total number of rooms, from 1 to 30. Guest counts apply to the stay as a whole.",
                "example": 2,
                "minimum": 1,
                "maximum": 30
              },
              "currency": {
                "title": "Currency",
                "type": "string",
                "description": "Request stay prices in a three-letter uppercase currency, such as USD, EUR, or JPY. Set it when using total-price filters.",
                "example": "JPY",
                "editor": "textfield",
                "minLength": 3,
                "maxLength": 3
              }
            },
            "additionalProperties": false
          },
          "hotels": {
            "title": "Hotel URLs or IDs",
            "minItems": 1,
            "type": "array",
            "description": "Use this instead of Destination when you already know the exact hotels. Add one or more Booking.com hotel URLs or numeric IDs. Dates are optional.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "results": {
            "title": "Results and reviews",
            "type": "object",
            "description": "Set search result limits, ordering, and review collection. With hotel URLs or IDs, change only the review settings.",
            "properties": {
              "maxHotels": {
                "title": "Maximum hotels",
                "type": "integer",
                "description": "Limit a text search to this many hotels. Use 0 to continue until the available result pages end; do not change it for hotel URLs or IDs.",
                "example": 10,
                "default": 20,
                "minimum": 0
              },
              "sortBy": {
                "title": "Sort hotels by",
                "type": "string",
                "description": "Choose the order for text-search results. This setting does not apply to hotel URLs or IDs.",
                "example": "guest_rating",
                "editor": "select",
                "enum": [
                  "recommended",
                  "guest_rating",
                  "price_lowest",
                  "distance",
                  "stars_highest",
                  "stars_lowest"
                ],
                "enumTitles": [
                  "Recommended",
                  "Guest rating",
                  "Price: lowest first",
                  "Distance from center",
                  "Star rating: high to low",
                  "Star rating: low to high"
                ],
                "default": "recommended"
              },
              "includeReviews": {
                "title": "Include guest reviews",
                "type": "boolean",
                "description": "Turn this on to add individual guest reviews to each hotel record. It works for text searches and specific hotels.",
                "example": true,
                "default": false
              },
              "maxReviewsPerHotel": {
                "title": "Maximum reviews per hotel",
                "type": "integer",
                "description": "When guest reviews are enabled, stop after this many reviews per hotel. Use 0 for all available reviews; larger values can make runs much longer.",
                "example": 50,
                "default": 20,
                "minimum": 0
              }
            },
            "default": {
              "maxHotels": 20,
              "sortBy": "recommended",
              "includeReviews": false,
              "maxReviewsPerHotel": 20
            },
            "additionalProperties": false
          },
          "filters": {
            "title": "Search filters",
            "type": "object",
            "description": "Use these only for a destination or hotel-name search. Text labels must be available for the same search, stay, and language; capitalization and extra spaces are ignored.",
            "properties": {
              "starRatings": {
                "title": "Star ratings",
                "type": "array",
                "description": "Keep hotels with any selected star rating. Choose one or more values from 1 through 5.",
                "example": [
                  "4",
                  "5"
                ],
                "editor": "select",
                "items": {
                  "type": "string",
                  "enum": [
                    "1",
                    "2",
                    "3",
                    "4",
                    "5"
                  ],
                  "enumTitles": [
                    "1 star",
                    "2 stars",
                    "3 stars",
                    "4 stars",
                    "5 stars"
                  ]
                }
              },
              "minimumTotalPrice": {
                "title": "Minimum total stay price",
                "type": "number",
                "description": "Set the lowest total price for the full stay. Also set Maximum total stay price and Currency in Stay details.",
                "example": 30000,
                "minimum": 0
              },
              "maximumTotalPrice": {
                "title": "Maximum total stay price",
                "type": "number",
                "description": "Set the highest total price for the full stay. It must be at least the minimum; also set Minimum total stay price and Currency in Stay details.",
                "example": 60000,
                "minimum": 0
              },
              "minimumReviewScore": {
                "title": "Minimum guest score",
                "type": "integer",
                "description": "Keep hotels with a guest score at or above this whole number, from 5 through 9.",
                "example": 8,
                "minimum": 5,
                "maximum": 9
              },
              "freeCancellation": {
                "title": "Free cancellation only",
                "type": "boolean",
                "description": "Turn this on to keep stays that offer a free-cancellation option.",
                "example": true,
                "default": false
              },
              "distanceFromCenter": {
                "title": "Distance from center",
                "type": "string",
                "description": "Set the maximum distance from the destination center: 1km, 3km, or 5km.",
                "example": "3km",
                "editor": "select",
                "enum": [
                  "1km",
                  "3km",
                  "5km"
                ],
                "enumTitles": [
                  "Within 1 km",
                  "Within 3 km",
                  "Within 5 km"
                ]
              },
              "propertyTypes": {
                "title": "Property types",
                "type": "array",
                "description": "Keep selected property types. Use full labels available for the same destination, stay, and language.",
                "example": [
                  "Hotels"
                ],
                "editor": "stringList",
                "placeholderValue": "Hotels",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "neighborhoods": {
                "title": "Neighborhoods",
                "type": "array",
                "description": "Limit results to named neighborhoods or districts available for the destination.",
                "example": [
                  "Shinjuku Ward"
                ],
                "editor": "stringList",
                "placeholderValue": "Shinjuku Ward",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "mealPlans": {
                "title": "Meal plans",
                "type": "array",
                "description": "Keep stays offering the selected meal plans. Use the full localized labels available for the search.",
                "example": [
                  "Breakfast included"
                ],
                "editor": "stringList",
                "placeholderValue": "Breakfast included",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "hotelAmenities": {
                "title": "Hotel amenities",
                "type": "array",
                "description": "Keep properties with the selected hotel-wide amenities. Use full labels available for the search.",
                "example": [
                  "Free WiFi"
                ],
                "editor": "stringList",
                "placeholderValue": "Free WiFi",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "roomAmenities": {
                "title": "Room amenities",
                "type": "array",
                "description": "Keep stays with the selected in-room amenities. Use full labels available for the search.",
                "example": [
                  "Balcony"
                ],
                "editor": "stringList",
                "placeholderValue": "Balcony",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "bedPreferences": {
                "title": "Bed preferences",
                "type": "array",
                "description": "Request the selected bed option when it is available for the destination and stay.",
                "example": [
                  "Double bed"
                ],
                "editor": "stringList",
                "placeholderValue": "Double bed",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "brands": {
                "title": "Hotel brands",
                "type": "array",
                "description": "Keep hotels from the selected chains or brands available for the destination.",
                "example": [
                  "Mitsui Garden"
                ],
                "editor": "stringList",
                "placeholderValue": "Mitsui Garden",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "sustainabilityCertified": {
                "title": "Sustainability certified only",
                "type": "boolean",
                "description": "Turn this on to keep properties marked with a sustainability certification.",
                "example": true,
                "default": false
              },
              "minimumBedrooms": {
                "title": "Minimum bedrooms",
                "type": "integer",
                "description": "For apartments or homes, require at least this many bedrooms, from 1 to 10.",
                "example": 2,
                "minimum": 1,
                "maximum": 10
              },
              "minimumBeds": {
                "title": "Minimum beds",
                "type": "integer",
                "description": "Require at least this many beds, from 1 to 10.",
                "example": 2,
                "minimum": 1,
                "maximum": 10
              },
              "travelPurpose": {
                "title": "Travel purpose",
                "type": "string",
                "description": "Set the stay context to business or leisure so the search uses the matching traveller profile.",
                "example": "business",
                "editor": "select",
                "enum": [
                  "business",
                  "leisure"
                ],
                "enumTitles": [
                  "Business",
                  "Leisure"
                ]
              }
            },
            "additionalProperties": false
          },
          "language": {
            "title": "Language",
            "minLength": 1,
            "type": "string",
            "description": "Choose the locale for returned text and localized filter labels. You can enter another supported locale instead of the suggested values.",
            "default": "en-us"
          },
          "proxyConfiguration": {
            "title": "Connection settings",
            "type": "object",
            "description": "Leave the default for normal runs. Change it only when your Apify account requires different connection settings.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}