CruiseMapper port schedule
Every cruise ship call at a port in one month: date, weekday, ship, cruise line, arrival and departure times. next_month and prev_month give the neighbouring months; months_available lists every month with a schedule.
Every response includes credits_used: the credits this call cost.
Part of the CruiseMapper API: 15 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
portrequired | string | The port: its name (e.g. Barcelona), its CruiseMapper id (e.g. 82) or its cruisemapper.com/ports/... link. A name is matched with the site's port search. Example: Barcelona |
month | string | Month (YYYY-MM, default the current month). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/cruisemapper/v1/port/schedule?port=Barcelona" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/cruisemapper/v1/port/schedule",
params={"port": "Barcelona"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/cruisemapper/v1/port/schedule");
url.searchParams.set("port", "Barcelona");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"port": {"id": 82,"name": "Barcelona (Spain)","url": "https://www.cruisemapper.com/ports/barcelona-port-82","country": "Spain","country_code": "ES"},"month": "2026-11","next_month": "2026-12","prev_month": null,"months_available": ["2026-11","2026-12","… 29 more"],"count": 78,"calls": [{"date": "2026-11-01","weekday": "Sunday","ship": "Norwegian Epic","ship_url": "https://www.cruisemapper.com/ships/Norwegian-Epic-642","ship_id": 642,"cruise_line": "Norwegian Cruise Line","cruise_line_id": 10,"arrival": "06:00","departure": "17:00"},{"date": "2026-11-01","weekday": "Sunday","ship": "AIDAblu","ship_url": "https://www.cruisemapper.com/ships/AIDAblu-624","ship_id": 624,"cruise_line": "AIDA","cruise_line_id": 22,"arrival": "06:00","departure": "18:00"},"… 76 more"],"cached": false,"credits_used": 1}