Endpoint: fires

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

https://api.aerisapi.com/fires/

Data CoverageContinental US, Alaska, Hawaii

Included With API Developer,  API Premium

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 enpoint'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), square (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 options 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.
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", "50miles". If no unit is provided, your value is assumed to be in meters by default.

The default radius is 50 miles if not specified within the endpoint description.
filter filter=:string Predefined filters for limiting the results. The filter value can be a single, comma-delimited or a semicolon delimited string of filter names.
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.
from from=:string Returns the results starting form the value specified.

Supports a UNIX timestamp or a specific date string. Alternatively, common date formats supported by the PHP strtotime() function will be accepted; however, commas are not accepted.

Examples:
from=tomorrow
from=friday
from=1302883980
from=7/10/2011
from=2011/07/10
from=+2hours
from=2017-02-27 5:00 PM
to to=:string Returns the results between now and the value specified. When used in conjunction with the from parameter, the value of to will be relative to the value of from, not relative to the current time.

Supports a UNIX timestamp or a specific date string. Alternatively, common date formats supported by the PHP strtotime() function will be accepted; however, commas are not accepted.

Examples:
to=+6hours
to=+5days
to=1302883980
to=7/10/2011
to=2011/07/10
to=2017-02-27 5:00 PM
callback callback=:functionName Used with JSONP implementation.

Defines the callback function to use for the response. The response will be enclosed as C(response), where C is the callback function provided.
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:

large Returns only confirmed large fires within the US as determined by the USFS.
critical Alias for "large".
modis Returns fire detections within North America and Hawaii as determined by MODIS satellites.

Supported Query Properties

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

id The reported fire ID.
type The type of fire observation. Refer to the report.type property for possible values.
conf The confidence of the fire as a percentage.
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.
source Station source of MODIS data and detection (for MODIS-detected fires only). Refer to the report.source property for possible values.
sat Satellite source of MODIS data and detection (for MODIS-detected fires only). Refer to the report.sat property for possible values.
dt The date of the fire.
width The recorded width of the fire.
height The recorded height of the fire.
temp The recorded temperature of the fire.

Sortable Fields

You can use the following fields to sort the data returned in your response:

id Sort based on the fire ID.
dt Sort based on the date time of the fire report.
type Sort based on the type of fire observation.
conf Sort based on the confidence of the fire.
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.
source Sort based on the station source that detected the fire.
sat Sort based on the satellite source that detected the fire.

Examples

Return fires with-in the last 24 hours near Minneapolis, MN.
/fires/closest?p=minneapolis,mn

Return only critical fire observations within the last 24 hours near Minneapolis, MN.
/fires/closest?p=minneapolis,mn&filter=critical

Return up to 50 critical fire observations with-in 200 miles of Reno, TX that have occurred in the last 6 months.
/fires/closest?p=reno,tx&filter=critical&radius=200miles&from=-6months&limit=50

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.


{
    id: "556c74673a751e88578b4579",
    loc: {
        long: -93.048,
        lat: 44.689
    },
    report: {
        id: "173828",
        type: "M",
        timestamp: 1326931200,
        dateTimeISO: "2012-01-18T18:00:00-06:00",
        name: null,
        location: "3 SSW of coates",
        startDateISO: null,
        startTimestamp: null,
        conf: 96,
        areaKM: 1,
        areaMI: 0.4,
        areaAC: 247.1,
        perContained: null,
        sat: {
            widthKM: 1,
            widthMI: 0.6,
            heightKM: 1,
            heightMI: 0.6,
            tempK: 352.6,
            tempC: 79.4,
            tempF: 175,
            source: "GSFC",
            sat: "A"
        },
        expContainedTimestamp: 1375315200,
        expContainedISO: "2013-07-31T16:00:00-08:00",
        cause: "lightning",
        imtType: 2,
        fuels: "black spruce, heavy blow-down. high 2441813.00 388comm",
        terrain: "high"        
    },
    place: {
        name: "coates",
        state: "mn",
        country: "us"
    },
    profile: {
        tz: "America/Chicago"
    },
    relative: {
        lat: 44.97997,
        long: -93.26384,
        bearing: 152,
        bearingENG: "SSE",
        distanceKM: 36.558,
        distanceMI: 22.716
    }
}
								

Response Properties

The following properties will be provided in every response object:

report.id (string) The ID of the fire.
report.type (string) The type of fire observation:
- L = Confirmed Large fire as determined by the USFS
- M = Fire detection by the MODIS Satellite
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. 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. 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) Object available for Satellite detected observations. NULL for Critical/Large observations.
report.sat.widthKM (number) Estimated width of fire in kilometers. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.sat.widthMI (number) Estimated width of fire in miles. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.sat.heightKM (number) Estimated height of fire in kilometers. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.sat.heightMI (number) Estimated height of fire in miles. NOTE: Satellite based observations are rough estimates only, limited by resolution of detection method.
report.sat.tempK (number) Measured brightness temperature of the detected fire in degrees Kelvin.
report.sat.tempC (number) Measured brightness temperature of the detected fire in degrees Celsius.
report.sat.tempF (number) Measured brightness temperature of the detected fire in degrees Fahrenheit.
report.sat.source (string) For MODIS detected fires only. Station source of MODIS data and detection:
- gsfc = NASA-Goddard Space Flight Center MODIS Rapid Response System
- rsac = USDA Forest Service Remote Sensing Application Center
- ssec = University of Wisconsin Space Science Engineering Center
- uaf = University of Alaska-Fairbanks
report.sat.sat (string) For MODIS detected fires only. Satellite source of MODIS data and detection:
- T = TERRA MODIS
- A = AQUA MODIS
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 (number) Incident team type: 0, 1 or 2. 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.
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.