{
  "openapi": "3.0.1",
  "info": {
    "title": "CruiseMapper Scraper",
    "description": "[💰 $1.5 / 1K] Extract cruise itineraries, passenger ships, and ports from CruiseMapper — itinerary stops with dates, ship specs (capacity, year built, tonnage), and port schedules. Filter cruises by destination, dates, line, length, and price.",
    "version": "1.0",
    "x-build-id": "2Yp3z1NK8C8IqrH81"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~cruisemapper-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-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/solidcode~cruisemapper-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-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/solidcode~cruisemapper-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-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": {
          "searchType": {
            "title": "What to Scrape",
            "enum": [
              "cruises",
              "ships",
              "ports"
            ],
            "type": "string",
            "description": "Choose the type of CruiseMapper data to collect. Cruise itineraries are the most common choice.",
            "default": "cruises"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste CruiseMapper URLs directly (cruise search results, individual ship pages, or individual port pages). When provided, these override the filter fields below.",
            "items": {
              "type": "string"
            }
          },
          "destination": {
            "title": "Destination Region",
            "enum": [
              "iceland-greenland",
              "baltic-norwegian-fjords",
              "mediterranean",
              "west-coast-usa-canada",
              "east-coast-usa-canada-new-england",
              "hawaii-mexico-panama-canal",
              "caribbean",
              "south-america",
              "arctic-antarctica",
              "asia",
              "africa-indian-ocean",
              "australia-new-zealand-pacific",
              "europe-rivers",
              "canada-usa-rivers",
              "asia-rivers",
              "nile-river",
              "amazon-river",
              "ireland-uk-british-isles",
              "galapagos",
              "alaska",
              "western-europe-azores-canary",
              "france-rivers",
              "russia-rivers"
            ],
            "type": "string",
            "description": "Cruise destination region. Only used when scraping cruise itineraries."
          },
          "departurePort": {
            "title": "Departure Port",
            "type": "string",
            "description": "Filter by embarkation port (e.g. 'Miami', 'Barcelona')."
          },
          "portOfCall": {
            "title": "Port of Call",
            "type": "string",
            "description": "Filter to cruises that include this intermediate port."
          },
          "shipName": {
            "title": "Ship Name",
            "type": "string",
            "description": "Filter by ship name. Works in all three modes."
          },
          "cruiseLine": {
            "title": "Cruise Line",
            "type": "string",
            "description": "Filter by operator (e.g. 'Royal Caribbean', 'Carnival', 'Viking')."
          },
          "cruiseLength": {
            "title": "Cruise Length",
            "enum": [
              "1-2",
              "3-5",
              "6-10",
              "11-14",
              "15+"
            ],
            "type": "string",
            "description": "Voyage duration tier."
          },
          "startDate": {
            "title": "Earliest Departure Date",
            "type": "string",
            "description": "Only include cruises departing on or after this date (YYYY-MM-DD)."
          },
          "endDate": {
            "title": "Latest Departure Date",
            "type": "string",
            "description": "Only include cruises departing on or before this date (YYYY-MM-DD)."
          },
          "priceMin": {
            "title": "Minimum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cruises at or above this per-person price."
          },
          "priceMax": {
            "title": "Maximum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include cruises at or below this per-person price."
          },
          "portName": {
            "title": "Port Name",
            "type": "string",
            "description": "Filter ports by name (e.g. 'Miami', 'Barcelona'). Only used when scraping ports."
          },
          "includeUpcomingArrivals": {
            "title": "Include Upcoming Arrivals",
            "type": "boolean",
            "description": "When scraping ports, also fetch each port's upcoming-ship-arrivals schedule. Adds significant runtime — one extra request per scheduled month per port. To keep runs predictable, each port is capped at the first 3 months from today and 100 arrivals total.",
            "default": false
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of results to collect. Set to 0 for unlimited. The actor never trims mid-page — it stops requesting new pages once the cap is reached, so the final count may slightly overshoot.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}