Skip to content
Scrappa Get API key
Google News API 1 credit/request

Google News Time Range Search API

GET https://scrappa.co/api/google/news/search

Search Google News for a term inside a time window: the last hour, day, week or year, or between two dates. Up to 100 items, no second page. Items outside the window are removed. Each item has position, title (publisher name removed), link, source (name and url), date (ISO 8601), guid and related_articles (the other articles of the same story). Costs 1 credit. A search with no result returns 200 with an empty list and costs nothing.

Google News Time Range Search API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/google/news/search
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
Response preview
200 OK
{
    "channel": {
        "name": "\"openai when:1d\"",
        "title": "\"openai when:1d\" - Google News",
        "language": "en-US",
        "topic_token": null,
        "last_build_date": "2026-11-01T02:40:47+00:00"
    },
    "news_results": [
        {
            "date": "2026-10-31T18:14:38+00:00",
            "guid": "CBMiXEFVX3lxTFBjWGg5TktPMGtkSmtIVjRPM3c5ek1TcUtpOTBYaGFLYzBoZ1pLQkNLRDQzSHhuRkZkcFUycHFlV04yRlREeHdFX1pJVEhfVW5OUGIxUG5fUGlJR3Yw",
            "link": "https://news.google.com/rss/articles/CBMiXEFVX3lxTFBjWGg5TktPMGtkSmtIVjRPM3c5ek1TcUtpOTBYaGFLYzBoZ1pLQkNLRDQzSHhuRkZkcFUycHFlV04yRlREeHdFX1pJVEhfVW5OUGIxUG5fUGlJR3Yw?oc=5",
            "title": "The future of the firm",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

5 optional filters available.

q string Required

Search term. Do not write when:, after: or before: inside it.

Example value coffee shops
when string Optional

Time window: 1h, 1d, 7d or 1y.

Example value example
after string Optional

Only news on or after this date (YYYY-MM-DD, UTC).

Example value example
before string Optional

Only news before this date (YYYY-MM-DD, UTC).

Example value example
hl string Optional

Language of the feed, 2 letters, e.g. en, de, fr. Default: en.

Example value en
gl string Optional

Country of the feed, 2 letters, e.g. us, de, gb. Default: us.

Example value us

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

channel news_results search_parameters

Common news_results fields

date guid link title
JSON Response
200 OK
{
    "channel": {
        "name": "\"openai when:1d\"",
        "title": "\"openai when:1d\" - Google News",
        "language": "en-US",
        "topic_token": null,
        "last_build_date": "2026-11-01T02:40:47+00:00"
    },
    "news_results": [
        {
            "date": "2026-10-31T18:14:38+00:00",
            "guid": "CBMiXEFVX3lxTFBjWGg5TktPMGtkSmtIVjRPM3c5ek1TcUtpOTBYaGFLYzBoZ1pLQkNLRDQzSHhuRkZkcFUycHFlV04yRlREeHdFX1pJVEhfVW5OUGIxUG5fUGlJR3Yw",
            "link": "https://news.google.com/rss/articles/CBMiXEFVX3lxTFBjWGg5TktPMGtkSmtIVjRPM3c5ek1TcUtpOTBYaGFLYzBoZ1pLQkNLRDQzSHhuRkZkcFUycHFlV04yRlREeHdFX1pJVEhfVW5OUGIxUG5fUGlJR3Yw?oc=5",
            "title": "The future of the firm",
            "source": {
                "url": "https://openai.com",
                "name": "OpenAI"
            },
            "position": 1,
            "related_articles": []
        },
        {
            "date": "2026-10-31T19:56:23+00:00",
            "guid": "CBMiggFBVV95cUxOb2hwU1RZMjNaMVpkcW13aDRGb3M0UGlMb21CRTI4dDU5STc4eEJkZHNMc2VPQjVnYm80MEEzWm80RDFZdElReXNmbG1sS0xBYjNnNWNOZVJsSUhySmhIUTJfV0tEZjJncTFLSHJFbDVqU2FrdmlSVW1hNzdxZG8tbktn0gGHAUFVX3lxTFBEd2ZuVFNJR09vWjBBWUtDMF80c1luQkFnVWRkN2RWMG1DWmZJd3Z4clZwcjNIeEcwaExPcjc5MWt2MkZ1SW9KUHdZODhtV3NGanVTSVkzdFl0aTQtUmxZa1V6dHpDUkxacTNhTk1PWXFDbnVIR3NraVRJODh3MjFGdUhBNl9rTQ",
            "link": "https://news.google.com/rss/articles/CBMiggFBVV95cUxOb2hwU1RZMjNaMVpkcW13aDRGb3M0UGlMb21CRTI4dDU5STc4eEJkZHNMc2VPQjVnYm80MEEzWm80RDFZdElReXNmbG1sS0xBYjNnNWNOZVJsSUhySmhIUTJfV0tEZjJncTFLSHJFbDVqU2FrdmlSVW1hNzdxZG8tbktn0gGHAUFVX3lxTFBEd2ZuVFNJR09vWjBBWUtDMF80c1luQkFnVWRkN2RWMG1DWmZJd3Z4clZwcjNIeEcwaExPcjc5MWt2MkZ1SW9KUHdZODhtV3NGanVTSVkzdFl0aTQtUmxZa1V6dHpDUkxacTNhTk1PWXFDbnVIR3NraVRJODh3MjFGdUhBNl9rTQ?oc=5",
            "title": "OpenAI pares fundraising goal, now seeking up to $20 billion in latest round",
            "source": {
                "url": "https://www.cnbc.com",
                "name": "CNBC"
            },
            "position": 2,
            "related_articles": []
        }
    ],
    "search_parameters": {
        "q": "openai",
        "gl": "US",
        "hl": "en-US",
        "ceid": "US:en",
        "when": "1d",
        "engine": "google_news_search"
    }
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "hl": [
            "The language is a 2 letter code like en or de."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

Google News could not be reached or gave an unreadable answer. This response is not billable. Retry later.

{
    "error": "Google News could not be reached. Try again."
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.