Retrieve a vesselโs estimated future route between two ports from the Terminal49 API, returning a sequence of positions spaced one minute apart.
Documentation Index
Fetch the complete documentation index at: https://terminal49-codex-docs-audit-diataxis-skill.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Required | Description |
|---|---|---|
port_id | Yes | Destination port UUID for the forecasted leg |
previous_port_id | Yes | Previous port UUID for the same vessel leg |
GET /v2/containers/{id}/map_geojson and inspect the port features. Each port feature includes:
properties.location_id - the port UUID to pass as port_id or previous_port_idproperties.ports_sequence - the route orderproperties.label - route label such as POL, POD, or transshipment labelslocation_id as port_id, and the preceding portโs location_id as previous_port_id.Use a Terminal49 API key in the Authorization header with the Token prefix.
Authorization: Token YOUR_API_KEY
The destination port id
The previous port id