CruiseMapper cruise port
A cruise port: country, region, rating, local time and weather, this month's ship calls (or the month you choose) with the months that have a schedule, the site's port guide text and the latest related news.
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 | Schedule month (YYYY-MM, default the current month); months_available lists the months with a schedule. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/cruisemapper/v1/port?port=Barcelona" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/cruisemapper/v1/port",
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");
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)
{"id": 82,"name": "Barcelona (Spain)","url": "https://www.cruisemapper.com/ports/barcelona-port-82","country": "Spain","country_code": "ES","description": "Barcelona (port locode ESBCN) is Spain's principal seaport and the Mediterranean's largest cruise port with turnaround operations (roundtrip…","image": "https://www.cruisemapper.com/images/ports/map/82.jpg","rating": 4,"rating_count": 280,"region": null,"local_time": "2026-11-04 11:33","schedule": {"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"]},"wiki": "Barcelona (port locode ESBCN) is Spain's principal seaport and the Mediterranean's largest cruise port with turnaround operations (roundtrip…","news": [{"title": "NCL-Norwegian opens bookings for Norwegian Bella, set to debut in the Mediterranean in 2028","url": "https://www.cruisemapper.com/news/16862-norwegian-opens-bookings-norwegian-bella","summary": "Norwegian Cruise Line (NCL) has opened bookings for Norwegian Bella, its next newbuild, which is scheduled to begin 7-day round-trip Mediter…","date": "2026-10-28","date_text": "October 28, 2026"},{"title": "MSC opened bookings for Magnifica ship's World Cruise 2029","url": "https://www.cruisemapper.com/news/16858-msc-cruises-opens-bookings-2029-world-cruise-aboard-magnifica","summary": "MSC Cruises has opened bookings for its 2029 World Cruise, MSC Magnifica's 119-night global itinerary featuring 45 destinations across 21 co…","date": "2026-10-21","date_text": "October 21, 2026"},"… 8 more"],"cached": false,"credits_used": 1}