{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking.com Hotel Scraper: Prices, Calendar & Monitor ($2/1K)",
    "description": "$2 per 1,000 Booking.com hotels with total price, taxes, discount, free cancellation, rooms left and a deal rating. Search cities or paste search and hotel URLs. Add hotel details, a 365-night price calendar, cheapest dates and a rate monitor with Slack, Discord and Telegram alerts.",
    "version": "0.1",
    "x-build-id": "ux26xeBbaC2J1EDKu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydedata~booking-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydedata-booking-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/hydedata~booking-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hydedata-booking-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/hydedata~booking-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hydedata-booking-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": {
          "destinations": {
            "title": "Destinations or Booking.com search URLs",
            "type": "array",
            "description": "One per line: a city, region, district, landmark or airport as you'd type it into Booking.com (Lisbon, Lake Como, Shibuya), or a Booking.com search URL. A pasted URL keeps its destination, dates, guests, rooms, currency, language, sort order and every sidebar filter. Dates, currency, language, sort order and filters you set below win over the URL's.",
            "items": {
              "type": "string"
            }
          },
          "hotels": {
            "title": "Hotels",
            "type": "array",
            "description": "Price these hotels: a Booking.com hotel URL (https://www.booking.com/hotel/pt/lisboa-plaza.html), its country and page name (pt/lisboa-plaza), a numeric hotel ID, or the hotel's name. Hotels listed together are also compared with each other, which makes a competitor set. A hotel that isn't found gets a free row saying why.",
            "items": {
              "type": "string"
            }
          },
          "checkIn": {
            "title": "Check-in",
            "type": "string",
            "description": "A date (2027-03-14) or a date relative to the day of the run (30 days, 2 weeks, 1 month), which keeps a scheduled run looking the same distance ahead."
          },
          "checkOut": {
            "title": "Check-out",
            "type": "string",
            "description": "A date or a relative date. Leave empty to use the number of nights."
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Length of the stay when no check-out is set.",
            "default": 1
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Adults in the party, across all rooms.",
            "default": 2
          },
          "childrenAges": {
            "title": "Children's ages",
            "type": "array",
            "description": "One age per child, 0 to 17 (e.g. 5 and 9). Booking.com prices children by age, so ages matter more than the count.",
            "items": {
              "type": "string"
            }
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Rooms to book. The price covers all of them.",
            "default": 1
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Three-letter code of any currency Booking.com offers (USD, EUR, GBP, JPY, IDR, BRL and so on). Empty means USD, or the currency of a pasted search URL."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Booking.com language code for names, room types and labels: en-us, en-gb, de, fr, es, it, nl, pt-pt, pt-br, ja, zh-cn and so on. Empty means en-us, or the language of a pasted search URL."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "price",
              "price_desc",
              "review_score",
              "review_score_and_price",
              "stars",
              "stars_asc",
              "stars_and_price",
              "distance",
              "homes_first"
            ],
            "type": "string",
            "description": "Order of a destination's results. Empty means top picks, or the order of a pasted search URL. Booking.com pages through 1,100 results in any order; past that, hotels arrive cheapest first."
          },
          "maxResults": {
            "title": "Max hotels (whole run)",
            "minimum": 0,
            "type": "integer",
            "description": "Most hotels the run delivers, across all destinations and hotels. You're never charged for more. With one destination this is that destination's limit. 0 means no limit."
          },
          "maxResultsPerDestination": {
            "title": "Max hotels per destination",
            "minimum": 0,
            "type": "integer",
            "description": "Most hotels one destination delivers. Empty means 100 per destination, or the whole-run limit when there's a single destination. 0 means no limit."
          },
          "minPricePerNight": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "number",
            "description": "In the run's currency."
          },
          "maxPricePerNight": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "number",
            "description": "In the run's currency."
          },
          "stars": {
            "title": "Stars",
            "type": "array",
            "description": "Keep these star classes. Apartments and homes carry Booking.com's own quality rating on the same scale.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "unrated"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars",
                "Unrated"
              ]
            }
          },
          "minReviewScore": {
            "title": "Min review score",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Out of 10, any value (e.g. 8.4). Hotels without reviews don't pass."
          },
          "minReviewCount": {
            "title": "Min number of reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep hotels with at least this many guest reviews."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Keep these kinds of property.",
            "items": {
              "type": "string",
              "enum": [
                "hotel",
                "apartment",
                "hostel",
                "guest_house",
                "bed_and_breakfast",
                "villa",
                "holiday_home",
                "homestay",
                "resort",
                "aparthotel",
                "motel",
                "lodge",
                "chalet",
                "campsite",
                "boat",
                "capsule_hotel",
                "farm_stay",
                "luxury_tent",
                "ryokan",
                "riad",
                "country_house",
                "inn",
                "holiday_park",
                "love_hotel"
              ],
              "enumTitles": [
                "Hotels",
                "Apartments",
                "Hostels",
                "Guest houses",
                "Bed and breakfasts",
                "Villas",
                "Holiday homes",
                "Homestays",
                "Resorts",
                "Aparthotels",
                "Motels",
                "Lodges",
                "Chalets",
                "Campsites",
                "Boats",
                "Capsule hotels",
                "Farm stays",
                "Luxury tents",
                "Ryokans",
                "Riads",
                "Country houses",
                "Inns",
                "Holiday parks",
                "Love hotels"
              ]
            }
          },
          "freeCancellationOnly": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Keep hotels whose offer can be cancelled for free.",
            "default": false
          },
          "breakfastIncluded": {
            "title": "Breakfast included",
            "type": "boolean",
            "description": "Keep hotels whose price includes breakfast.",
            "default": false
          },
          "maxDistanceFromCenterKm": {
            "title": "Max distance from center (km)",
            "minimum": 0,
            "type": "number",
            "description": "Keep hotels within this distance of the destination's center."
          },
          "facilities": {
            "title": "Facilities",
            "type": "array",
            "description": "Keep hotels that have all of these.",
            "items": {
              "type": "string",
              "enum": [
                "free_wifi",
                "parking",
                "swimming_pool",
                "spa",
                "hot_tub",
                "airport_shuttle",
                "fitness_center",
                "restaurant",
                "non_smoking_rooms",
                "front_desk_24h",
                "ev_charging",
                "wheelchair_accessible",
                "room_service",
                "pet_friendly",
                "adults_only",
                "air_conditioning",
                "private_bathroom",
                "kitchen",
                "balcony",
                "sea_view",
                "private_pool",
                "washing_machine"
              ],
              "enumTitles": [
                "Free WiFi",
                "Parking",
                "Swimming pool",
                "Spa",
                "Hot tub",
                "Airport shuttle",
                "Fitness center",
                "Restaurant",
                "Non-smoking rooms",
                "24-hour front desk",
                "EV charging",
                "Wheelchair accessible",
                "Room service",
                "Pet friendly",
                "Adults only",
                "Air conditioning",
                "Private bathroom",
                "Kitchen",
                "Balcony",
                "Sea view",
                "Private pool",
                "Washing machine"
              ]
            }
          },
          "rawFilters": {
            "title": "Other Booking.com filters",
            "type": "string",
            "description": "Any sidebar filter in Booking.com's own form, as it appears after nflt= in a search URL, separated by semicolons (e.g. roomfacility=38;di=1945 for private bathroom in one district)."
          },
          "includeSoldOut": {
            "title": "Include sold-out hotels",
            "type": "boolean",
            "description": "Also deliver a destination's hotels that have no availability for the dates, without a price. Hotels you name are always delivered, sold out or not.",
            "default": false
          },
          "dealsOnly": {
            "title": "Only deals",
            "enum": [
              "all",
              "good",
              "great"
            ],
            "type": "string",
            "description": "Keep hotels priced under the median of comparable hotels in the same search (same star class and review band). Good: 8% or more below. Great: 20% or more below.",
            "default": "all"
          },
          "includeDetails": {
            "title": "Hotel details",
            "type": "boolean",
            "description": "Description, every facility, check-in and check-out times, pet policy, review sub-scores (staff, cleanliness, comfort, value, location, WiFi), up to 30 photos and every room type with beds, size, occupancy and amenities.",
            "default": false
          },
          "includeCalendar": {
            "title": "Price calendar",
            "type": "boolean",
            "description": "The cheapest price for every night ahead, with availability and minimum stay, plus the cheapest date and the weekend against the weekday average.",
            "default": false
          },
          "calendarDays": {
            "title": "Calendar length (nights)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Nights the price calendar covers. Charged per hotel for every 61 nights started.",
            "default": 61
          },
          "calendarStartDate": {
            "title": "Calendar starts on",
            "type": "string",
            "description": "First night of the price calendar. Empty means today."
          },
          "flexibleDates": {
            "title": "Find the cheapest dates",
            "type": "boolean",
            "description": "Prices the stay for every check-in date in a window that starts at the check-in above. For a destination each date is searched and charged as a date; filters apply. For a hotel the dates come from its price calendar, and the three cheapest are confirmed by a real search.",
            "default": false
          },
          "flexWindowDays": {
            "title": "Window (days)",
            "minimum": 2,
            "maximum": 62,
            "type": "integer",
            "description": "How many check-in dates to try, starting at the check-in date.",
            "default": 14
          },
          "outputRows": {
            "title": "One row per",
            "enum": [
              "hotels",
              "rooms",
              "nights",
              "history"
            ],
            "type": "string",
            "description": "Hotel: one row per hotel with its price for the stay. Room type: one row per room type of each hotel, with the details add-on. Night: one row per night of each hotel's price calendar. History: the prices monitor mode has stored for each watched stay; it reads stored data only, so it makes no requests and has no charge.",
            "default": "hotels"
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "full",
              "compact"
            ],
            "type": "string",
            "description": "Full: every field. Compact: the fields a decision needs, with empty fields left out, for AI agents and LLM pipelines where every field costs tokens.",
            "default": "full"
          },
          "monitorMode": {
            "title": "Monitor mode",
            "type": "boolean",
            "description": "Only deliver hotels whose price or availability changed since the last run: price drops and rises with the amount, newly sold out, back in stock. With one row per night, each night of the calendar is watched. A hotel with nothing to report costs a price check and no row. Use fixed dates to watch a stay; a relative check-in watches a new stay each day.",
            "default": false
          },
          "minPriceChangePercent": {
            "title": "Ignore changes under (%)",
            "minimum": 0,
            "type": "number",
            "description": "A price move smaller than this isn't reported. Small moves add up: the comparison is always with the last price that was reported.",
            "default": 1
          },
          "includeUnchanged": {
            "title": "Also return unchanged hotels",
            "type": "boolean",
            "description": "Deliver every hotel on every run, marked changed or unchanged. Unchanged hotels are then charged as hotels.",
            "default": false
          },
          "stateStoreName": {
            "title": "Monitor memory name",
            "type": "string",
            "description": "Named key-value store that keeps prices between runs. Use different names to run independent monitors.",
            "default": "booking-rate-monitor"
          },
          "stateRetentionDays": {
            "title": "Forget after (days)",
            "minimum": 1,
            "type": "integer",
            "description": "Stays and calendars not checked for this many days are dropped from monitor memory.",
            "default": 180
          },
          "notifyWebhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "A Discord or Slack webhook URL gets a formatted message. Any other URL gets the rows as JSON. Up to 100 rows per run."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Also send alerts to Telegram. Create a bot with @BotFather and paste its token here."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "The chat, group or channel to post to, e.g. 123456789 or -1001234567890 or @yourchannel. The bot has to be a member of it."
          },
          "maxConcurrency": {
            "title": "Requests at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many requests run side by side. The default is gentle and fast enough: about 1,000 hotels in 15 seconds.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify datacenter proxies work. If they get blocked, the run moves to residential by itself when you leave this at the default. Prices and tax display follow the proxy's country: pick RESIDENTIAL with a country to see what visitors from there see."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}