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

Google News Local Headlines API

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

Local headlines of Google News for one city, often 70 or more stories. 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. An unknown city returns 404 and costs nothing.

Google News Local Headlines API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/google/news/local
Auth header
x-api-key
Cost
1 credit/request
city = example
Response preview
200 OK
{
    "channel": {
        "name": "Berlin - Latest",
        "title": "Berlin - Latest - Google News",
        "language": "en-US",
        "topic_token": "CAAqIQgKIhtDQkFTRGdvSUwyMHZNREUxTm5FU0FtVnVLQUFQAQ",
        "last_build_date": "2026-11-01T02:40:46+00:00"
    },
    "news_results": [
        {
            "date": "2026-10-29T10:04:05+00:00",
            "guid": "CBMitwFBVV95cUxPSksxUG53ZmEwOGMzbXlCTkFBOWFHQkdNR1JqS1JRMmZuc1hyMG9BRWdoeHJoNWRiZEt3UVhRbTEtNS0zbWUwakZwTUJpa0ZXRWFHU2lFcDhxanpWRHFRaTl5REIyOVFQZUx6c2tCNnMzMkJpTXRxakVRclJXaElzN3k3RE1mRXQxMXJ2V2UwNFFuekNFeG1DU0VpcFRaZDdxMUdyS3VkMnI0bGdlTGFFZUhRUTlFVHM",
            "link": "https://news.google.com/rss/articles/CBMitwFBVV95cUxPSksxUG53ZmEwOGMzbXlCTkFBOWFHQkdNR1JqS1JRMmZuc1hyMG9BRWdoeHJoNWRiZEt3UVhRbTEtNS0zbWUwakZwTUJpa0ZXRWFHU2lFcDhxanpWRHFRaTl5REIyOVFQZUx6c2tCNnMzMkJpTXRxakVRclJXaElzN3k3RE1mRXQxMXJ2V2UwNFFuekNFeG1DU0VpcFRaZDdxMUdyS3VkMnI0bGdlTGFFZUhRUTlFVHM?oc=5",
            "title": "Left Party grapples with Middle East conflict before vote to join Berlin government",
...

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.

2 optional filters available.

city string Required

City name, e.g. Berlin or Chicago.

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": "Berlin - Latest",
        "title": "Berlin - Latest - Google News",
        "language": "en-US",
        "topic_token": "CAAqIQgKIhtDQkFTRGdvSUwyMHZNREUxTm5FU0FtVnVLQUFQAQ",
        "last_build_date": "2026-11-01T02:40:46+00:00"
    },
    "news_results": [
        {
            "date": "2026-10-29T10:04:05+00:00",
            "guid": "CBMitwFBVV95cUxPSksxUG53ZmEwOGMzbXlCTkFBOWFHQkdNR1JqS1JRMmZuc1hyMG9BRWdoeHJoNWRiZEt3UVhRbTEtNS0zbWUwakZwTUJpa0ZXRWFHU2lFcDhxanpWRHFRaTl5REIyOVFQZUx6c2tCNnMzMkJpTXRxakVRclJXaElzN3k3RE1mRXQxMXJ2V2UwNFFuekNFeG1DU0VpcFRaZDdxMUdyS3VkMnI0bGdlTGFFZUhRUTlFVHM",
            "link": "https://news.google.com/rss/articles/CBMitwFBVV95cUxPSksxUG53ZmEwOGMzbXlCTkFBOWFHQkdNR1JqS1JRMmZuc1hyMG9BRWdoeHJoNWRiZEt3UVhRbTEtNS0zbWUwakZwTUJpa0ZXRWFHU2lFcDhxanpWRHFRaTl5REIyOVFQZUx6c2tCNnMzMkJpTXRxakVRclJXaElzN3k3RE1mRXQxMXJ2V2UwNFFuekNFeG1DU0VpcFRaZDdxMUdyS3VkMnI0bGdlTGFFZUhRUTlFVHM?oc=5",
            "title": "Left Party grapples with Middle East conflict before vote to join Berlin government",
            "source": {
                "url": "https://www.thelocal.de",
                "name": "The Local Germany"
            },
            "position": 1,
            "related_articles": []
        },
        {
            "date": "2026-10-26T11:25:20+00:00",
            "guid": "CBMiugFBVV95cUxPVlZySXppbUZPQ214YkI5c2VtSUR1VVA1SmtXM2xDeW9XcUJ1aS1TdlBhYnJRdllXaFJFY0ZBYnJjWjlESEJRWWpGZjI0UEs3bzVzSlFtczZNOERxeGhRcTVlcjR5eThia2xNR01zblg3RUt1ZDYtWDN2Z2lzZE9GQjhIY2dNNHk0aVR6N01wZ2Rkank0SktQMGtxTlNlZ2ZiVFNPTFdIUm03VTdka2lzbHNnZVdqRjNBcmc",
            "link": "https://news.google.com/rss/articles/CBMiugFBVV95cUxPVlZySXppbUZPQ214YkI5c2VtSUR1VVA1SmtXM2xDeW9XcUJ1aS1TdlBhYnJRdllXaFJFY0ZBYnJjWjlESEJRWWpGZjI0UEs3bzVzSlFtczZNOERxeGhRcTVlcjR5eThia2xNR01zblg3RUt1ZDYtWDN2Z2lzZE9GQjhIY2dNNHk0aVR6N01wZ2Rkank0SktQMGtxTlNlZ2ZiVFNPTFdIUm03VTdka2lzbHNnZVdqRjNBcmc?oc=5",
            "title": "Germany\u2019s interior ministry puts forward plan to block housing socialisation in Berlin",
            "source": {
                "url": "https://www.thelocal.de",
                "name": "The Local Germany"
            },
            "position": 2,
            "related_articles": []
        }
    ],
    "search_parameters": {
        "gl": "US",
        "hl": "en-US",
        "ceid": "US:en",
        "city": "Berlin",
        "engine": "google_news_local"
    }
}

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"
}
404

Not Found

The city is unknown to Google News. This response is not billable.

{
    "error": "No local news found for this place."
}
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.