Natural events (wildfires, storms, volcanoes...)

GET https://api.api.sh/hazards/v1/events
1 credit / call public data try it in the playground →

Natural events tracked from satellite imagery by NASA EONET: wildfires, severe storms, volcanoes, sea and lake ice, floods, landslides, drought, dust and haze, snow, temperature extremes and more, with first/last seen dates, latest position, magnitude (e.g. acres, kts), recent track and sources. Filter by category, open/closed, days back, dates and distance from a place.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
category string Categories, comma-separated: drought, dustHaze, earthquakes, floods, landslides, manmade, seaLakeIce, severeStorms, snow, tempExtremes, volcanoes, waterColor, wildfires. Example: wildfires
status open | closed | all open (default), closed or all.
days integer Only events in the last N days.
start_date string From (YYYY-MM-DD).
end_date string To (YYYY-MM-DD).
lat number Latitude of a centre point (with lon and radius_km); or use q / postal_code.
lon number Longitude.
q string Place name for the centre point, e.g. Tokyo, Los Angeles.
postal_code string Postal code for the centre point, with country.
country string Country for q / postal_code.
radius_km number Radius around the place in km (default 500).
limit integer Max events (default 100).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/hazards/v1/events?category=wildfires" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.