{
  "openapi": "3.0.1",
  "info": {
    "title": "Cruisemapper Ships Scraper",
    "description": "The Cruisemapper Ships Scraper extracts detailed ship data, including names, types, operators, capacities, and more, directly from Cruisemapper. Get structured, up-to-date information in JSON, CSV, or Excel formats for market research, travel planning, or application integration.",
    "version": "1.0",
    "x-build-id": "8bhgTUmkF1Zi3RqQv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vulnv~cruisemapper-ships-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vulnv-cruisemapper-ships-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~cruisemapper-ships-scraper/runs": {
      "post": {
        "operationId": "runs-sync-vulnv-cruisemapper-ships-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~cruisemapper-ships-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-vulnv-cruisemapper-ships-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": {
          "get_ship_details": {
            "title": "Get ship details",
            "type": "boolean",
            "description": "Whether to scrape ship details",
            "default": true
          },
          "max_number_of_pages": {
            "title": "Max number of pages",
            "type": "integer",
            "description": "Maximum number of pages to scrape. Set to -1 to scrape all pages",
            "default": 1
          },
          "cruise_line": {
            "title": "Cruise line",
            "enum": [
              "Adora_China_Cruises",
              "AIDA_Cruises",
              "AmaWaterways",
              "Ambassador_Cruise_Line",
              "American_Cruise_Lines",
              "American_Queen_Voyages",
              "APT_River_Cruises_Travelmarvel",
              "Arosa_Cruises",
              "Aroya_Cruises_Saudi",
              "Atlas_Ocean_Voyages",
              "Aurora_Expeditions",
              "Avalon_Waterways",
              "Azamara_Cruises",
              "Carnival_Cruise_Line",
              "Celebrity_Cruises",
              "Celebrity_River_Cruises",
              "Celestyal_Cruises",
              "Cordelia_Cruises",
              "Costa_Cruises",
              "CroisiEurope",
              "Crystal_Cruises",
              "Cunard",
              "Disney_Cruise_Line",
              "Emerald_Cruises",
              "European_Waterways",
              "Ferries",
              "Four_Seasons_Yachts",
              "Fred_Olsen_Cruise_Lines",
              "Grand_Circle_Cruise_Line",
              "Hapag_Lloyd_Cruises",
              "Havila_Voyages",
              "Holland_America",
              "Hurtigruten",
              "HX_Expeditions",
              "Icebreakers",
              "Lindblad_Expeditions",
              "Luftner_Amadeus_River_Cruises",
              "Marella_Cruises",
              "Margaritaville_at_Sea",
              "MOL_Mitsui_Ocean_Cruises",
              "MSC_Cruises",
              "MSC_Explora_Journeys",
              "Mystic_Cruises",
              "Nile_River_Cruises",
              "Norwegian_Cruise_Line",
              "Norwegian_Yacht_Voyages",
              "Oceania_Cruises",
              "PO_Cruises",
              "Phoenix_Reisen",
              "Ponant_Cruises",
              "Princess_Cruises",
              "Quark_Expeditions",
              "Regent_Seven_Seas_Cruises",
              "Residential_Cruise_Lines",
              "Ritz_Carlton_Yacht_Collection",
              "River_Cruises",
              "Royal_Caribbean",
              "Russian_River_Cruises",
              "Saga_Cruises",
              "Scenic_Cruises",
              "Scrapped_Cruise_Ships",
              "Scylla_Cruises",
              "Scylla_VIVA_Cruises",
              "Seabourn_Cruises",
              "SeaDream_Yacht_Club",
              "Silversea_Cruises",
              "Small_Cruise_Lines",
              "Star_Clippers",
              "Star_Cruises",
              "StarDream_Cruises",
              "Swan_Hellenic_Cruises",
              "TUI_Cruises",
              "UnCruise_Adventures",
              "Uniworld",
              "Viking_Cruises",
              "Viking_River_Cruises",
              "Virgin_Voyages",
              "Windstar_Cruises"
            ],
            "type": "string",
            "description": "Filter ships by cruise line. Leave empty to scrape all cruise lines."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}