Global Fishing Watch API
Examples4Wings Bins

Get AIS vessel presence bins for zoom 1 in a daily interval

Example 4Wings bins request for the AIS vessel presence dataset at zoom 1 with a daily interval.

Path parameters

ParameterValueDescription
z1Zoom level

Query parameters

ParameterValueDescription
datasets[0]public-global-presence:latestAIS vessel presence dataset
temporal-aggregationfalseDon't aggregate values across time
num-bins9Number of bins to generate
intervalDAYDaily temporal resolution

Request

# Make sure to replace [TOKEN] with your API Access Token
curl --location --globoff 'https://gateway.api.globalfishingwatch.org/v3/4wings/bins/1?datasets[0]=public-global-presence%3Alatest&temporal-aggregation=false&num-bins=9&interval=DAY' \
  -H "Authorization: Bearer [TOKEN]" \

Response

{
  "total": 1,
  "limit": null,
  "offset": null,
  "nextOffset": null,
  "metadata": {},
  "entries": [
    [
      0, 12.345678901234567, 56.7890123456789, 145.23456789012345, 289.34567890123456,
      512.4567890123456, 789.0123456789012, 1234.5678901234567, 1890.1234567890123
    ]
  ]
}