This API calculates FWI statistics for an Area of Interest (aoi_id, polygon, bbox, nuts_id).

The service responds with today's fwi data statistics plus a 9 day forecast.

<aside> 🌍 Coverage: Europe

</aside>

ENDPOINTS


GET /fwi
POST /fwi

Retrieve FWI statistics for a nuts_id, aoi_id, bbox…

You can request data in three different styles using a GET request. A geojson geometry has to be send in a POST request

Parameter Description Mandatory
aoi_id filter objects that are within one of your AOIs No
nuts_id filter by NUTS Area (only Europe) No
bbox filter by comma separated bounding box (southwestLng, southwestLat, northeastLng, northeastLat) No
grfs_id filter by Greek Forest Services Regions (kodikos__1 or dasarxeio) No
ctfs_id filter by Catalonia administrative division/regions (codicomar or capcomar) No

Returns

Returns a JSON Object with a list of FWI statistics for your area of interest, the current day and a 9 day forecast.

New FWI data is available at around 11am CET. If the data of the current day is not yet available, you get the statistics (and forecast) from yesterday.

GET /fwi

curl

curl <https://api.riscognition.io/fwi?nuts_id=DE21> \\
-H "Authorization: Bearer YOUR-API-KEY" \\

python

headers = {'Authorization': 'Bearer YOUR-API-KEY'}
	response = requests.get("<https://api.riscognition.io/fwi?nuts_id=DE21>", headers = headers)

Retrieve FWI statistics for a geometry, aoi_id, nuts_id or bbox

You can request data for your geometry in four different styles. The JSON Object has to be send in a POST request.

// Geojson Polygon
{
"geometry": {"type": "Polygon", "coordinates": [...]}
}

// AOI-ID (one of your AOIs in our database)
{
"aoi_id": "6df96044-eb05-473f-86bc-71107ff83be2"
}

// NUTS-ID
{
"nuts_id": "DE21"
}

// BBOX
{
"bbox": "1.1865234,50.4505090,4.2407226,51.7508394"
}

// [Greek Forest Services Regions](<https://geodata.gov.gr/en/dataset/dasikes-uperesies>)
// grfs_id can be either kodikos__1 or dasarxeio
{
"grfs_id": "2020"
}
// Catalonia administrative division/regions
// ctfs_id can be either codicomar or capcomar
{
"grfs_id": "4"
}

Returns

Returns JSON Object with a list of FWI statistics for your area of interest, the current day and a 9 day forecast.

New FWI data is available at around 11am CET. If the data of the current day is not yet available, you get the statistics (and forecast) from yesterday.

POST /fwi

curl

curl <https://api.riscognition.io/fwi> \\
-H "Authorization: Bearer YOUR-API-KEY" \\
-H "Content-Type: application/json" \\
-X POST \\
-d '{"geometry": { "type": "Polygon", "coordinates": [...]}}'

python

aoi = {
  "geometry": {
    "type": "Polygon",
    "coordinates": [...]
  }
}

headers = {'Authorization': 'Bearer YOUR-API-KEY', 'Content-Type': 'application/json'}
response = requests.post("<https://api.riscognition.io/fwi>", json=aoi, headers=headers)