{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking.com Hotel Prices Scraper: Rates, Availability",
    "description": "Booking.com hotel prices, room rates and availability by date for hotels or a city, $2.70 per 1,000 rows. voyager and santamaria-automations Booking.com input works as is. Many dates and stay lengths per run, sold-out rows, taxes, cancellation terms; watch mode bills moved prices. Free error rows.",
    "version": "0.1",
    "x-build-id": "NyuMTSD2Ni432vHPn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/arcadium~booking-prices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-arcadium-booking-prices",
        "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~booking-prices/runs": {
      "post": {
        "operationId": "runs-sync-arcadium-booking-prices",
        "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~booking-prices/run-sync": {
      "post": {
        "operationId": "run-sync-arcadium-booking-prices",
        "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": {
          "startUrls": {
            "title": "Hotel links",
            "type": "array",
            "description": "Booking.com hotel page links, for example https://www.booking.com/hotel/fr/de-la-paix-paris1.html. Each hotel gets one row per check-in date and nights value, with every room rate for the date. Optional when you use hotel ids or destinations. Booking.com search-result links (searchresults.html?ss=...) are read as a destination.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "hotelIds": {
            "title": "Hotel ids",
            "type": "array",
            "description": "Numeric Booking.com hotel ids, for example [55103]. Same output as hotel links. Use this when you already have ids from a search or an earlier run."
          },
          "destinations": {
            "title": "Destinations",
            "type": "array",
            "description": "Places to search for hotels, one per line, for example \"Paris\", \"Lisbon\" or \"Hotel de la Paix Paris\" (a hotel name is priced as that hotel). A Booking.com destination id such as -1456928 (Paris) also works. Each destination returns up to 'Max hotels' hotels per date, with the cheapest rate of each hotel. Also accepted as `search` (voyager/booking-scraper, rl1987) or `destination` (santamaria-automations).",
            "items": {
              "type": "string"
            }
          },
          "destinationType": {
            "title": "Destination id type",
            "enum": [
              "CITY",
              "REGION",
              "COUNTRY",
              "DISTRICT",
              "LANDMARK",
              "AIRPORT"
            ],
            "type": "string",
            "description": "Only used when a destination is a numeric Booking.com id: whether the id is a city, region, country, district, landmark or airport. Names are resolved automatically."
          },
          "maxHotels": {
            "title": "Max hotels per destination and date",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many hotels to return for each destination and check-in date (1 to 1,000, the most the site returns per search; default 20 when omitted). Sold-out hotels are skipped unless 'Include sold-out hotels' is on. Example: 50. Also accepted as `maxItems` or `maxResults` (0 = 1,000)."
          },
          "checkInDates": {
            "title": "Check-in dates",
            "type": "array",
            "description": "Check-in dates as YYYY-MM-DD, or relative to today such as \"+30d\" (30 days from now) or \"tomorrow\". Example: [\"2026-12-10\", \"+45d\"]. Dates up to about 16 months ahead. If this and the range below are empty, one stay 30 days from now is used. Also accepted as `checkIn` + `checkOut` (voyager, '2 weeks' style dates work) or `checkin` + `checkout`.",
            "items": {
              "type": "string"
            }
          },
          "checkInFrom": {
            "title": "Check-in range: from",
            "type": "string",
            "description": "Start of a range of check-in dates (YYYY-MM-DD or +Nd). With 'to' and 'step' it adds one check-in date every N days, on top of the dates above. Example: \"2026-12-01\"."
          },
          "checkInTo": {
            "title": "Check-in range: to",
            "type": "string",
            "description": "Last check-in date of the range (YYYY-MM-DD or +Nd). Example: \"2026-12-31\". Up to 400 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. 1 = every day, 7 = weekly.",
            "default": 1
          },
          "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. Up to 30 nights."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Adult guests (1-30).",
            "default": 2
          },
          "childrenAges": {
            "title": "Children ages",
            "type": "array",
            "description": "Age (0-17) of each child, for example [5, 9]. Prices depend on the number and ages of children. Leave empty for none."
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Rooms to book (1-10). Prices are for all rooms together.",
            "default": 1
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Three-letter currency code for all prices, for example EUR, USD or GBP. Booking.com converts the prices.",
            "default": "EUR"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en-gb",
              "en-us",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pt-pt",
              "pt-br",
              "pl",
              "ru",
              "ja",
              "zh-cn",
              "zh-tw",
              "ko",
              "ar",
              "tr",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "el",
              "hu",
              "ro",
              "bg",
              "uk",
              "he",
              "th",
              "id",
              "vi"
            ],
            "type": "string",
            "description": "Language of room names and cancellation texts.",
            "default": "en-gb"
          },
          "stars": {
            "title": "Star rating",
            "type": "array",
            "description": "Only hotels with these star ratings, for example [\"4\", \"5\"] (strings in API input). Leave empty for all (the default). voyager's `starsCountFilter` (\"4\") is accepted too.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "minReviewScore": {
            "title": "Minimum guest review score",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Only hotels with a guest review score of at least this value (1-10), for example 8. voyager's `minScore` (\"8.4\") is accepted too."
          },
          "freeCancellation": {
            "title": "Free cancellation only",
            "type": "boolean",
            "description": "Only hotels with at least one free-cancellation rate. For single hotels only free-cancellation rates are kept.",
            "default": false
          },
          "mealPlan": {
            "title": "Meal plan",
            "enum": [
              "any",
              "breakfast",
              "half_board"
            ],
            "type": "string",
            "description": "any = no filter; breakfast = breakfast included; half_board = breakfast and dinner included.",
            "default": "any"
          },
          "minPricePerNight": {
            "title": "Min price per night",
            "minimum": 0,
            "type": "number",
            "description": "Only rates at or above this price per night, in the chosen currency. Example: 80. voyager's `minMaxPrice` (\"100-150\" or \"100+\") sets both limits."
          },
          "maxPricePerNight": {
            "title": "Max price per night",
            "minimum": 0,
            "type": "number",
            "description": "Only rates at or below this price per night, in the chosen currency. Example: 250."
          },
          "sortBy": {
            "title": "Sort destination results by",
            "enum": [
              "price",
              "popularity",
              "price_desc",
              "review_score",
              "stars_desc",
              "stars_asc",
              "distance",
              "distance_from_search",
              "bayesian_review_score",
              "review_score_and_price",
              "class_asc",
              "class_and_price",
              "POPULARITY",
              "PRICE",
              "REVIEW_SCORE",
              "DISTANCE",
              "none"
            ],
            "type": "string",
            "description": "Order of hotels in destination searches. 'price' is stable between runs; 'popularity' is Booking.com's own ranking and changes from request to request. voyager's values (distance_from_search, bayesian_review_score, class_asc...) are mapped to the nearest one.",
            "default": "price"
          },
          "includeSoldOut": {
            "title": "Include sold-out hotels",
            "type": "boolean",
            "description": "Destination searches normally skip hotels with no availability. Turn on to get a row with soldOut = true for them. Single hotels always give a row, sold out or not.",
            "default": false
          },
          "includeRoomRates": {
            "title": "Room rates for destination results",
            "type": "boolean",
            "description": "Destination searches return the cheapest rate of each hotel. Turn on to also read every room rate of each hotel (one extra request per hotel and date, same price per row)."
          },
          "maxRows": {
            "title": "Max rows in total",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows (hotel x date x nights) in total. Leave empty for no limit. Useful as a cost cap."
          },
          "watch": {
            "title": "Watch mode: pay only for changes",
            "type": "boolean",
            "description": "Compare every hotel x stay row with the last run that used the same watch key and output only new rows and rows whose availability, price, meal plan, cancellation or room rates changed, each with a change object (type, fields old -> new, priceChange). Unchanged rows are not output and not charged; one free watch-summary row counts unchanged, changed, new and gone. The first run is a normal run, charged normally."
          },
          "watchKey": {
            "title": "Watch key",
            "type": "string",
            "description": "Name of the saved snapshot for watch mode (letters, digits, - and _, up to 60). Use one key per monitored hotel and date list, for example \"weekly-check\". A new key starts a new baseline. The snapshot is kept in a key-value store in your account."
          },
          "digest": {
            "title": "Add a weekly digest row",
            "type": "boolean",
            "description": "Watch mode only. Adds one free watch-digest row per run that sums up the changes of the last digest days for this watch key: counts by change type, price drops and rises, availability changes, the biggest price moves, and a one-line plain-text summary you can paste into an email or Slack. No extra charge."
          },
          "digestDays": {
            "title": "Digest window (days)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "How many days the digest row covers (rolling window, 1-90). Runs older than this drop out of the digest."
          },
          "includeErrorRows": {
            "title": "Add a row for inputs that failed",
            "type": "boolean",
            "description": "Adds a free row for every hotel, destination or date that could not be read (unknown hotel, date in the past, destination not found), so a failure is never silent.",
            "default": true
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How often a request is retried after a temporary error.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy (advanced)",
            "type": "object",
            "description": "Optional override. By default the actor picks a suitable proxy automatically."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}