APITube Help Center

How to Monitor Emergencies and Crises in Real Time

Follow crisis reports by event, place and publication time

Tasha Tatum

Written by Tasha Tatum

July 3, 2026

Updated October 16, 2026

Open this example in the API Playground ↗

How to monitor emergencies and crises in real time

Use event and location filters to collect news reports about emergencies. Search recent coverage first, then use SSE or a webhook for new matches. is_breaking=1 limits results to articles marked as breaking.

curl "https://api.apitube.io/v1/news/everything?event.category=environment&is_breaking=1&published_at.start=NOW-24HOURS" \
  -H "X-API-Key: YOUR_API_KEY"

This request selects breaking environmental-event reports from the last 24 hours. Send your key through X-API-Key or api_key. Newest publication dates come first.

How do you filter for disasters and crisis events?

event.category accepts environment, society or business. For specific incidents, select up to five event.type codes with OR:

# Up to five disaster types in one call
curl "https://api.apitube.io/v1/news/everything?event.type=earthquake,flood,wildfire,hurricane,tornado&published_at.start=NOW-1DAY" \
  -H "X-API-Key: YOUR_API_KEY"

Environment types include earthquake, hurricane, flood, wildfire, tornado, tsunami, volcanic eruption, drought and avalanche. Society types include terrorism, accident, conflict, crime, protest and health crisis.

Get exact codes from /v1/news/event-types. Unknown types return ER0502; unknown categories return ER0503. Exclude types with ignore.event.type. See event filters.

How do you keep only urgent, breaking stories?

Combine the breaking flag with a publication window:

curl "https://api.apitube.io/v1/news/everything?event.category=society&is_breaking=1&published_at.start=NOW-6HOURS&per_page=250" \
  -H "X-API-Key: YOUR_API_KEY"

is_breaking accepts 0 or 1. Dates can be absolute or relative, such as NOW-6HOURS. The breaking flag is not a time filter by itself.

Page sizes reach 250 on Professional and Corporate, 200 on Basic, 50 on Starter or 10 on Free. Free stops after page five. Use fl=id,title,source.domain,published_at for a smaller alert payload.

How do you limit a crisis feed to one region?

Send location.lat and location.lng together, plus location.radius in kilometres, up to 20,000:

# Environmental emergencies within 200 km of Los Angeles
curl "https://api.apitube.io/v1/news/everything?event.category=environment&location.lat=34.05&location.lng=-118.24&location.radius=200&has_location_geo=1" \
  -H "X-API-Key: YOUR_API_KEY"

Missing coordinates return ER0406. has_location_geo=1 selects articles with coordinates. For a rectangle, use location.bbox=minLat,maxLat,minLng,maxLng. location.radius.min can set an inner distance to exclude.

See location filters. Geographic matches describe locations associated with coverage; read the report for the event details.

How do you get emergency alerts pushed in real time?

Open SSE with the same event filters:

curl -N "https://api.apitube.io/v1/news/stream?event.category=environment&is_breaking=1&language.code=en" \
  -H "X-API-Key: YOUR_API_KEY"

A fresh stream sends new matches, without historical replay. Each article event has an ID; send the latest one in Last-Event-Id to resume. Each delivered article uses one credit from streaming quota. Connection limits depend on the plan; Free allows one and excess connections return ER0360.

For HTTP delivery to your app, create a dashboard webhook. See the parameter reference.

Common Questions

Is there a dedicated emergency or disaster endpoint?

No. Use the regular news endpoint with event, date, breaking and location filters.

What is the difference between event.category and event.type?

A category is a broad group. A type selects a specific kind of event, such as earthquake or accident. Check valid codes at /v1/news/event-types.

How do I restrict alerts to my city or country?

Use a radius or bounding box for a geographic area. Both coordinates are required for a radius. Select has_location_geo=1 if every result must have coordinates.

How do I get notified the moment a crisis is reported?

Use SSE or a webhook for new matching news. Delivery depends on article availability and your plan’s delay. See disaster and outbreak filters.


Related Articles