toolzerhub API Docs

Get Google News local headlines (v1)

Returns local news for location, a city, region or country, as Google News shows it in its local section.

1 credit / requestBilled only on success
GET
/v1/google-news/local

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

location*string

City, region or country name, as you would type it into Google News.

Length2 <= length <= 100
language?string

Language of the edition, as a two-letter code such as en, de or ja.

Match^[a-z]{2,3}$
Default"en"
country?string

Country of the edition, as a two-letter code such as US, GB or DE.

Match^[A-Z]{2}$
Default"US"
limit?integer

Most articles to return, 1 to 100. With resolve_links the maximum is 20.

Range1 <= value <= 100
Default100
curl -X GET "https://example.com/v1/google-news/local?location=Austin" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "query": "string",    "when": "string",    "topic": "string",    "location": "string",    "language": "string",    "country": "string",    "feed_title": "string",    "count": 0,    "links_resolved": true,    "articles": [      {        "title": "string",        "link": "string",        "article_id": "string",        "url": "string",        "published_at": "string",        "source": {          "name": "string",          "url": "string"        },        "related": [          {            "title": "string",            "link": "string",            "article_id": "string",            "source": "string"          }        ]      }    ]  },  "details": {    "reason": "string",    "message": "string"  }}