grandline

Ports Lookup

Resolve a port name, UN-LOCODE, or coordinates into a canonical port record. Returns port_id, country_iso2, port_name, and lat/lon (from nearest polygon centroid).

get/api/v1/ports/lookup

Request

  • Base URL: https://grandline.luzomi.com
  • URL: https://grandline.luzomi.com/api/v1/ports/lookup
  • Auth: none declared

Query parameters

qstring required

Port name, UN-LOCODE, or lat,lon coordinates

Response

Successful Response

port_idinteger required
port_namestring required
country_iso2string required
latnumber nullable
lonnumber nullable
unlocodestring nullable
routableboolean

Changes

No recorded changes to this operation across all 1 revision of this API.