{
  "openapi": "3.0.1",
  "info": {
    "title": "Booking Cruises Scraper",
    "description": "Efficiently extract cruise deals, prices, itineraries, and availability from Booking.com. Stay updated with the latest cruise offerings, streamline your data collection process, and enhance travel planning with accurate and up-to-date information.",
    "version": "1.0",
    "x-build-id": "BTRudMyNSPeAkI1ki"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vulnv~booking-cruises-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vulnv-booking-cruises-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/vulnv~booking-cruises-scraper/runs": {
      "post": {
        "operationId": "runs-sync-vulnv-booking-cruises-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/vulnv~booking-cruises-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-vulnv-booking-cruises-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": [
          "start_date",
          "end_date"
        ],
        "properties": {
          "start_date": {
            "title": "Start Date",
            "type": "string",
            "description": "The start date for the cruise search (format: YYYY-MM-DD).",
            "default": ""
          },
          "end_date": {
            "title": "End Date",
            "type": "string",
            "description": "The end date for the cruise search (format: YYYY-MM-DD).",
            "default": ""
          },
          "cruise_length": {
            "title": "Cruise Length",
            "enum": [
              "ALL",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Filter by cruise length.",
            "default": "ALL"
          },
          "cruise_line": {
            "title": "Cruise Line",
            "enum": [
              "ALL",
              "92",
              "323",
              "329",
              "325",
              "1",
              "11",
              "14",
              "369",
              "18",
              "20",
              "368",
              "24",
              "377",
              "71",
              "34",
              "67",
              "333",
              "344",
              "40",
              "41",
              "363",
              "44",
              "48",
              "324",
              "50",
              "66",
              "354",
              "78",
              "364",
              "64"
            ],
            "type": "string",
            "description": "Filter by cruise line.",
            "default": "ALL"
          },
          "departure_port": {
            "title": "Departure Port",
            "enum": [
              "ALL",
              "SWD",
              "WHIAK",
              "MOB",
              "LNBUS",
              "SPDUS",
              "SAN",
              "SFO",
              "FLL",
              "JAX",
              "MIA",
              "PCV",
              "TPA",
              "HNL",
              "MSY",
              "BOS",
              "BWI",
              "BNJUS",
              "BLNUS",
              "NYC",
              "PHL",
              "CHS",
              "GAL",
              "ORF",
              "SEA",
              "BUE",
              "BGI",
              "YUL",
              "YQB",
              "YVR",
              "VAP",
              "LARDO",
              "CPH",
              "QQD",
              "LHR",
              "STN",
              "PARFR",
              "ZWD",
              "MCHDE",
              "NURDE",
              "PIR",
              "HKG",
              "BUDHU",
              "KEF",
              "CIVIT",
              "VCE",
              "VLT",
              "MCM",
              "AMS",
              "BGO",
              "LIS",
              "SJU",
              "BCN",
              "SXM",
              "SKM",
              "BASCH",
              "PPT",
              "IST",
              "DXB"
            ],
            "type": "string",
            "description": "Filter by departure port.",
            "default": "ALL"
          },
          "destination": {
            "title": "Destination",
            "enum": [
              "ALL",
              "A",
              "AG",
              "AR",
              "AB",
              "UN",
              "BH",
              "BM",
              "NN",
              "C",
              "CE",
              "CS",
              "CW",
              "E",
              "EE",
              "R",
              "N",
              "EW",
              "W",
              "O",
              "GPS",
              "H",
              "M",
              "L",
              "T",
              "RA",
              "RC",
              "RO",
              "RE",
              "RS",
              "RU",
              "S",
              "I",
              "TH",
              "ET",
              "TP",
              "NA",
              "WW"
            ],
            "type": "string",
            "description": "Filter by destination.",
            "default": "ALL"
          },
          "max_number_of_pages": {
            "title": "Maximum Number of Pages",
            "type": "integer",
            "description": "Maximum number of pages to scrape. Use -1 to scrape all available pages.",
            "default": -1
          },
          "max_number_of_parallel_requests": {
            "title": "Maximum Number of Parallel Requests",
            "type": "integer",
            "description": "Maximum number of parallel requests to make.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}