Gangway AISGangway AISby Motto Marine International
DOCS · API v1
CoverageHomeSign inGet API key
Routes

Plan a routeGANGWAY ONLY

GET/v1/routes10 credits

A sea route between two positions, through the traffic separation schemes, with distance and legs. Give the vessel's length and draught to keep her in water deep enough.

Parameters

NameDescription
fromrequired
lat,lon
Start.
torequired
lat,lon
End.
length
metres
Vessel length.
draught
metres
Up to 30.
curl "https://gangwayais.com/v1/routes?from=51.95,4.0&to=50.8,-1.2" \
  -H "Authorization: Bearer $GANGWAY_KEY"
{
  "nm": 212.4,
  "via": [
    [
      51.95,
      4
    ],
    [
      51.6,
      2.5
    ],
    [
      51,
      1.45
    ],
    [
      50.8,
      -1.2
    ]
  ],
  "locks": [],
  "legs": [
    {
      "kind": "sea",
      "nm": 212.4
    }
  ],
  "inland": false,
  "ms": 84,
  "notice": "Not for navigation. AIS data can be missing, delayed or wrong. Never use it for navigation, collision avoidance, search and rescue or any safety-of-life decision."
}