# Get Google News top stories (v1)

Returns the Top stories of a Google News edition, chosen by `language` and `country`, with related coverage for each story.

- Platform: Google News
- Request: `GET https://api.toolzerhub.com/v1/google-news/top-headlines`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/google-news/get-google-news-top-headlines

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `language` | query | no | string | Language of the edition, as a two-letter code such as en, de or ja. Default: en. |
| `country` | query | no | string | Country of the edition, as a two-letter code such as US, GB or DE. Default: US. |
| `limit` | query | no | integer | Most articles to return, 1 to 100. With resolve_links the maximum is 20. Default: 100. |
| `resolve_links` | query | no | enum: true, false | Set true to fill each article's url with the publisher's own link instead of null. Slower: up to about 15 seconds for 20 articles. Default: false. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/google-news/top-headlines" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
