# Get Google News topic headlines (v1)

Returns the latest articles of one Google News section, such as `BUSINESS` or `TECHNOLOGY`, in the edition chosen by `language` and `country`.

- Platform: Google News
- Request: `GET https://api.toolzerhub.com/v1/google-news/topic`
- 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-topic-headlines

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `topic` | query | yes | enum: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH | Google News section. |
| `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/topic?topic=<topic>" \
  -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.
