Ports
Search ports
GET/v1/ports/searchfree
Find ports by name, UN/LOCODE or English name, ranked by traffic. Or the nearest ports to a position with near.
Parameters
| Name | Description |
|---|---|
qstring | Name or code. |
nearlat,lon | Instead of q: the three nearest ports. |
limitinteger | 1 to 12. Default 8. |
curl "https://gangwayais.com/v1/ports/search?q=Dunkerque" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"ports": [
{
"code": "FRDKK",
"name": "Dunkerque",
"country": "FR",
"lat": 51.05,
"lon": 2.37,
"ships": 42,
"major": true
}
],
"attribution": {
"barentswatch": "Gangway AIS (https://gangway.app). Data delivered by BarentsWatch. Contains data under the Norwegian licence for Open Government data (NLOD) distributed by the Norwegian Coastal Administration."
},
"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."
}
