Reference

API reference

Base URL https://api.wildfiredata.dev. Every endpoint is a GET and returns JSON unless the path ends in another format.

Generated from the dataset contracts when this site was built. Add @{version} after any dataset id to pin a version (how). Errors are problem documents.

Endpoints

GET /v1

The API index for this site.

  • site, name, tagline
  • api_version: "v1"
  • links.catalog, links.status

Example: https://api.wildfiredata.dev/v1

GET /v1/catalog

Every dataset published on this site.

  • site
  • datasets[]: id, kind, title, description, current (version), published_at, cadence, check_every, sla, discontinued
  • datasets[].source: name, url, license, commercial_ok
  • datasets[].coverage: start, end

Example: https://api.wildfiredata.dev/v1/catalog

GET /v1/status

How fresh each dataset is.

  • site, generated_at, overall ("ok" or "degraded")
  • datasets[]: id, status, version, checked_at, source_updated_at, sla, consecutive_failures, last_error
  • status is one of ok, pending, late, stale-upstream, failing, blocked, discontinued

Example: https://api.wildfiredata.dev/v1/status

GET /v1/{dataset}

Metadata for one dataset: the version that answered, its coverage, source, validation and downloads.

  • dataset, kind, title, description, cadence
  • version, current_version, pinned, published_at
  • source: id, name, publisher, url, license, commercial_ok, attribution, retrieved_at, source_updated_at
  • coverage: start, end
  • validation: status (pass, warn), warnings[]
  • series[]: id, name; for tables also key[] and partition
  • downloads[]: name, bytes, url
  • links: locations, versions, this_version

Example: https://api.wildfiredata.dev/v1/active-fires

Errors: unknown-dataset , unknown-version , data-unavailable , and rate-limited for any endpoint.

GET /v1/{dataset}/versions

The version history.

  • dataset, current, published_at
  • previous[]: earlier version ids, newest first
  • snapshots: month (YYYY-MM) to version id

Example: https://api.wildfiredata.dev/v1/active-fires/versions

Errors: unknown-dataset , and rate-limited for any endpoint.

GET /v1/{dataset}/locations

What can be requested: each series with its location ids, or for tables the partitions (under the series id "table").

  • dataset, version, kind
  • series[]: id, name, locations[] (ids)
  • locations[]: id, name

Example: https://api.wildfiredata.dev/v1/active-fires/locations

Errors: unknown-dataset , unknown-version , and rate-limited for any endpoint.

GET /v1/{dataset}/{series}/{location}.json

One series at one place, ordered by date. Also .csv.

  • meta: dataset, series, series_name, location, location_name, units, source, license, attribution
  • data[]: one object per row, with the dataset's columns

Errors: unknown-file , unknown-format , and rate-limited for any endpoint.

GET /v1/{dataset}/table/{partition}.json

Rows of a table for one partition value; table/all has every row for tables up to 50,000 rows. Also .csv.

  • meta: dataset, key, partition (when partitioned), rows (count), units, source, license, attribution
  • rows[]: one object per row

Example: https://api.wildfiredata.dev/v1/active-fires/table/all.json

Errors: unknown-file , unknown-format , and rate-limited for any endpoint.

GET /v1/{dataset}/download/{dataset}.csv

The whole dataset in one file. Also .parquet. Series downloads add series and location columns.

  • CSV (text/csv) or Parquet (application/vnd.apache.parquet)
  • Supports Range requests (206)

Example: https://api.wildfiredata.dev/v1/active-fires/download/active-fires.csv

Errors: unknown-file , and rate-limited for any endpoint.

GET /v1/{dataset}/{path}

A file of a files dataset, at its published path.

  • The file, with a content type from its extension

Errors: unknown-file , and rate-limited for any endpoint.

Datasets

Active fires (US and Canada) Table

Id
active-fires
Updates
Hourly
Key
event_id
Partition
country
Columns
event_id text , country text , region text , region_name text , first_detection datetime (ISO 8601, UTC) , last_detection datetime (ISO 8601, UTC) , detections integer , raw_detections integer , low_confidence_detections integer , satellites text , latitude number, degrees , longitude number, degrees , min_latitude number, degrees , max_latitude number, degrees , min_longitude number, degrees , max_longitude number, degrees , max_frp number, MW , days_detected integer , likely_static_source true / false , incident_irwin_id text , incident_name text , incident_type text , incident_acres number, acres , incident_percent_contained number, percent , incident_discovered datetime (ISO 8601, UTC) , incident_link text , incident_distance_km number, km
What Path
Metadata: version, coverage, downloads, validation /v1/active-fires
Versions and monthly snapshots /v1/active-fires/versions
Partitions /v1/active-fires/locations
Rows for one country (JSON) /v1/active-fires/table/{country}.json
Rows for one country (CSV) /v1/active-fires/table/{country}.csv
All rows in one file (tables up to 50,000 rows) /v1/active-fires/table/all.json
Whole dataset (CSV) /v1/active-fires/download/active-fires.csv
Whole dataset (Parquet) /v1/active-fires/download/active-fires.parquet

Current wildland fire incidents (US) Table

Id
fire-incidents
Updates
Hourly
Key
irwin_id
Partition
state
Columns
irwin_id text , unique_fire_id text , name text , type text , state text , county text , county_fips text , gacc text , latitude number, degrees , longitude number, degrees , discovered datetime (ISO 8601, UTC) , acres number, acres , discovery_acres number, acres , percent_contained number, percent , contained datetime (ISO 8601, UTC) , controlled datetime (ISO 8601, UTC) , out datetime (ISO 8601, UTC) , cause text , complexity text , personnel integer , cost_to_date number, USD , management_organization text , jurisdictional_agency text , landowner_kind text , complex_name text , complex_irwin_id text , is_complex_child true / false , modified datetime (ISO 8601, UTC)
What Path
Metadata: version, coverage, downloads, validation /v1/fire-incidents
Versions and monthly snapshots /v1/fire-incidents/versions
Partitions /v1/fire-incidents/locations
Rows for one state (JSON) /v1/fire-incidents/table/{state}.json
Rows for one state (CSV) /v1/fire-incidents/table/{state}.csv
All rows in one file (tables up to 50,000 rows) /v1/fire-incidents/table/all.json
Whole dataset (CSV) /v1/fire-incidents/download/fire-incidents.csv
Whole dataset (Parquet) /v1/fire-incidents/download/fire-incidents.parquet

Fire perimeters (US), current and archived Files

Id
fire-perimeters
Updates
Hourly
What Path
Metadata: version, coverage, downloads, validation /v1/fire-perimeters
Versions and monthly snapshots /v1/fire-perimeters/versions
One file, at the path listed in the metadata /v1/fire-perimeters/{path}

Smoke plumes (NOAA HMS), last 7 days Files

Id
smoke
Updates
Daily
What Path
Metadata: version, coverage, downloads, validation /v1/smoke
Versions and monthly snapshots /v1/smoke/versions
One file, at the path listed in the metadata /v1/smoke/{path}