Get itinerary by hash.

This endpoint retrieves detailed itinerary information for a specific route, identified by its unique hash.
Itinerary hashes are generated and returned in the /co2/v2/plan response, allowing users to request detailed routing information for a given carrier and port pair.

The response provides:

  • Itinerary-level details (duration, distance, COโ‚‚e emissions).
  • Leg-specific details (departure and arrival days, port of calls, service ID).
  • Route geometry (LineString in GeoJSON format).

Response

The response is a GeoJSON FeatureCollection, where:

  • Each Feature represents a leg of the itinerary.
  • Properties contain key details such as transit time, COโ‚‚ emissions, and ports of call.
  • Geometry provides the route geometry as a LineString in GeoJSON format.
FieldDescription
duration.daysEstimated transit time in days, including transhipments and waiting time in ports.
duration.msEstimated transit time in milliseconds.
departure.dayNumberRepresents the starting reference day of the journey.
arrival.dayNumberRepresents the arrival day relative to the departure day.
from.locodeDeparture port UN/LOCODE.
from.nameDeparture port name.
to.locodeArrival port UN/LOCODE.
to.nameArrival port name.
distanceTotal itinerary distance (in meters).
modeMode of transport ("SEA").
serviceIdService ID associated with the leg. Retrievable with /search/v2/service/{id}.
callsList of intermediate port calls.
co2eEstimated COโ‚‚ emissions for the itinerary (in grams), corresponding to the load characteristics passed as input when searching for the itinerary
geometryGeoJSON LineString representing the legโ€™s route geometry.

Notes & Considerations

  • GeoJSON compliance: by default, the response includes a properties field at the FeatureCollection level. If full GeoJSON compliance is required, you should omit properties field.
  • Antimeridian crossing: if a LineString crosses the antimeridian (longitude ยฑ180ยฐ), the response may include longitude values greater than 180ยฐ or less than -180ยฐ. This behavior maintains continuity in a single LineString.
  • Hashes are not intended to be persisted or used as permanent references.

Support endpoints and resources

Language
Credentials
Header
Click Try It! to start a request and see the response here!