# Search Google News (v1)

Returns up to 100 Google News articles for `query`, each with publisher, publication time and related coverage. Narrow by time with `when`; set `resolve_links` to `true` to fill `url` with the publisher link. A query with no matches returns an empty `articles` array.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Search terms. Google News operators work inside it: site:reuters.com, "exact phrase", before:2026-01-01. |
| `when` | query | no | enum: 1h, 1d, 7d, 30d, 1y | Only articles from the last hour, day, week, 30 days or year. |
| `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/search?query=<query>" \
  -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.
