# CruiseMapper Sailing Search by Destination & Date (`dataspryva/cruisemapper-sailing-search-by-destination`) Actor

Search CruiseMapper cruise sailings by destination, ship, cruise line, departure port, length, and date, with route, duration, and starting price per sailing.

- **URL**: https://apify.com/dataspryva/cruisemapper-sailing-search-by-destination.md
- **Developed by:** [Dataspryva](https://apify.com/dataspryva) (community)
- **Categories:** Travel, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CruiseMapper Sailing Search by Destination & Date

Search CruiseMapper's public cruise database by destination, ship, cruise line, date, length, theme, and price, and get back one structured record per sailing with departure date, route, nights, and starting price.

### What this actor does

- Searches cruise sailings by any combination of destination region, cruise theme, date range, length, cruise line, ship, departure port, and port of call
- Accepts full CruiseMapper search URLs directly, merging and deduplicating their results with any other filters you set
- Caps results by a minimum and maximum starting price and a maximum number of records
- Jumps directly to the first result page for a future departure date, so a date far beyond today still returns sailings instead of walking page by page
- Can enrich each unique ship in the results with its own specifications (year built, tonnage, passenger capacity, cabins, and more)
- Leaves out any field a sailing doesn't have, such as a starting price the cruise line hasn't published, rather than returning it empty

### Output per sailing

- `departureDate`, `departureDateText` — parsed ISO date and the original date text as shown on the page
- `daysUntilDeparture` — days from now until departure; negative for past sailings
- `shipName`, `shipUrl` — vessel name and its CruiseMapper detail page
- `duration` — cruise length in nights
- `routeType` — `round-trip`, `one-way`, `open-jaw`, or `transatlantic`, when CruiseMapper's own listing states it
- `title` — the cruise itinerary's title
- `priceFrom`, `currency` — starting price, when the cruise line has published one
- `shipDetails` — present only when ship enrichment is turned on: `yearBuilt`, `builder`, `shipClass`, `flagState`, `speed`, `lengthMeters`, `beamMeters`, `draftMeters`, `grossTonnage`, `passengerCapacity`, `crewCount`, `deckCount`, `cabinCount`, `decksWithCabins`, `engines`, `owner`, `operator`, and other specs CruiseMapper publishes for that ship
- `scrapedAt`

When a search matches no sailings at all, the run finishes with a single informational record instead of an empty, silent dataset.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `departureFrom` | string | – | Earliest departure date (`YYYY-MM-DD`); defaults to today if left empty, so past sailings are dropped |
| `endDate` | string | – | Latest departure date (`YYYY-MM-DD`); no upper bound if left empty |
| `cruiseLength` | string (select) | `any` | `any`, `1-2`, `3-5`, `6-10`, `11-14`, or `15+` nights |
| `destination` | string (select) | `any` | Destination region, e.g. `alaska`, `mediterranean-black-sea`, `bahamas-caribbean-bermuda`, `nile-river` |
| `cruiseType` | string (select) | `any` | Cruise theme, e.g. `transatlantic`, `christmas`, `food-wine`, `panama-canal` |
| `shipName` | string | – | Ship name, matched as a substring, e.g. `Symphony of the Seas` |
| `cruiseLine` | string | – | Cruise line, e.g. `Royal Caribbean`, `Carnival` |
| `departurePort` | string | – | Embarkation port, e.g. `Miami`, `Barcelona` |
| `portOfCall` | string | – | An intermediate port the cruise must stop at, e.g. `Cozumel` |
| `maxPrice` | integer | `10000` | Drop sailings with a starting price above this amount, in USD (100-100000) |
| `minPrice` | integer | `0` | Drop sailings with a starting price below this amount, in USD (0-100000). Unpriced sailings are dropped when set above 0 |
| `maxResults` | integer | `50` | Hard cap on sailings returned (1-500) |
| `enrichWithShipData` | boolean | `false` | Fetch each unique ship's own detail page and add a `shipDetails` block |
| `startUrls` | array | `[]` | Full CruiseMapper search URLs to run alongside the filters above |

#### Example: Alaska cruises this summer, 6-10 nights

```json
{
  "departureFrom": "2026-06-01",
  "endDate": "2026-09-30",
  "cruiseLength": "6-10",
  "destination": "alaska",
  "maxResults": 100
}
```

#### Example: a specific ship, enriched with ship specs

```json
{
  "shipName": "Symphony of the Seas",
  "enrichWithShipData": true,
  "maxResults": 20
}
```

#### Example: budget Caribbean sailings from Miami

```json
{
  "destination": "bahamas-caribbean-bermuda",
  "departurePort": "Miami",
  "maxPrice": 1500,
  "maxResults": 50
}
```

### Use cases

- Feeding a travel-planning tool with current cruise inventory for a destination
- Tracking starting-price trends for a specific ship, cruise line, or route over time
- Comparing what different cruise lines charge for similar itineraries
- Building a "cruises departing this month from <port>" content digest
- Cross-referencing ship specifications (capacity, tonnage, cabins) against sailing options

### Limitations

- CruiseMapper's search results do not publish the cruise line in each row, so records identify the ship (with its ship URL) rather than the line.
- The public listing is a sailing summary, not a full day-by-day itinerary; port-by-port call times are not exposed here.
- Starting prices are shown only for the sailings where the cruise line publishes them. Unpriced sailings are omitted from price fields rather than guessed.
- One search query examines at most 200 result pages (about 3,000 rows). Narrow broad searches with destination, length, port, ship, line, or price filters to reach deeper result sets.
- `maxResults` is capped at 500 per run.

### FAQ

**Do I need a proxy or cookies?**
No — CruiseMapper's search results are public, and this actor doesn't require either.

**Why is `priceFrom` missing on some sailings?**
A meaningful share of CruiseMapper listings don't publish a starting price, usually because the cruise line requires a direct inquiry. When no price is published, the field is simply left out rather than shown as empty.

**How many results can one run return?**
Up to `maxResults`, capped at 500. For a date far in the future, the actor skips directly to the first relevant result page.

**Can I fetch full ship details for every result?**
Yes — turn on `enrichWithShipData`; each unique ship across your results is fetched once and attached as a `shipDetails` block.

**Why is `routeType` sometimes empty?**
CruiseMapper only labels a sailing's route type in its title for some cruises. When the title doesn't carry a recognizable route-type prefix, the field is left out.

**What happens if my filters match nothing?**
The run still completes successfully with a single record explaining that no sailings matched, instead of silently returning an empty dataset.

**Can I combine a pasted search URL with the filter fields?**
Yes — `startUrls` and the filter inputs run together, and the combined results are deduplicated. A `page` value inside a pasted URL is ignored so the actor can paginate from the first matching page.

**Do old CruiseMapper input keys still work?**
Yes. Older saved tasks that send `startDate`, `maxPriceUsd`, `minPriceUsd`, `maxItems`, `minNights`, or `maxNights` are read and mapped in code.

**Is this affiliated with CruiseMapper?**
No. This is an independent actor that reads CruiseMapper's publicly accessible search pages.

# Actor input Schema

## `departureFrom` (type: `string`):

Earliest cruise departure date (`YYYY-MM-DD`). Cruises before this date are dropped. Optional.

## `endDate` (type: `string`):

Latest cruise departure date (`YYYY-MM-DD`). Cruises after this date are dropped (filtered after fetch). Optional.

## `cruiseLength` (type: `string`):

Trip duration in nights.

## `destination` (type: `string`):

Cruise destination region (matches CruiseMapper's port-region taxonomy).

## `cruiseType` (type: `string`):

Cruise theme / category (e.g. transatlantic, christmas, food-wine).

## `shipName` (type: `string`):

Filter by ship name (substring match, e.g. `Symphony of the Seas`).

## `cruiseLine` (type: `string`):

Filter by cruise line (e.g. `Royal Caribbean`, `Carnival`).

## `departurePort` (type: `string`):

Filter by embarkation port (e.g. `Miami`, `Barcelona`).

## `portOfCall` (type: `string`):

Filter by intermediate port-of-call (e.g. `Cozumel`).

## `maxPrice` (type: `integer`):

Drop cruises whose starting price exceeds this amount (USD). Default = 10000.

## `minPrice` (type: `integer`):

Drop cruises whose starting price is below this amount (USD). Unpriced sailings are dropped when this is above 0. Default = 0.

## `maxResults` (type: `integer`):

Hard cap on cruises emitted across all pages.

## `enrichWithShipData` (type: `boolean`):

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.

## `startUrls` (type: `array`):

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.

## Actor input object example

```json
{
  "departureFrom": "",
  "endDate": "",
  "cruiseLength": "any",
  "destination": "any",
  "cruiseType": "any",
  "maxPrice": 100000,
  "minPrice": 0,
  "maxResults": 3,
  "enrichWithShipData": false,
  "startUrls": []
}
```

# Actor output Schema

## `sailings` (type: `string`):

Dataset containing all scraped CruiseMapper sailings.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "departureFrom": "",
    "endDate": "",
    "cruiseLength": "any",
    "destination": "any",
    "cruiseType": "any",
    "maxPrice": 100000,
    "minPrice": 0,
    "maxResults": 3,
    "enrichWithShipData": false,
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataspryva/cruisemapper-sailing-search-by-destination").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "departureFrom": "",
    "endDate": "",
    "cruiseLength": "any",
    "destination": "any",
    "cruiseType": "any",
    "maxPrice": 100000,
    "minPrice": 0,
    "maxResults": 3,
    "enrichWithShipData": False,
    "startUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("dataspryva/cruisemapper-sailing-search-by-destination").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "departureFrom": "",
  "endDate": "",
  "cruiseLength": "any",
  "destination": "any",
  "cruiseType": "any",
  "maxPrice": 100000,
  "minPrice": 0,
  "maxResults": 3,
  "enrichWithShipData": false,
  "startUrls": []
}' |
apify call dataspryva/cruisemapper-sailing-search-by-destination --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataspryva/cruisemapper-sailing-search-by-destination"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/efFxc0D9cxYc3hjta/builds/g3WJLroR3mYgIhxUl/openapi.json
