{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking Pro Full Data Scraper",
    "description": "Extract 27 data fields from Booking.com: prices, reviews, amenities, photos, rooms, GPS coordinates and more. Includes up to 25 reviews per hotel. Tested with 1000+ hotels per city.",
    "version": "1.0",
    "x-build-id": "w7DF6CRfuWJ9lwivh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/brilliant_gum~booking-pro-full-data-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-brilliant_gum-booking-pro-full-data-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/brilliant_gum~booking-pro-full-data-scraper/runs": {
      "post": {
        "operationId": "runs-sync-brilliant_gum-booking-pro-full-data-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/brilliant_gum~booking-pro-full-data-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-brilliant_gum-booking-pro-full-data-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": [
          "destination",
          "checkIn",
          "checkOut",
          "adults"
        ],
        "properties": {
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "City or location to search (e.g., Paris, New York, Tokyo)"
          },
          "checkIn": {
            "title": "Check-in Date",
            "type": "string",
            "description": "Check-in date in YYYY-MM-DD format"
          },
          "checkOut": {
            "title": "Check-out Date",
            "type": "string",
            "description": "Check-out date in YYYY-MM-DD format"
          },
          "adults": {
            "title": "Number of Adults",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of adults (1-30)"
          },
          "children": {
            "title": "Number of Children",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Number of children (0-10)"
          },
          "childrenAges": {
            "title": "Children Ages",
            "type": "array",
            "description": "Ages of children as array (e.g., [5, 8, 12])"
          },
          "rooms": {
            "title": "Number of Rooms",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of rooms (1-30)"
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "JPY",
              "CNY",
              "AUD",
              "CAD",
              "CHF",
              "INR",
              "RUB",
              "BRL",
              "MXN",
              "KRW",
              "SGD",
              "HKD",
              "THB",
              "PLN",
              "CZK",
              "SEK",
              "NOK",
              "DKK"
            ],
            "type": "string",
            "description": "Price currency"
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of hotels to scrape (1-1000)"
          },
          "scrapingMode": {
            "title": "Scraping Mode",
            "enum": [
              "detailed"
            ],
            "type": "string",
            "description": "BASIC: Fast extraction from search page only (name, price, rating, location, url). DETAILED: Visits each hotel page for complete data."
          },
          "includeReviews": {
            "title": "Include Reviews",
            "type": "boolean",
            "description": "Extract guest reviews (DETAILED mode only). Up to 25 reviews per hotel with ratings, text, pros/cons, reviewer info.",
            "default": true
          },
          "maxReviewsPerHotel": {
            "title": "Max Reviews per Hotel",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Maximum reviews to extract per hotel (1-25)"
          },
          "includeAmenities": {
            "title": "Include Amenities",
            "type": "boolean",
            "description": "Extract hotel amenities (WiFi, parking, pool, gym, restaurant, etc.)",
            "default": true
          },
          "includeHouseRules": {
            "title": "Include House Rules",
            "type": "boolean",
            "description": "Extract check-in/out times, smoking policy, pet policy, cancellation rules",
            "default": true
          },
          "includeRoomDetails": {
            "title": "Include Room Details",
            "type": "boolean",
            "description": "Extract room types, bed configurations, capacity, prices per room",
            "default": true
          },
          "includePhotos": {
            "title": "Include Photos",
            "type": "boolean",
            "description": "Extract hotel photo URLs",
            "default": true
          },
          "photoMode": {
            "title": "Photo Mode",
            "enum": [
              "main",
              "all"
            ],
            "type": "string",
            "description": "MAIN: First photo only (faster). ALL: All available photos."
          },
          "includeCoordinates": {
            "title": "Include GPS Coordinates",
            "type": "boolean",
            "description": "Extract latitude and longitude for mapping",
            "default": true
          },
          "includeDescription": {
            "title": "Include Description",
            "type": "boolean",
            "description": "Extract full hotel description text",
            "default": true
          },
          "minRating": {
            "title": "Minimum Rating",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Filter by minimum guest rating (0-10). Set 0 for no filter."
          },
          "minStars": {
            "title": "Minimum Stars",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Filter by minimum star rating (0-5). Set 0 for no filter."
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "all",
              "Hotels",
              "Apartments",
              "Hostels",
              "Guest houses",
              "Bed and breakfasts",
              "Holiday homes",
              "Villas",
              "Motels",
              "Resorts"
            ],
            "type": "string",
            "description": "Filter by accommodation type"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}