Global Fishing Watch API
Examples4Wings Reports

Report region id (Chile) daily grided data and filter by unmatched detections (JSON)

Example 4Wings report of daily gridded data for Chile, filtered to SAR detections unmatched to AIS, as JSON.

To get details of existing regions, check Regions in the Reference data section

Query parameters

ParameterValueDescription
spatial-resolutionHIGHHigh spatial resolution
temporal-resolutionHOURLYAggregate by hour
datasets[0]public-global-sar-presence:latestSAR vessel detections dataset
date-range2022-01-01,2022-01-06Filter to this time period
formatJSONResponse format
filters[0]matched='false'Only detections that didn't match with AIS vessels

Request body

FieldValueDescription
region.datasetpublic-eez-areasExisting region dataset
region.id8465Chile EEZ region id

Request

# Make sure to replace [TOKEN] with your API Access Token.
 curl --location --globoff 'https://gateway.api.globalfishingwatch.org/v3/4wings/report?spatial-resolution=HIGH&temporal-resolution=HOURLY&datasets[0]=public-global-sar-presence%3Alatest&date-range=2022-01-01%2C2022-01-06&format=JSON&filters[0]=matched%3D%27false%27' \
 --header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
    "region": {
        "dataset": "public-eez-areas",
        "id": 8465
    }
}'

Response

{
  "total": 1,
  "limit": null,
  "offset": null,
  "nextOffset": null,
  "metadata": {},
  "entries": [
    {
      "public-global-sar-presence:v3.0": [
        {
          "date": "2022-01-05 23:00",
          "detections": 1,
          "lat": -52.66,
          "lon": -72.19
        },
        {
          "date": "2022-01-05 23:00",
          "detections": 1,
          "lat": -52.57,
          "lon": -72.03
        }
      ]
    }
  ]
}