← Back to blog

Filter Google Results by Date with a SERP API (tbs, 2026)

Get only recent Google results — past hour, day or week — with the tbs time filter. Perfect for news monitoring, trend tracking and fresh-content research.

2 min read

By default a Google Search API returns the same evergreen results every time. When you’re tracking news, trends or breaking topics, you want only recent pages — and that’s exactly what the tbs time filter does. It mirrors the Tools → Past hour / day / week menu in the Google UI.

The tbs parameter

Add tbs to the request body with a qdr (query date range) value:

ValueWindow
qdr:hPast hour
qdr:dPast day
qdr:wPast week
curl -X POST https://api.serp.cheap/v1/search \
  -H "X-API-Key: $SERP_CHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q":"openai announcement","gl":"us","tbs":"qdr:d"}'

That returns only pages Google indexed in the past day — no stale evergreen articles crowding out the news.

A news monitor in a few lines

Poll on a schedule and you have a lightweight alerting system. Here it is in Python:

import requests, time

def recent(query, window="qdr:h"):
    r = requests.post(
        "https://api.serp.cheap/v1/search",
        headers={"X-API-Key": KEY},
        json={"q": query, "gl": "us", "tbs": window},
    )
    return r.json().get("organic", [])

seen = set()
while True:
    for hit in recent('"your brand"'):
        if hit["link"] not in seen:
            seen.add(hit["link"])
            print("NEW:", hit["title"], hit["link"])
    time.sleep(600)  # every 10 minutes

Swap qdr:h for qdr:d/qdr:w to widen the window. This is the backbone of brand and competitor monitoring.

What it’s good for

  • News & PR monitoring — catch mentions within the hour.
  • Trend detection — feed fresh results into an AI research agent so it reasons over what’s happening now.
  • Fresh-content SEO — see who’s ranking for a topic this week, not who ranked years ago.
  • Price & product changes — combine with price monitoring to spot new listings fast.

Combine with other parameters

tbs stacks with everything else — country, language, pagination:

-d '{"q":"élections","gl":"fr","hl":"fr","tbs":"qdr:w","page":1}'

That’s recent French results, in French. See the full parameter reference and local SEO by country.

Next

Try serp.cheap

Start pulling fresh, time-filtered results today. 100 free searches on signup — no card required; pay-as-you-go from $0.75/1k after that, and credits stay valid for 12 months.

Frequently asked questions

How do I get only recent Google results from an API?+

Pass the tbs parameter with a qdr value: qdr:h for the past hour, qdr:d for the past day, qdr:w for the past week. With serp.cheap you add it to the JSON body of POST /v1/search alongside q and gl.

What does tbs mean in a Google search?+

tbs is Google's 'to be searched' parameter. Combined with qdr (query date range) it restricts results to a recent time window — the same effect as the 'Past hour / day / week' filter under Tools in the Google UI.

Can I monitor breaking news with a SERP API?+

Yes. Poll POST /v1/search with tbs: qdr:h on a schedule and you get only results from the past hour — ideal for news alerts, brand monitoring and trend detection.

Get your API key

Cheapest direct, pay by card or crypto, no KYC. Or use a marketplace.