{
  "openapi": "3.0.1",
  "info": {
    "title": "Cruise Prices Scraper — Carnival, Royal Caribbean & Celebrity",
    "description": "Cruise fares from Carnival, Royal Caribbean and Celebrity Cruises in one table: every sailing with ship, itinerary, ports, nights, dates and per-person interior, ocean view, balcony and suite prices. Filter by destination, port, dates, nights, price. Monitor mode for price drops.",
    "version": "0.1",
    "x-build-id": "np7w3VoCfoTiWTWjO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~cruise-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-cruise-prices-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/yugenox~cruise-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-cruise-prices-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/yugenox~cruise-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-cruise-prices-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": {
          "cruiseLines": {
            "title": "🚢 Cruise lines",
            "type": "array",
            "description": "Which cruise lines to search. Leave empty for all three. Max sailings is shared fairly between them.",
            "items": {
              "type": "string",
              "enum": [
                "carnival",
                "royal-caribbean",
                "celebrity"
              ],
              "enumTitles": [
                "Carnival Cruise Line",
                "Royal Caribbean",
                "Celebrity Cruises"
              ]
            },
            "default": [
              "carnival",
              "royal-caribbean",
              "celebrity"
            ]
          },
          "destinations": {
            "title": "🌴 Destinations",
            "type": "array",
            "description": "Optional: only cruises to these destinations. Empty = every destination. A line that does not sail to any of them is skipped.",
            "items": {
              "type": "string",
              "enum": [
                "caribbean",
                "bahamas",
                "mexico",
                "alaska",
                "europe",
                "bermuda",
                "hawaii",
                "canada-new-england",
                "panama-canal",
                "south-america",
                "asia",
                "australia-new-zealand",
                "south-pacific",
                "transatlantic",
                "transpacific",
                "galapagos",
                "pacific-coastal",
                "repositioning"
              ],
              "enumTitles": [
                "Caribbean",
                "Bahamas",
                "Mexico",
                "Alaska",
                "Europe",
                "Bermuda",
                "Hawaii",
                "Canada & New England",
                "Panama Canal",
                "South America",
                "Asia",
                "Australia & New Zealand",
                "South Pacific",
                "Transatlantic",
                "Transpacific",
                "Galapagos",
                "Pacific Coastal",
                "Repositioning"
              ]
            }
          },
          "departurePorts": {
            "title": "⚓ Departure ports",
            "type": "array",
            "description": "Optional: home ports to sail from, by city or port code, e.g. \"Miami\", \"Galveston\", \"Port Canaveral\", \"Seattle\", \"Barcelona\", \"MIA\". Empty = every port.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "📅 Sailing from",
            "type": "string",
            "description": "Optional: earliest sail date (YYYY-MM-DD)."
          },
          "dateTo": {
            "title": "📅 Sailing until",
            "type": "string",
            "description": "Optional: latest sail date (YYYY-MM-DD)."
          },
          "minNights": {
            "title": "Min nights",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Optional: shortest cruise, in nights."
          },
          "maxNights": {
            "title": "Max nights",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Optional: longest cruise, in nights."
          },
          "cabinType": {
            "title": "🛏️ Cabin type",
            "enum": [
              "any",
              "interior",
              "oceanView",
              "balcony",
              "suite"
            ],
            "type": "string",
            "description": "Only sailings where this cabin type is still on sale. Max price then applies to this cabin type. \"Any\" keeps every sailing.",
            "default": "any"
          },
          "maxPrice": {
            "title": "Max price per person",
            "minimum": 1,
            "type": "integer",
            "description": "Optional: only sailings at or under this fare per person (2 adults sharing), in the fares' currency. Uses the cabin type above, or the cheapest cabin when it is \"Any\"."
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "CAD"
            ],
            "type": "string",
            "description": "USD (US site prices) or CAD (Canadian site prices). CAD applies to Royal Caribbean and Celebrity; Carnival quotes its fares in USD.",
            "default": "USD"
          },
          "maxItems": {
            "title": "Max sailings",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of sailings (rows) for the whole run, shared fairly between the cruise lines. Cheapest itineraries first. 0 = everything that matches.",
            "default": 100
          },
          "monitorMode": {
            "title": "Monitor mode: only new sailings and price changes",
            "type": "boolean",
            "description": "Remembers the fares of every sailing this search found. The next runs with the same search save only sailings that are new or whose fares changed (price drop, price rise, sold out, back on sale), with the previous price. Unchanged sailings are skipped and not charged as rows; each results page compared costs a small page fee instead (see Pricing). Ideal for a daily schedule.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy (included in every plan) is used by default and is all this scraper needs.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}