{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking.com Hotels Scraper: Prices & Ratings",
    "description": "Booking.com hotels for your dates with nightly and stay price. $1.00 per 1,000 hotels. Add every room rate for those dates, 25 guest reviews, description, room sizes, nearby places and facilities. No login needed.",
    "version": "0.1",
    "x-build-id": "dGacacwzptqaULMyX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luzivanlt~booking-hotels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luzivanlt-booking-hotels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/luzivanlt~booking-hotels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-luzivanlt-booking-hotels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/luzivanlt~booking-hotels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-luzivanlt-booking-hotels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Search or hotel links",
            "type": "array",
            "description": "Up to 50 Booking.com search links or hotel links, one per line, such as https://www.booking.com/searchresults.html?ss=Paris or https://www.booking.com/hotel/us/row-nyc1.html. A search link reads every hotel the city advertises. A hotel link returns that one hotel and is charged $3.30 per 1,000 links. Dates, guests, rooms and currency in a link are used; add them in the form to set them for links that have none. A link that is not Booking.com stops the run before anything is read. A link listed twice is read once.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "destinations": {
            "title": "Destinations",
            "type": "array",
            "description": "Up to 50 cities or places, one per line, such as New York, Lisbon or Paris, France. Each becomes a search for your dates. Leave empty when you pasted links, or to run the New York sample.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "checkin": {
            "title": "Check-in",
            "type": "string",
            "description": "First night of the stay as YYYY-MM-DD. Leave empty, with check-out, to use a stay two weeks from today. A date in the past or more than 30 nights stops the run before anything is read.",
            "default": ""
          },
          "checkout": {
            "title": "Check-out",
            "type": "string",
            "description": "Last morning of the stay as YYYY-MM-DD, after check-in. Leave empty with check-in to use a stay two weeks from today.",
            "default": ""
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Adults per room, 1 to 30. Default 2. A link that states its own group size uses that instead.",
            "default": 2
          },
          "rooms": {
            "title": "Rooms",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Rooms to price, 1 to 30. Default 1. The stay total covers every room asked for.",
            "default": 1
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Three-letter currency code such as USD or EUR, default USD. Every link in a run must use the same currency; a link with a different one stops the run before anything is read.",
            "default": "USD"
          },
          "includeDetails": {
            "title": "Hotel details",
            "type": "boolean",
            "description": "Add each hotel's description, full address, the languages its staff speak, room sizes, beds, sleeps, photos, everything nearby with distances, facilities, review subscores, check-in and check-out times, house rules, small print and meal prices. Charged separately at $1.60 per 1,000 hotels and several times slower than a plain city run.",
            "default": false
          },
          "includeRoomRates": {
            "title": "Room rates",
            "type": "boolean",
            "description": "Add every bookable room and rate for your dates, not only the cheapest: room name, board, sleeps, rooms left, stay total and price per night, before-discount total, cancellation and prepayment terms. Charged separately at $0.50 per 1,000 hotels. Works with Hotel details on or off.",
            "default": false
          },
          "includeReviews": {
            "title": "Guest reviews",
            "type": "boolean",
            "description": "Add up to 25 recent guest reviews per hotel: score, date, title, positive and negative text, language, guest country and type, room and stay dates, and the hotel's reply. Charged separately at $0.70 per 1,000 hotels.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum hotels",
            "minimum": 10,
            "maximum": 50000,
            "type": "integer",
            "description": "A hard cap across every link in the run, 10 to 50,000. Default 1,000. A city with more hotels stops here and the run status says it was capped. A hotel link counts as one.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}