{
  "openapi": "3.0.1",
  "info": {
    "title": "CruiseMapper Cruises Scraper",
    "description": "Search CruiseMapper.com for cruise itineraries by destination, ship, cruise line, departure port, length, and date. Returns ship name, dates, route, duration, and starting price per cruise.",
    "version": "0.1",
    "x-build-id": "U9fb5OrYu3X3tcDoT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~cruisemapper-cruises-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-cruisemapper-cruises-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/crawlerbros~cruisemapper-cruises-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-cruisemapper-cruises-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/crawlerbros~cruisemapper-cruises-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-cruisemapper-cruises-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": {
          "departureFrom": {
            "title": "Earliest departure date",
            "type": "string",
            "description": "Earliest cruise departure date (`YYYY-MM-DD`). Cruises before this date are dropped. Optional."
          },
          "endDate": {
            "title": "Latest departure date (client-side filter)",
            "type": "string",
            "description": "Latest cruise departure date (`YYYY-MM-DD`). Cruises after this date are dropped (filtered after fetch). Optional."
          },
          "cruiseLength": {
            "title": "Cruise length",
            "enum": [
              "any",
              "1-2",
              "3-5",
              "6-10",
              "11-14",
              "15+"
            ],
            "type": "string",
            "description": "Trip duration in days.",
            "default": "any"
          },
          "destination": {
            "title": "Destination region",
            "enum": [
              "any",
              "alaska",
              "amazon-river",
              "arctic-antarctica",
              "asia",
              "asia-rivers",
              "australia-new-zealand-pacific",
              "bahamas-caribbean-bermuda",
              "baltic-norwegian-fjords-russia",
              "canada-usa-rivers",
              "east-coast-usa-canada",
              "europe-rivers",
              "africa-indian-ocean",
              "france-rivers",
              "galapagos-islands",
              "hawaii-mexico-panama",
              "iceland-greenland-faroe",
              "ireland-uk-british-isles",
              "mediterranean-black-sea",
              "nile-river",
              "russia-rivers",
              "south-america",
              "west-coast-usa-canada",
              "western-europe-azores-canary"
            ],
            "type": "string",
            "description": "Cruise destination region (matches CruiseMapper's port-region taxonomy).",
            "default": "any"
          },
          "cruiseType": {
            "title": "Cruise type",
            "enum": [
              "any",
              "easter",
              "christmas",
              "new-year",
              "chinese-new-year",
              "halloween",
              "thanksgiving",
              "independence-day",
              "food-wine",
              "music",
              "sport",
              "party",
              "northern-lights",
              "uk-school-breaks",
              "world",
              "nowhere",
              "mini",
              "christmas-new-year",
              "transatlantic",
              "transpacific",
              "suez-canal",
              "panama-canal",
              "reposition-spring",
              "reposition-summer",
              "reposition-autumn",
              "reposition-winter"
            ],
            "type": "string",
            "description": "Cruise theme / category (e.g. transatlantic, christmas, food-wine).",
            "default": "any"
          },
          "shipName": {
            "title": "Ship name",
            "type": "string",
            "description": "Filter by ship name (substring match, e.g. `Symphony of the Seas`)."
          },
          "cruiseLine": {
            "title": "Cruise line",
            "type": "string",
            "description": "Filter by cruise line (e.g. `Royal Caribbean`, `Carnival`)."
          },
          "departurePort": {
            "title": "Departure port",
            "type": "string",
            "description": "Filter by embarkation port (e.g. `Miami`, `Barcelona`)."
          },
          "portOfCall": {
            "title": "Port of call",
            "type": "string",
            "description": "Filter by intermediate port-of-call (e.g. `Cozumel`)."
          },
          "maxPrice": {
            "title": "Max starting price (USD)",
            "minimum": 100,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop cruises whose starting price exceeds this amount. Default = 10000.",
            "default": 10000
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on cruises emitted across all pages.",
            "default": 50
          },
          "enrichWithShipData": {
            "title": "Enrich with ship-detail data",
            "type": "boolean",
            "description": "When true, fetch the ship-detail page for each unique ship and add a `shipDetails` block (year built, builder, gross tonnage, passenger capacity, length, decks, cabins, etc.). Adds ~1 extra HTTP request per unique ship.",
            "default": false
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Paste full CruiseMapper search URLs (e.g. `https://www.cruisemapper.com/cruise-search?finder=cruise&portRegion=22&duration=3`). Each URL's query params become a search; results are merged and deduped with the main filter inputs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "pageConcurrency": {
            "title": "Parallel pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of pages to fetch in parallel per query. Higher values speed up bulk runs but may trigger rate-limits.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}