{
  "openapi": "3.0.1",
  "info": {
    "title": "Unofficial Celebrity Cruises Itineraries & Sailings Scraper",
    "description": "Unofficial browser-backed scraper for public Celebrity Cruises search result pages: itineraries, sailing dates, ports of call, and visible starting prices.",
    "version": "0.1",
    "x-build-id": "n2xN0zQiP60Lc7Hj6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/devpartners~celebrity-cruises-itineraries/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-devpartners-celebrity-cruises-itineraries",
        "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/devpartners~celebrity-cruises-itineraries/runs": {
      "post": {
        "operationId": "runs-sync-devpartners-celebrity-cruises-itineraries",
        "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/devpartners~celebrity-cruises-itineraries/run-sync": {
      "post": {
        "operationId": "run-sync-devpartners-celebrity-cruises-itineraries",
        "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": "Start URLs",
            "type": "array",
            "description": "Celebrity Cruises public /cruises URLs to scrape. Query filters are preserved and the fields below are added to each URL.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "dateFrom": {
            "title": "Sailing date from",
            "type": "string",
            "description": "Earliest sailing date to include. Converted into Celebrity's startDate search filter."
          },
          "dateTo": {
            "title": "Sailing date to",
            "type": "string",
            "description": "Latest sailing date to include. Converted into Celebrity's startDate search filter."
          },
          "ships": {
            "title": "Ships",
            "uniqueItems": true,
            "type": "array",
            "description": "Limit results to selected Celebrity ship codes.",
            "items": {
              "type": "string",
              "enum": [
                "AX",
                "BY",
                "CS",
                "EC",
                "EG",
                "EQ",
                "FL",
                "IN",
                "ML",
                "RF",
                "SI",
                "SL",
                "SM",
                "XP",
                "XC"
              ],
              "enumTitles": [
                "Celebrity Apex",
                "Celebrity Beyond",
                "Celebrity Constellation",
                "Celebrity Eclipse",
                "Celebrity Edge",
                "Celebrity Equinox",
                "Celebrity Flora",
                "Celebrity Infinity",
                "Celebrity Millennium",
                "Celebrity Reflection",
                "Celebrity Silhouette",
                "Celebrity Solstice",
                "Celebrity Summit",
                "Celebrity Xpedition",
                "Celebrity Xcel"
              ]
            }
          },
          "homePorts": {
            "title": "Departs from",
            "uniqueItems": true,
            "type": "array",
            "description": "Limit results to selected Celebrity departure port codes.",
            "items": {
              "type": "string",
              "enum": [
                "ATH",
                "BCN",
                "FLL",
                "MIA",
                "ROM",
                "SEA",
                "SJU",
                "SYD",
                "TPA",
                "YVR"
              ],
              "enumTitles": [
                "Athens (Piraeus), Greece",
                "Barcelona, Spain",
                "Fort Lauderdale, Florida",
                "Miami, Florida",
                "Rome (Civitavecchia), Italy",
                "Seattle, Washington",
                "San Juan, Puerto Rico",
                "Sydney, Australia",
                "Tampa, Florida",
                "Vancouver, British Columbia"
              ]
            }
          },
          "durations": {
            "title": "Durations",
            "uniqueItems": true,
            "type": "array",
            "description": "Limit results by cruise length in nights.",
            "items": {
              "type": "string",
              "enum": [
                "2~5",
                "6~8",
                "9~11",
                "12~14",
                "15~18"
              ],
              "enumTitles": [
                "2-5 nights",
                "6-8 nights",
                "9-11 nights",
                "12-14 nights",
                "15-18 nights"
              ]
            }
          },
          "destinations": {
            "title": "Destinations",
            "uniqueItems": true,
            "type": "array",
            "description": "Limit results by Celebrity destination codes.",
            "items": {
              "type": "string",
              "enum": [
                "ALCAN",
                "BAHAM",
                "CARIB",
                "EUROP",
                "GALAP",
                "HAWAI",
                "T.PAN",
                "T.ATL",
                "TPACI"
              ],
              "enumTitles": [
                "Alaska",
                "Bahamas",
                "Caribbean",
                "Europe",
                "Galapagos",
                "Hawaii",
                "Panama Canal",
                "Transatlantic",
                "Transpacific"
              ]
            }
          },
          "voyageType": {
            "title": "Cruise type",
            "enum": [
              "OCEAN",
              "RIVER"
            ],
            "type": "string",
            "description": "Limit to ocean or river cruise search results when available."
          },
          "maxItems": {
            "title": "# of results to return",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Stops after this many sailing-date rows.",
            "default": 25
          },
          "maxCards": {
            "title": "Maximum result cards",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Maximum visible Celebrity result cards to parse from each search page.",
            "default": 25
          },
          "currency": {
            "title": "Currency label",
            "type": "string",
            "description": "Currency label to attach to parsed public prices.",
            "default": "USD"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Celebrity country query parameter.",
            "default": "USA"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy settings for browser traffic. Use this if Celebrity renders no cruise cards from the default Apify container network.",
            "default": {
              "useApifyProxy": false
            }
          },
          "waitForResultsMillis": {
            "title": "Results wait timeout",
            "minimum": 1000,
            "type": "integer",
            "description": "How long to wait for browser-rendered Celebrity result cards.",
            "default": 15000
          },
          "requestDelayMillis": {
            "title": "Request delay",
            "minimum": 0,
            "type": "integer",
            "description": "Delay between Celebrity Cruises search pages.",
            "default": 750
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}