Endpoint: fires

The fires data set contains data for currently active wildfires across the U.S. and Canada, including the type of fire, area, cause, and percent contained.

Use our wizard to try out this endpoint

Supported Actions

The following actions are supported with the fires endpoint:

:id Requesting data by using the :id action is used for returning data for a particular item that has an ID associated with it. This is the primary method for requesting general weather information for a single location (observations, forecasts, advisories, etc.) as the location's name or a zip code serves as the id. Other endpoints may expect a certain value for the ID, such as storm cells whose ID value is a combination of the radar site identifier and unique identifier assigned to every storm cell. Refer to an endpoint's detailed documentation for specific information regarding how to use the :id action.
closest The closest action will query the API for data that is closest to the requested place and return the results, if any, in order from closest to farthest. If no limit is provided in the request, then only the closest single result will be returned.

If your request does not return results, you may try setting or increasing the radius being used.
within The within action allows for returning data within a variety of different geometrical regions. Currently supported geometries include a circle (requires a center point and radius), rectangle (requires two coordinate points defining the top-left and bottom-right corners) and polygon (requires at least three coordinate points). Unlike the closest action, the results will not be returned in any particular order based on distance.
search The search action is used as a more general query method and expects the query to be defined with the custom query for the request. Unlike the closest action, results will not be returned in any particular order.

Supported Parameters

The following parameters are optional unless otherwise noted:

p p=:place Defines the location to query data for. Refer to the list of supported place value formats.
limit limit=:total The total number of results to return as an integer. Each endpoint may have a set maximum for this value depending on usage.

The default limit is 1 if not specified. The maximum limit for this endpoint is 250.
radius radius=:distance:unit When requesting the closest results within a circle, the radius determines how far from the specified location to search. A valid unit value must be included in your radius value, e.g., "5mi", "10km", "25miles". If no unit is provided, your value is assumed to be in meters by default.

Most endpoints utilize a default radius of 50 miles, though some endpoints, such as lightning, may have tighter restrictions specified.
minradius minradius=:distance:unit When requesting the closest results within a circle, the minradius determines how far from the specified location to search to begin searching results. A valid unit value must be included in your minimum radius value, e.g., "5mi", "10km", or "25miles". If no unit is provided, your value is assumed to be in meters by default.
When combined with the radius parameter, donut style queries can be made for point data, such as lightning.
query query=:string Used to filter results based on certain fields in the data set. See Advanced Queries for more details.
sort sort=:string Used to sort results based on certain fields in the data set. See Sorting for more details.
skip skip=:number Used to skip over a specific number of results in the data set.
fields fields=:string Provides a comma separated list of values for the API to return. This parameter is often used to limit the amount of data returned. See Reducing Output.

Supported Filters

The following filters can be passed to the filter parameter to reduce the results that are returned:

geo Include the fire coverage perimeter information and polygon when available. Note fire perimeters are normally available for some, but not all, large US fires.
hasperimeter Return only fires that have perimeter information.
hasnoperimeter Return only fires that do not include perimeter information.

Supported Query Properties

Use the following supported property keys when creating custom queries for your requests:

id The reported fire ID.
dt The date of the fire.
area The area of the fire in acres.
name The closest city to the fire observation.
state The state of the closest city to the fire observation.
country The country of the closest city to the fire observation.
conf The confidence of the fire as a percentage.

Sortable Fields

Default Sort: dt (desc)

You can use the following fields to sort data. Review the sorting docs page for more information on the sort functionality.

id Sort based on the fire ID.
dt Sort based on the date time of the fire report.
area Sort based on the area of the fire in acres.
name Sort based on the closest city name.
state Sort based on the state of the closest city.
country Sort based on the country of the closest city.
conf Sort based on the confidence of the fire.

Examples

The /[:endpoint]/[:action]? portion within the query template below can be exchanged with any of the examples. Also, please note you will need to input your client credentials in the [ID] and [SECRET] fields which can be found under the Apps section of the members area.

