Back to how-to articles
Integrated Deforestation Alerts x Global Forest Watch API
Last updated: July 3, 2025

Before you get started
If you are new to the Global Forest Watch API, it is a good idea to begin with the foundational guide. It covers essential steps like signing up, getting access token and API key. You can find it here:
Steps
- Find the version of the dataset
- Find the fields to query
- Make a query
Find the version
To receive data about the Integrated Deforestation Alerts dataset, you can use a GET
request to the /dataset/gfw_integrated_alerts
endpoint.
1curl -X GET 'https://data-api.globalforestwatch.org/dataset/gfw_integrated_alerts'
If successful, this will return a response like this, with metadata and versions:
1{
2 "data": {
3 "created_on": "2021-09-21T19:47:19.461669",
4 "updated_on": "2025-02-21T19:47:19.461675",
5 "dataset": "gfw_integrated_alerts",
6 "is_downloadable": true,
7 "metadata": {
8 ...
9 },
10 "versions": [
11 ...
12 "v20250619",
13 "v20250620"
14 ]
15 },
16 "status": "success"
17}
For the next steps you can pick a specific version of the dataset or just use /latest
for the latest version.
Find the relevant fields
Before querying the dataset, you will need to know what fields to get from the dataset. To retrieve this, you can use a GET
request to dataset/gfw_integrated_alerts/latest/fields
1curl -L -X GET 'https://data-api.globalforestwatch.org/dataset/gfw_integrated_alerts/latest/fields'
Integrated deforestation Alerts is a default raster asset. The response will include all Global Forest Watch raster tile sets that use the same grid as the raster default asset. Common fields like area__ha
, latitude
, and longitude
are also included.
The other relevant fields for Integrated Deforestation Alerts are:
- gfw_integrated_alerts__date
- The date the alert was issued or detected.
- gfw_integrated_alerts__confidence
"low"
= low ceetainty,"nominal"
= medium certainty,"high"
= strong evidence of actual forest disturbance.
- gfw_integrated_alerts__intensity
- A numeric value representing how strong or intense the alert signal is.
Query dataset
In addition to the dataset identifier gfw_integrated_alerts
and version, you need to construct an SQL
query and a geometry to limit the area of interest.
Limit data to area of interest
There are two ways to do this; using Geostore, or using GeoJson in a Post request. Both methods require geojson format. The possible geometry types available in Global Forest Watch is Polygon and MultiPolygon. To easily generate this format, visit https://geojson.io.
Using POST request with a polygon
Example using polygon:
1curl -L -X POST 'https://data-api.globalforestwatch.org/dataset/gfw_integrated_alerts/latest/query/json' \
2 -H 'x-api-key: <YOUR_API_KEY>' \
3 -H 'Content-Type: application/json' \
4 --data-raw '{
5 "sql": "SELECT longitude, latitude, gfw_integrated_alerts__date, gfw_integrated_alerts__intensity, gfw_integrated_alerts__confidence FROM results WHERE gfw_integrated_alerts__date >= '\''2025-06-04'\'' ",
6 "geometry": {
7 "type": "Polygon",
8 "coordinates": [[
9 [103.19732666015625, 0.5537709801264608],
10 [103.24882507324219, 0.5647567848663363],
11 [103.21277618408203, 0.5932511181408705],
12 [103.19732666015625, 0.5537709801264608]
13 ]]
14 }
15 }'
If successful the response will look something like this:
1{
2 "data": [
3 {
4 "latitude": 0.56275,
5 "longitude": 103.23655,
6 "gfw_integrated_alerts__date": "2025-06-04",
7 "gfw_integrated_alerts__intensity": 55,
8 "gfw_integrated_alerts__confidence": "nominal"
9 },
10 {
11 "latitude": 0.56275,
12 "longitude": 103.23665,
13 "gfw_integrated_alerts__date": "2025-06-04",
14 "gfw_integrated_alerts__intensity": 55,
15 "gfw_integrated_alerts__confidence": "nominal"
16 }
17 ],
18 "status": "success"
19}
You can read more about Geostore and constructing SQL queries from in the Global Forest Watch tutorial.