{
  "openapi": "3.0.1",
  "info": {
    "title": "$4/1K | CruiseMapper Scraper - Cruises & Ship Positions",
    "description": "Scrape CruiseMapper cruises by destination, port, ship, line, length and month with prices and full itineraries, plus cruise ship specs (IMO, MMSI, tonnage, passengers), live positions of 1,100+ cruise ships and port schedules. No login. Made by ScraperCompany.",
    "version": "1.0",
    "x-build-id": "SHdnzd1pa5tQrIyK2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapercompany~cruisemapper-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapercompany-cruisemapper-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/scrapercompany~cruisemapper-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapercompany-cruisemapper-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/scrapercompany~cruisemapper-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapercompany-cruisemapper-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "cruises",
              "ships",
              "positions",
              "ports"
            ],
            "type": "string",
            "description": "Search cruises, read ships, get live ship positions, or read port schedules.",
            "default": "cruises"
          },
          "region": {
            "title": "Destination (Cruises)",
            "enum": [
              "Bahamas - Caribbean - Bermuda",
              "Mediterranean - Black Sea",
              "Alaska",
              "Western Europe - Azores - Canary Islands",
              "Baltic - Norwegian Fjords - Russia",
              "Ireland - UK - British Isles",
              "Iceland - Greenland - Faroe Islands",
              "Arctic - Antarctica",
              "East Coast USA and Canada New England",
              "Hawaii - Mexico - Panama Canal",
              "West Coast USA and Canada",
              "Asia",
              "Australia - New Zealand - Pacific Ocean Islands",
              "South America",
              "Galapagos Islands",
              "Africa - Indian Ocean Islands",
              "Europe Rivers",
              "France Rivers",
              "Canada and USA Rivers",
              "Asia Rivers",
              "Nile River",
              "Amazon River",
              "Russia Rivers"
            ],
            "type": "string",
            "description": "Destination region of the cruise. Leave empty for all destinations."
          },
          "cruiseType": {
            "title": "Cruise type or holiday",
            "enum": [
              "Christmas",
              "New Year",
              "Christmas and New Year",
              "Thanksgiving day",
              "Easter",
              "Halloween",
              "Chinese New Year",
              "Independence day",
              "Transatlantic",
              "Transpacific",
              "Panama Canal",
              "Suez Canal",
              "World",
              "Mini",
              "Nowhere",
              "Reposition Spring",
              "Reposition Summer",
              "Reposition Autumn",
              "Reposition Winter",
              "Food & Wine",
              "Music",
              "Sport",
              "Party",
              "Northern Lights",
              "UK School Breaks"
            ],
            "type": "string",
            "description": "Theme or holiday, such as Christmas, Transatlantic or a repositioning season. Leave empty for all."
          },
          "departurePort": {
            "title": "Departure port",
            "type": "string",
            "description": "Port the cruise leaves from, e.g. <code>Miami</code>, <code>Southampton</code> or a CruiseMapper port link."
          },
          "portOfCall": {
            "title": "Port of call",
            "type": "string",
            "description": "A port the cruise visits, e.g. <code>Cozumel</code>."
          },
          "ship": {
            "title": "Ship",
            "type": "string",
            "description": "Only this ship, e.g. <code>Wonder Of The Seas</code>."
          },
          "line": {
            "title": "Cruise line",
            "type": "string",
            "description": "Only this cruise line, e.g. <code>Royal Caribbean</code>, <code>MSC</code>, <code>Carnival</code>."
          },
          "nights": {
            "title": "Cruise length (nights)",
            "enum": [
              "any",
              "1-2",
              "3-5",
              "6-10",
              "11-14",
              "15+"
            ],
            "type": "string",
            "description": "Cruise length in nights.",
            "default": "any"
          },
          "month": {
            "title": "Departing from (month)",
            "type": "string",
            "description": "YYYY-MM, e.g. <code>2027-01</code>: cruises departing on or after the first day of that month, earliest first. Empty: from today."
          },
          "maxPriceUsd": {
            "title": "Max price per person (USD)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Leave out cruises listed above this price. Cruises without a listed price are kept (price empty)."
          },
          "includeItinerary": {
            "title": "Full itineraries",
            "type": "boolean",
            "description": "Add each cruise's day-by-day ports with arrival and departure times and the route distance. Each page then also charges the Itineraries event.",
            "default": false
          },
          "maxPages": {
            "title": "Pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many pages of 15 cruises to fetch (1-100). Each page is charged separately; paging stops at the last page.",
            "default": 1
          },
          "page": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Result page to start from.",
            "default": 1
          },
          "ships": {
            "title": "Ships (Ships)",
            "type": "array",
            "description": "One ship per line: its name (<code>Wonder Of The Seas</code>), CruiseMapper link or id.",
            "default": [
              "Wonder Of The Seas"
            ],
            "items": {
              "type": "string"
            }
          },
          "positionsLine": {
            "title": "Cruise line (Live positions)",
            "type": "string",
            "description": "Only this line's ships, e.g. <code>Royal Caribbean</code>. Empty: every tracked cruise ship."
          },
          "minLat": {
            "title": "Area: south latitude (Live positions)",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Give all four edges to keep only ships inside a box, e.g. 10 / 30 / -90 / -60 for the Caribbean."
          },
          "maxLat": {
            "title": "Area: north latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Box north edge."
          },
          "minLon": {
            "title": "Area: west longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Box west edge."
          },
          "maxLon": {
            "title": "Area: east longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Box east edge (must be greater than min_lon)."
          },
          "ports": {
            "title": "Ports (Port schedules)",
            "type": "array",
            "description": "One port per line: its name (<code>Miami</code>, <code>Barcelona</code>), CruiseMapper port link or id.",
            "default": [
              "Miami"
            ],
            "items": {
              "type": "string"
            }
          },
          "portMonth": {
            "title": "Month (Port schedules)",
            "type": "string",
            "description": "YYYY-MM. Empty: the current month."
          },
          "customRequests": {
            "title": "Custom requests (advanced)",
            "type": "array",
            "description": "Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Add <code>\"mode\"</code> to an object to mix modes, for example <code>{\"mode\": \"ships\", \"ship\": \"Icon Of The Seas\"}</code>. Example: <code>{\"mode\":\"ports\",\"port\":\"Barcelona\",\"month\":\"2027-06\"}</code>"
          },
          "includeErrors": {
            "title": "Include failed requests in the dataset",
            "type": "boolean",
            "description": "When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.",
            "default": 3
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}