get https://api.searoutes.com/geocoding/v2/port
This endpoint does forward geocoding: given a name or a locode, it returns ports matching the request with their name, locode, country, size, coordinates and whether the port is in an eca zone or not.
Use either locode
or query
, not both in the same query.