Network
Traffic density
GET/v1/density5 credits
Vessels per grid cell, live or over the past hours, as GeoJSON, wherever we hear. Counts only.
Parameters
| Name | Description |
|---|---|
celldegrees | Live: 0.25 to 5, default 1. With hours: 0.1 to 2, default 0.25. |
hoursinteger | Past traffic over this many hours, 1 to 168. |
curl "https://gangwayais.com/v1/density?cell=5" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
2.5,
52.5
]
},
"properties": {
"n": 14
}
}
],
"cell": 5,
"hours": null,
"live": 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."
}
