Discover/Maersk API
live

Maersk APImaersk.com

Track Maersk containers, query active vessels and ports, check port-pair sailings, and browse 200+ shipping routes via a single REST API.

This API takes change requests — .
Endpoint health
verified 1d ago
list_active_ports
get_container_tracking
list_active_vessels
search_locations
check_port_pair_availability
5/5 passing latest checkself-healing
Endpoints
11
Updated
1d ago

What is the Maersk API?

The Maersk API covers 11 endpoints spanning container tracking, fleet data, port listings, location search, and point-to-point sailing availability. The get_container_tracking endpoint returns a full chronological event sequence — gate-out, load, discharge, arrivals — for any container number or Bill of Lading. Fleet and port data come from list_active_vessels and list_active_ports, while route discovery spans 25 categories and 200+ named routes.

This call costs1 credit / call— charged only on success
Try it
Container number (4 letters + 7 digits, e.g. MRKU9157416) or Bill of Lading number (9 characters)
api.parse.bot/scraper/0bef50e0-3839-4914-bb15-ebb7793a5b7d/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0bef50e0-3839-4914-bb15-ebb7793a5b7d/get_container_tracking?tracking_number=MRKU9157416' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 11 totalmissing one? ·

Retrieve container tracking information by container number. Returns shipment origin, destination, container details, and a chronological sequence of tracking events (gate-out, gate-in, load, discharge, arrivals, departures) with timestamps. Requires a valid active container or Bill of Lading number; returns input_not_found for numbers with no tracking data. The endpoint warms up an Akamai-protected session before querying, which adds one extra round-trip on first call.

Input
ParamTypeDescription
tracking_numberrequiredstringContainer number (4 letters + 7 digits, e.g. MRKU9157416) or Bill of Lading number (9 characters)
Response
{
  "type": "object",
  "fields": {
    "origin": "object with terminal, city, country, country_code, and location_code for shipment origin",
    "containers": "array of container objects with container_num, container_size, container_type, iso_code, operator, origin, destination, locations (tracking events), eta_final_delivery, and status",
    "destination": "object with terminal, city, country, country_code, and location_code for shipment destination",
    "last_update_time": "ISO 8601 timestamp of last tracking update",
    "is_container_search": "boolean indicating if this was a container number search"
  },
  "sample": {
    "status": "blocked",
    "message": "Blocked by ip_ban",
    "block_type": "ip_ban"
  }
}

About the Maersk API

Container Tracking and Fleet Data

The get_container_tracking endpoint accepts a container number (4 letters + 7 digits, e.g. MRKU9157416) or a 9-character Bill of Lading number. The response includes origin and destination objects with terminal, city, country, and UN location code, plus a containers array carrying per-container fields such as container_size, iso_code, operator, and a sequence of timestamped tracking events. last_update_time gives the ISO 8601 timestamp of the most recent data refresh. list_active_vessels returns the full active Maersk fleet — each vessel entry includes vesselIMONumber, vesselMaerskCode, flagISOCountryCode, and callSign.

Ports, Locations, and Geo IDs

list_active_ports returns every Maersk-served port worldwide, with fields including unLocationCode, portCode, regionCode, countryName, and cityName. To resolve a city or port name to coordinates and a Maersk-specific identifier, use search_locations with a city_name parameter; results include latitude, longitude, unLocCode, and maerskGeoLocationId. That maerskGeoLocationId is required input for check_port_pair_availability.

Sailing Availability and Route Discovery

check_port_pair_availability takes origin_geo_id and destination_geo_id (obtained from search_locations) and an optional departure_date in YYYY-MM-DD format. It searches a 4-week window and returns a sailings array with departure_date, arrival_date, transit_time as an ISO 8601 duration, route_code, and a vessels array per sailing. The is_bookable boolean indicates whether any sailings exist for the pair.

Route Browsing

Route discovery has four entry points. list_route_categories returns all 25 categories with their slugs. list_routes_by_category accepts a category_slug and returns matching routes. list_all_routes aggregates every route across all categories — 200+ entries — with a category_summary breakdown. search_routes matches a free-text query against route names, slugs, and category names, returning total_matches and a routes array. get_country_routes narrows results by region slug and country name, while get_route_details resolves a single route_code slug to an ordered port sequence with transit times.

