APITube Help Center

How Fresh Is the Data and What Is the Latency?

Check publication times and receive new articles through SSE

Kent Hudson

Written by Kent Hudson

July 4, 2026

Updated October 16, 2026

Open this example in the API Playground ↗

How fresh is the data and what is the latency?

APITube searches return the newest articles first. The SSE stream checks for new matches every 30 seconds. Each article’s published_at shows when the publisher released it. The time before an article becomes available varies by source; there is no fixed maximum delay.

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

This search already returns articles newest first. You do not need to add sorting parameters.

What does the published_at timestamp mean?

published_at is the publisher’s publication time. It does not tell you when the article first became available in APITube.

For example, an article that has just appeared in your results may have an earlier publication time. Measuring its age as now − published_at gives the time since publication, rather than time spent in the API.

How do I get the newest articles first?

The default is published_at in descending order. You can set that order explicitly:

curl "https://api.apitube.io/v1/news/everything?title=Tesla&sort.by=published_at&sort.order=desc&api_key=YOUR_API_KEY"
  • sort.by=published_at: sort by publication time.
  • sort.order=desc: newest first. Use asc for oldest first.

Other sorting modes include relevance, engagement, and quality. See how to sort by relevance, date, engagement or quality.

How do I limit results to the last hour or day?

Set published_at.start to the earliest publication time you want. It accepts dates such as 2026-07-01, timestamps such as 2026-07-01T09:00:00Z, and relative values based on NOW:

curl "https://api.apitube.io/v1/news/everything?title=Tesla&published_at.start=NOW-1HOUR&api_key=YOUR_API_KEY"
  • NOW-1HOUR: the last hour.
  • NOW-1DAY or NOW-7DAY: the last day or week.
  • NOW/DAY: since the start of today in UTC.

Add published_at.end if you also need an end time. Both filters use the publisher’s publication time. See how to filter news by date range.

How do I receive new articles in near real time?

Open an SSE connection at /v1/news/stream with the filters you would use for a search. New matching articles arrive over that connection, with checks every 30 seconds:

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

Articles in each batch arrive in publication-time order. See how to stream news in real time with SSE for setup, event format, and resuming after a disconnect.

How do I drop stale backfill from the stream?

An article can become available in APITube some time after publication. To receive only recently published articles, set stream.max_age in minutes:

curl -N "https://api.apitube.io/v1/news/stream?title=Tesla&stream.max_age=60&api_key=YOUR_API_KEY"

stream.max_age=60 keeps articles published within the last hour. The window moves forward with each 30-second check. Use a positive whole number; an invalid value returns 400 ER0363.

Common Questions

Is there a guaranteed maximum latency?

There is no fixed maximum time between publication and availability for every source. SSE checks for matches every 30 seconds, while searches return the articles available when you make the request.

Why does an article’s published_at look slightly in the past?

It records when the publisher released the article. An article can appear in the API later, so a new result may have an older published_at.

How often does the SSE stream check for new articles?

Every 30 seconds. The stream also sends heartbeats at about the same interval to keep the connection open.

Do I need a sort parameter to get the latest news?

No. /v1/news/everything already returns articles by published_at, newest first. Use sorting parameters to change the order, or published_at.start=NOW-1HOUR to show only the last hour.


Related Articles