https://api.aerisapi.com/[:endpoint]/[:action]?client_id=[ID]&client_secret=[SECRET]

Return the active fires near Minneapolis, MN.
/fires/closest?p=minneapolis,mn&

Return the active fires within a bounding box surrounding california
/fires/within?p=32.53156,-124.409591,42.009518,-114.131211

Return the active fires that are within California
/fires/search?query=state:ca

Return only fires with perimeter and include the perimeter polygon.
/fires/search?filter=hasperimeter&filter=geo

Response

The following is an example of what each object in the response will consist of. Depending on your requested action, the response may contain multiple instances of this object within an array.

Default
GeoJSON

{
   "success":true,
   "error":null,
   "response":[
      {
         "id":"618950cd20772d83b603fa92",
         "dataSource":"NIFC",
         "loc":{
            "long":-118.7675125,
            "lat":36.507255083
         },
         "report":{
            "id":"2021-CAKNP-000118",
            "type":"L",
            "timestamp":1639435324,
            "dateTimeISO":"2021-12-13T14:42:04-08:00",
            "name":"Paradise",
            "location":"Sequoia National Park",
            "startTimestamp":1631298120,
            "startDateISO":"2021-09-10T11:22:00-07:00",
            "conf":100,
            "areaKM":33.2,
            "areaMI":12.8,
            "areaAC":8204.4688,
            "perContained":0,
            "sat":null,
            "expContainedTimestamp":null,
            "expContainedISO":null,
            "cause":"Natural",
            "imtType":2,
            "fuels":"Timber (Litter and Understory)",
            "terrain":null
         },
         "place":{
            "name":"three rivers",
            "state":"ca",
            "country":"us"
         },
         "profile":{
            "tz":"America\/Los_Angeles"
         },
         "perimeter":{
            "startTimestamp":1631875980,
            "startDateISO":"2021-09-17T03:53:00-07:00",
            "modifiedTimestamp":1631896574,
            "modifiedDateISO":"2021-09-17T09:36:14-07:00",
            "areaKM":33.2,
            "areaMI":12.8,
            "areaAC":8203.024727529,
            "polygon":{
               "type":"MultiPolygon",
               "coordinates":[
                  [
                     [
                        [
                           -118.768465347,
                           36.521947813
                        ],
                        [
                           -118.768473955,
                           36.521978558
                        ],
                        [
                           -118.768494041,
                           36.522050297
                        ],
                        [
                           -118.768614809,
                           36.522036141
                        ],
                        [
                           -118.768630484,
                           36.521958294
                        ],
                        [
                           -118.768541747,
                           36.52190902
                        ],
                        [
                           -118.768465347,
                           36.521947813
                        ]
                     ]
                  ],
                  [
                     [
                        [
                           -118.772163154,
                           36.483477751
                        ],
                        [
                           -118.772159177,
                           36.483550812
                        ],
                        [
                           -118.772185925,
                           36.483596628
                        ],
                        [
                           -118.772242019,
                           36.483586812
                        ],
                        [
                           -118.772299042,
                           36.483506188
                        ],
                        [
                           -118.772287656,
                           36.48344675
                        ],
                        [
                           -118.772218381,
                           36.483430123
                        ],
                        [
                           -118.772163154,
                           36.483477751
                        ]
                     ]
                  ]
               ]
            }
         }
      }
   ]
}
								