Reliability & maintenanceVerified

The Maersk API is a managed, monitored endpoint for maersk.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when maersk.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official maersk.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track inbound shipments by container number and alert on gate-out or discharge events.
  • Build a port database by ingesting list_active_ports for all UN location codes and region codes.
  • Check whether a direct Maersk sailing exists between two ports before requesting a freight quote.
  • Look up vessel IMO numbers and flag countries for fleet compliance reporting.
  • Resolve city names to maerskGeoLocationId values to feed into availability checks.
  • Enumerate all routes in a category (e.g. intra-Asia-Pacific feeder routes) for network analysis.
  • Monitor transit times between a fixed port pair by polling check_port_pair_availability weekly.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Maersk offer an official developer API?+
Yes. Maersk publishes official APIs at developer.maersk.com, covering areas such as schedules, booking, and track-and-trace. Those APIs require registration and an API key directly with Maersk.
What exactly does get_container_tracking return, and does it cover all carriers?+
It returns origin and destination objects (terminal, city, country, UN location code), a containers array with size, ISO code, operator, and timestamped event sequences (gate-out, gate-in, load, discharge, arrivals, departures), and a last_update_time field. Coverage is limited to shipments visible in Maersk's tracking system; non-Maersk carrier containers are not included. You can fork the API on Parse and revise it to add endpoints targeting other carrier tracking pages.
How do I find the geo IDs needed for check_port_pair_availability?+
Call search_locations with a city_name string such as 'Rotterdam' or 'Singapore'. Each result includes a maerskGeoLocationId field, which is the value expected by origin_geo_id and destination_geo_id in check_port_pair_availability.
Does the API return live vessel positions or AIS location data?+
No. list_active_vessels returns fleet metadata — vessel name, IMO number, Maersk code, flag country, and call sign — but not real-time geographic positions or AIS tracks. You can fork the API on Parse and revise it to add a vessel-position endpoint sourced from a public AIS data provider.
Does check_port_pair_availability return freight rates or booking prices?+
No. The endpoint returns sailing dates, transit times (ISO 8601 duration), route codes, vessel names, and an is_bookable boolean, but no rate or price data. You can fork the API on Parse and revise it to add an endpoint that retrieves publicly visible spot rate data from Maersk's quote flow.
Page content last updated . Spec covers 11 endpoints from maersk.com.
Related APIs in Maps GeoSee all →
cma-cgm.com API
Track shipping routes and vessel schedules across CMA CGM's 280+ shipping lines, including detailed port-to-port rotations, fleet information, and service specifics. Search for specific routes or browse complete shipping schedules to plan logistics and monitor maritime transportation options.
marinetraffic.com API
Track maritime vessels in real-time by searching for ships by name, MMSI, or IMO number, viewing their current positions and navigational status, and accessing detailed specifications and photos. Filter vessels by type to get the maritime intelligence you need for shipping, logistics, or maritime awareness.
portofrotterdam.com API
Track live vessel movements and monitor port performance metrics including container throughput and anchorage statistics for the Port of Rotterdam. Access nautical notices and search detailed port information to stay updated on shipping operations and port conditions.
flexport.com API
Get real-time air and ocean freight rates, search shipping routes, and access logistics service information to compare pricing and plan international shipments. Discover popular routes and retrieve freight rate quotes for any origin-destination pair.
dsv.com API
Track your DSV shipments in real-time using reference numbers like STT numbers, waybill numbers, or container numbers to get up-to-date delivery status and location information. Monitor multiple shipment types across DSV's global network with a single lookup tool.
maritime-executive.com API
Search and access maritime news articles, industry insights, and directory listings from The Maritime Executive, with the ability to browse by category, listen to podcasts, and read magazine editions. Find the latest maritime industry information, company directories, and multimedia content all in one place.
portoflosangeles.org API
Access real-time container and tonnage statistics, browse terminal information and details, and retrieve the latest Port of Los Angeles news, key facts, and social media feeds.
sunway-logistics.com API
Access comprehensive Sunway Logistics service information including complete service listings and detailed descriptions of individual offerings to compare and select the right shipping solutions for your needs. Find specific service details like rates, coverage areas, and delivery options all in one place.