{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking.com Scraper — Hotels, Prices, Reviews & Host Data",
    "description": "Extract Booking.com hotel listings, live room prices & availability, guest reviews and ratings, full property details, and professional host contacts. Scrape by destination or URL with automatic pagination — no code, no login. Export to JSON, CSV, Excel or via API.",
    "version": "1.0",
    "x-build-id": "b4JThd0UzLFOd5rDd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pro100chok~booking-all-in-one-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pro100chok-booking-all-in-one-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/pro100chok~booking-all-in-one-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pro100chok-booking-all-in-one-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/pro100chok~booking-all-in-one-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pro100chok-booking-all-in-one-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",
        "required": [
          "scrapeType"
        ],
        "properties": {
          "scrapeType": {
            "title": "🎯 What to scrape",
            "enum": [
              "search",
              "prices",
              "reviews",
              "hotelDetails",
              "hostInfo",
              "all"
            ],
            "type": "string",
            "description": "What the actor returns. \"Search results\" = a list of properties for a destination. The other modes work on hotel page URLs. Tip: with \"Search results\" you can tick the options below to also drill into each hotel.",
            "default": "search"
          },
          "enrichWith": {
            "title": "🔗 Also scrape for each result (Search mode)",
            "type": "array",
            "description": "Only used with the \"Search results\" mode. For every property found, also scrape these — they are returned nested inside the same hotel record. Leave empty to get just the listing.",
            "items": {
              "type": "string",
              "enum": [
                "hotelDetails",
                "prices",
                "reviews",
                "host"
              ],
              "enumTitles": [
                "📋 Hotel details",
                "💶 Prices (room offers)",
                "⭐ Reviews + scores",
                "🧑‍💼 Host / owner contact info"
              ]
            },
            "default": []
          },
          "searchQueries": {
            "title": "🔍 Destinations",
            "type": "array",
            "description": "Destinations to search — e.g. \"Amsterdam\", \"Paris, France\", \"Bali\". One per line. Used by the Search results & Prices modes. Skip this if you paste URLs below instead.",
            "default": [
              "Amsterdam"
            ],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Booking.com URLs",
            "type": "array",
            "description": "Booking.com hotel page URLs and/or search-result URLs (paste straight from your browser). Hotel URLs feed Reviews / Hotel details / Host / Prices; search URLs feed Search results / Prices.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "🔢 Max properties per destination",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of properties to return per destination (also caps how many hotels are processed in the hotel-centric modes).",
            "default": 50
          },
          "maxReviews": {
            "title": "💬 Max reviews per hotel",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum reviews to fetch per hotel. Only used when reviews are scraped (Reviews mode, All mode, or the Reviews enrich option).",
            "default": 100
          },
          "includeSurroundings": {
            "title": "🗺️ Include surroundings (what's nearby)",
            "type": "boolean",
            "description": "Only used when hotel details are scraped (Hotel details / All modes, or the Hotel details enrich option). Adds nearby POIs — landmarks, top attractions, restaurants & cafes, public transport, closest airports, beaches — with walking/driving distances. Costs one extra request per hotel.",
            "default": true
          },
          "checkIn": {
            "title": "📅 Check-in date",
            "type": "string",
            "description": "Format YYYY-MM-DD. Optional — affects prices and availability."
          },
          "checkOut": {
            "title": "📅 Check-out date",
            "type": "string",
            "description": "Format YYYY-MM-DD. Optional."
          },
          "daysAhead": {
            "title": "📆 Price calendar — days ahead (Prices mode)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Prices mode only. If greater than 0, builds a price calendar of one-night stays for this many consecutive days starting at the check-in date (or today). Leave 0 for a single check-in/check-out range.",
            "default": 0
          },
          "adults": {
            "title": "🧑 Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of adults per room.",
            "default": 2
          },
          "children": {
            "title": "🧒 Children",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Number of children.",
            "default": 0
          },
          "childrenAges": {
            "title": "🧒 Children ages",
            "type": "array",
            "description": "Ages of children (0–17), one per child.",
            "items": {
              "type": "string"
            }
          },
          "rooms": {
            "title": "🛏️ Rooms",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of rooms.",
            "default": 1
          },
          "currency": {
            "title": "💱 Currency",
            "type": "string",
            "description": "ISO currency code, e.g. USD, EUR, GBP.",
            "default": "USD"
          },
          "language": {
            "title": "🌐 Language",
            "type": "string",
            "description": "Booking language code, e.g. en-us, en-gb, de, fr, es, it, ru.",
            "default": "en-us"
          },
          "sortBy": {
            "title": "↕️ Sort search by",
            "enum": [
              "relevance",
              "popularity",
              "price",
              "review_score",
              "review_score_and_price",
              "stars_high",
              "stars_low",
              "distance"
            ],
            "type": "string",
            "description": "Order of search results.",
            "default": "relevance"
          },
          "starRating": {
            "title": "⭐ Star rating filter",
            "type": "array",
            "description": "Filter by class, e.g. [\"4\",\"5\"].",
            "items": {
              "type": "string"
            }
          },
          "minScore": {
            "title": "📊 Minimum review score",
            "type": "string",
            "description": "e.g. 8 or 9 (review score bucket)."
          },
          "minPrice": {
            "title": "💶 Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price per night filter (in the chosen currency)."
          },
          "maxPrice": {
            "title": "💶 Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price per night filter (in the chosen currency)."
          },
          "sortReviewsBy": {
            "title": "↕️ Sort reviews by",
            "enum": [
              "relevance",
              "newest",
              "oldest",
              "score_high",
              "score_low"
            ],
            "type": "string",
            "description": "Order of reviews. Used only when reviews are scraped.",
            "default": "relevance"
          },
          "maxConcurrency": {
            "title": "⚡ Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel hotels processed in hotel-centric modes.",
            "default": 5
          },
          "maxRetries": {
            "title": "🔁 Max retries",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Max retries per request on network errors or anti-bot challenges.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy configuration",
            "type": "object",
            "description": "Proxy used for all requests. Residential proxies are recommended. To use your own proxy (incl. SOCKS5), open the Custom proxies tab and add its URL.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}