APITube Help Center

How to Monitor Breaking News and Real-Time Events

Select breaking-flagged articles and receive new matches

Tasha Tatum

Written by Tasha Tatum

June 26, 2026

Updated October 16, 2026

Open this example in the API Playground ↗

How to monitor breaking news and real-time events

Add is_breaking=1 to select articles marked as breaking. Use publication dates if you also need a recent window. The default sort puts newest publication dates first:

curl "https://api.apitube.io/v1/news/everything?is_breaking=1&api_key=YOUR_API_KEY"

Send the key through api_key or X-API-Key. Without this filter, results can include both breaking and regular articles.

What does is_breaking do?

is_breaking=1 selects flagged articles; 0 selects unflagged ones. Non-numeric values return 400 ER0185, and numbers other than 0 or 1 return ER0186.

The article response includes is_breaking as a Boolean, so you can inspect it without applying the filter.

How to get the freshest breaking news first

Use publication-date sorting and select only the fields needed:

curl "https://api.apitube.io/v1/news/everything?fl=id,title,source.domain,published_at&is_breaking=1&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"

For a different reading order, use an API ranking such as engagement:

curl "https://api.apitube.io/v1/news/everything?is_breaking=1&media.images.count.min=2&sort.by=engagement&sort.order=desc&api_key=YOUR_API_KEY"

That ranking is separate from publication time and does not measure how quickly an article is being shared.

How to stream breaking news in real time

Open SSE with the same flag:

curl -N "https://api.apitube.io/v1/news/stream?is_breaking=1&api_key=YOUR_API_KEY"

The stream checks new matches about every 30 seconds and sends heartbeat comments. A fresh connection does not replay historical results. Delivery depends on article availability and your plan’s delay.

Each delivered article uses one streaming credit. Save event IDs and send Last-Event-Id on reconnect to resume.

How to track regional breaking events

Combine the flag with a geographic search:

curl "https://api.apitube.io/v1/news/everything?location.lat=51.5074&location.lng=-0.1278&location.radius=100&is_breaking=1&api_key=YOUR_API_KEY"

Other conditions, such as language, category and source, must also match. See location filters and the parameter reference.

Which endpoints support the breaking filter?

Use it with news search, count or streams. Count returns how many articles match without downloading them. Top Headlines is another option with built-in breaking and source-selection conditions.

Common Questions

Does is_breaking=1 guarantee the story is from the last few minutes?

No. It selects a flag rather than a time window. Add publication dates to limit recency.

What value other than 0 or 1 can I pass?

None. Read ER0185 for non-numeric values or ER0186 for an unsupported number.

Search returns existing matches. A stream stays connected and delivers new ones, using separate per-article quota.

Why use top-headlines instead of is_breaking?

Top Headlines applies its own breaking and source conditions. Use the flag on Everything when you want to build your selection directly.


Related Articles