{
   "type":"FeatureCollection",
   "features":[
      {
         "type":"Feature",
         "geometry":{
            "type":"Point",
            "coordinates":[
               -118.7675125,
               36.507255083
            ]
         },
         "properties":{
            "id":"618950cd20772d83b603fa92",
            "dataSource":"NIFC",
            "loc":{
               "long":-118.7675125,
               "lat":36.507255083
            },
            "report":{
               "id":"2021-CAKNP-000118",
               "type":"L",
               "timestamp":1639435324,
               "dateTimeISO":"2021-12-13T14:42:04-08:00",
               "name":"Paradise",
               "location":"Sequoia National Park",
               "startTimestamp":1631298120,
               "startDateISO":"2021-09-10T11:22:00-07:00",
               "conf":100,
               "areaKM":33.2,
               "areaMI":12.8,
               "areaAC":8204.4688,
               "perContained":0,
               "sat":null,
               "expContainedTimestamp":null,
               "expContainedISO":null,
               "cause":"Natural",
               "imtType":2,
               "fuels":"Timber (Litter and Understory)",
               "terrain":null
            },
            "place":{
               "name":"three rivers",
               "state":"ca",
               "country":"us"
            },
            "profile":{
               "tz":"America\/Los_Angeles"
            },
            "perimeter":{
               "startTimestamp":1631875980,
               "startDateISO":"2021-09-17T03:53:00-07:00",
               "modifiedTimestamp":1631896574,
               "modifiedDateISO":"2021-09-17T09:36:14-07:00",
               "areaKM":33.2,
               "areaMI":12.8,
               "areaAC":8203.024727529
            }
         }
      },
      {
         "type":"Feature",
         "geometry":{
            "type":"MultiPolygon",
            "coordinates":[
               [
                  [
                     [
                        -118.768465347,
                        36.521947813
                     ],
                     [
                        -118.768473955,
                        36.521978558
                     ],
                     [
                        -118.768494041,
                        36.522050297
                     ],
                     [
                        -118.768614809,
                        36.522036141
                     ],
                     [
                        -118.768630484,
                        36.521958294
                     ],
                     [
                        -118.768541747,
                        36.52190902
                     ],
                     [
                        -118.768465347,
                        36.521947813
                     ]
                  ]
               ],
               [
                  [
                     [
                        -118.772163154,
                        36.483477751
                     ],
                     [
                        -118.772159177,
                        36.483550812
                     ],
                     [
                        -118.772185925,
                        36.483596628
                     ],
                     [
                        -118.772242019,
                        36.483586812
                     ],
                     [
                        -118.772299042,
                        36.483506188
                     ],
                     [
                        -118.772287656,
                        36.48344675
                     ],
                     [
                        -118.772218381,
                        36.483430123
                     ],
                     [
                        -118.772163154,
                        36.483477751
                     ]
                  ]
               ]
            ]
         },
         "properties":{
            "id":"618950cd20772d83b603fa92",
            "dataSource":"NIFC",
            "loc":{
               "long":-118.7675125,
               "lat":36.507255083
            },
            "report":{
               "id":"2021-CAKNP-000118",
               "type":"L",
               "timestamp":1639435324,
               "dateTimeISO":"2021-12-13T14:42:04-08:00",
               "name":"Paradise",
               "location":"Sequoia National Park",
               "startTimestamp":1631298120,
               "startDateISO":"2021-09-10T11:22:00-07:00",
               "conf":100,
               "areaKM":33.2,
               "areaMI":12.8,
               "areaAC":8204.4688,
               "perContained":0,
               "sat":null,
               "expContainedTimestamp":null,
               "expContainedISO":null,
               "cause":"Natural",
               "imtType":2,
               "fuels":"Timber (Litter and Understory)",
               "terrain":null
            },
            "place":{
               "name":"three rivers",
               "state":"ca",
               "country":"us"
            },
            "profile":{
               "tz":"America\/Los_Angeles"
            },
            "perimeter":{
               "startTimestamp":1631875980,
               "startDateISO":"2021-09-17T03:53:00-07:00",
               "modifiedTimestamp":1631896574,
               "modifiedDateISO":"2021-09-17T09:36:14-07:00",
               "areaKM":33.2,
               "areaMI":12.8,
               "areaAC":8203.024727529
            }
         }
      }
   ]
}
								

Response Properties

The following properties will be provided in every response object:

report.id (string) The ID of the fire.
report.type (string) (Deprecated) The type of fire observation:
- L = Confirmed Large fire as determined by the USFS
report.timestamp (number) UNIX timestamp of the fire observation.
report.dateTimeISO (string) ISO 8601 date of the observation, localized to the observation location.
report.name (string) For critical/large fires a name may be given. NULL if no name.
report.location (string) Description of location of the fire.
report.startTimestamp (number) UNIX timestamp of the start of the fire. Usually only given for Critical/Large fires, but not always. NULL if not available.
report.startDateISO (string) ISO 8601 date of the start date of the fire, localized to the observation location. Usually only given for Critical/Large fires, but not always. NULL if not available.
report.conf (number) The confidence of the fire as a percentage.
report.areaKM (number) The estimated coverage area of the fire in square kilometers. NULL if unknown. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.areaMI (number) The estimated coverage area of the fire in square miles. NULL if unknown. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.areaAC (number) The estimated coverage area of the fire in acres. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.perContained (number) The percentage of the fire that is contained. Usually only given for Critical/Large fires, but not always. NULL if not available.
report.sat (object) (Deprecated) Object available for Satellite detected observations. Will be NULL
report.expContainedTimestamp (number) UNIX timestamp of the expected date of containment. NULL if unknown.
report.expContainedISO (string) ISO 8601 date of the expected date of containment. NULL if unknown.
report.cause (string) Cause of the fire. NULL if unknown.
report.imtType (string) Incident team type: 0, 1, 2, other, or nimo. NULL if unknown. Utilized with large fires, data provided by USFS.
report.fuels (string) Fuels for the fire. NULL if unknown.
report.terrain (string) Information on the terrain. NULL if unknown.
perimeter (object) Fire perimeter information. Currently available for larger US fires. NULL if not available
perimeter.startTimestamp (number) The UNIX timestamp of the start of the fire perimeter. Often matches to the fire report.startTimestamp, though some fires may represent the data the perimeter was created.
perimeter.startDateISO (string) The ISO 8601 timestamp of the start of the fire perimeter. Often matches to the fire report.startDateISO, though some fires may represent the data the perimeter was created.
perimeter.modifiedTimestamp (number) The UNIX timestamp of the date and time the fire perimeter information was last updated.
perimeter.modifiedDateTimeISO (string) The ISO 8601 timestamp of the date and time the fire perimeter information was last updated.
perimeter.areaKM (number) The area of the fire perimeter in square kilometers.
perimeter.areaMI (number) The area of the fire perimeter in square miles.
perimeter.areaAC (number) The area of the fire perimeter in acres.
perimeter.polygon (object) The perimeter polygon as a GeoJSON object. Null if filter=geo is not provided.
perimeter.polygon.type (string) The type of fire perimeter GeoJSON object. Will be either Polygon or MultiPolygon
perimeter.polygon.coordinates (array) An array of the GeoJSON fire perimeter.
loc.long (number) The longitude coordinate of the record.
loc.lat (number) The latitude coordinate of the record.
place.name (string) The place or nearest place to the record.
place.state (string) The state abbreviation in which the record is located. This may be null depending on the country.
place.country (string) The country abbreviation in which the record is located.
profile.tz (string) The timezone name association with the record's location.
relativeTo.lat (number) Latitude coordinate of the location used for the request. This may be different than the record's loc.lat value if there was no record exactly at the request location.
relativeTo.long (number) Longitude coordinate of the location used for the request. This may be different than the record's loc.long value if there was no record exactly at the request location.
relativeTo.bearing (number) Bearing in degrees of the record's location relative to the location used for the request.
relativeTo.bearingEng (string) Cardinal direction of the record relative to the location used for the request.
relativeTo.distanceKM (number) Distance, in kilometers, from the requested location to the record's actual location.
relativeTo.distanceMI (number) Distance, in miles, from the requested location to the record's actual location.

Last modified: October 05, 2022