# Google News

`POST https://api.serpkite.com/v1/news` · Credits: 1 per page

Google News results for a query: headline, source, publish date, snippet and thumbnail. Combine with `time` to watch a topic over the last hour, day or week.

Google News results for a query: headline, source, publish date, snippet and thumbnail. Combine with `time` to watch a topic over the last hour, day or week.

## Request body

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `q` **required** | string |  | The search query. Required. Up to 2,048 characters. |
| `country` | string | `us` | Country to search from, as a two-letter ISO code (us, gb, de, in…). Defaults to the country a location ends in. |
| `language` | string | `en` | Interface language, as a language code with an optional region (en, de, pt-BR, zh-TW…). |
| `location` | string |  | Canonical location for local results, e.g. "Austin, Texas, United States". Ending in a country name also sets country. |
| `uule` | string |  | Google-encoded location string. Use instead of location if you already have it. |
| `num` | integer | `10` | Results per call, 1–100. Up to 10 returns one page of 10 (1 credit); above 10 on search and news fetches whole pages as a depth bundle, and 100 costs 7 credits instead of 10. On images a page holds up to 100 images and num (default all) is how many of them come back. |
| `page` | integer | `1` | Results page, 1–10. Each page is billed separately. |
| `time` | string |  | Restrict to recent results. Shorthand for tbs=qdr:*. One of: `hour`, `day`, `week`, `month`, `year`. |
| `tbs` | string |  | Raw Google tbs filter, e.g. qdr:w2 or cdr:1,cd_min:1/1/2026,cd_max:1/31/2026. Overrides time. |
| `format` | string | `json` | Response format. markdown is LLM-ready prose; compact is JSON with only the fields agents need. One of: `json`, `compact`, `markdown`. |
| `fields` | string |  | Comma-separated projection, e.g. results.title,results.link,knowledge_graph. Cuts tokens. |
| `max_age` | integer |  | Accept a cached result up to this many seconds old. Cache hits cost 50% of the credits. |
| `engine` | string or array | `google` | Which search providers may answer. google is Google only (SerpKite still retries Google internally); auto falls back to other providers when Google is blocked or times out; consensus (search only) asks several independent indexes in parallel, merges the results by URL, ranks them by agreement and lists each result's sources, at the sum of one page per provider that returned results; a provider name or a list (e.g. google,brave) restricts the request to those. meta.engine names the provider that answered. One of: `google`, `auto`, `consensus`, `brave`, `bing`, `yahoo`, `duckduckgo`, `mojeek`, `wikipedia`, `yandex`. |
| `include_domains` | string[] |  | Only results from these sources, up to 20: a domain (example.com, subdomains match), a path prefix (github.com/org) or a TLD (.gov). Compiled to site: operators and enforced on the results. Search, news, images, videos. |
| `exclude_domains` | string[] |  | Drop results from these sources, up to 20, same formats as include_domains. Search, news, images, videos. |
| `boost_domains` | string[] |  | Move results from these sources to the top without filtering out the rest, up to 20. Search and news. |
| `start_date` | string |  | Only results published on or after this date (YYYY-MM-DD). Google's custom date range; can't be combined with time or tbs. |
| `end_date` | string |  | Only results published on or before this date (YYYY-MM-DD). |
| `include_answer` | boolean | `false` | Add a short answer written by Claude over the results, with [n] citations, in answer.text and answer.citations. +2 credits (+4 with include_content, when it reads the pages), refunded (with a meta.warnings entry) when the model fails. Search and news. |

## Example request

cURL:

```bash
curl https://api.serpkite.com/v1/news \
  -H "Authorization: Bearer $SERPKITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q":"AI agents funding","country":"us","time":"week"}'
```

TypeScript:

```ts
import { SerpKite } from "serpkite";

const sk = new SerpKite(); // reads SERPKITE_API_KEY
const res = await sk.news({ q: "AI agents funding", country: "us", time: "week" });
console.log(res.results[0].title, res.meta.credits_used);
```

Python:

```python
from serpkite import SerpKite

sk = SerpKite()  # reads SERPKITE_API_KEY
res = sk.news("AI agents funding", country="us", time="week")
print(res.results[0].title, res.meta.credits_used)
```

## Response fields

| Field | Type | Description |
| --- | --- | --- |
| `request` | object | The normalised request, with defaults filled in: `endpoint`, `engine`, `q`, `country`, `language`, `location`, `num`, `page`, `device`, `autocorrect`… |
| `results[]` | array | `position`, `title`, `link`, `domain`, `snippet`, `date`, `published_at`, `source`, `image_url`; `link_resolved: false` when `link` is still Google's redirect. |
| `answer` | object | Only with `include_answer: true`: `text` (Markdown with `[n]` citation markers) and `citations[]` (`index`, `title`, `link`, `domain`). See [Cited answers](https://serpkite.com/docs/guides/cited-answers). |
| `meta` | object | `request_id`, `credits_used`, `cached`, `cached_at`, `engine` (the provider that answered), `route` (provider attempts, see [Search providers](https://serpkite.com/docs/providers)), `latency_ms`, `parse_quality` (`ok`, `partial`, `empty`), `resolved_urls`, `unresolved_links` (results whose `link` is still a Google redirect); `llm` (`provider`, `model`, `input_tokens`, `output_tokens`) and `warnings` when an AI step ran or failed. |

## Example response

```json
{
  "request": {
    "endpoint": "news",
    "engine": "google",
    "q": "AI agents funding",
    "country": "us",
    "language": "en",
    "time": "week"
  },
  "results": [
    {
      "position": 1,
      "title": "Agent startups raised a record amount this quarter",
      "link": "https://news.example.com/2026/09/agent-startups-funding",
      "domain": "news.example.com",
      "snippet": "Investors poured money into companies building autonomous software agents…",
      "date": "3 hours ago",
      "source": "Example News",
      "image_url": "https://news.example.com/img/agents.jpg"
    }
  ],
  "meta": {
    "request_id": "req_01J8ZK4M6Q2V7",
    "credits_used": 1,
    "cached": false,
    "engine": "google",
    "latency_ms": 1034,
    "parse_quality": "ok",
    "resolved_urls": true
  }
}
```

## Errors

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | `invalid_request` | A parameter is missing or invalid. |
| 401 | `unauthorized` | The API key is missing, invalid or revoked. |
| 402 | `insufficient_credits` | Your balance is too low. Buy a pack or wait for the monthly free grant. |
| 429 | `rate_limited` | Too many requests per second for your plan. Retry after the Retry-After header. |
| 503 | `upstream_error` | Google could not be fetched or parsed. Not billed; retry after Retry-After. |

All errors: https://serpkite.com/docs/errors

## Notes

- Dates are shown as Google displays them (e.g. "3 hours ago").
- `include_answer: true` adds a cited summary of the coverage written by Claude (+2 credits, refunded when the model fails). See [Cited answers](https://serpkite.com/docs/guides/cited-answers).

## Related

- [Localization](https://serpkite.com/docs/localization)
- [Batch requests](https://serpkite.com/docs/batch)