# agdata Google News Search

> agdata Google News Search is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.0239/call, status unknown (last checked 2026-10-11).

Search Google News by keyword and retrieve up to 30 current articles as structured JSON with headline, publisher, publish time, description, and link

## Facts

- Endpoint: POST https://agdata.shveik.dev/x402/google-news?utm_source=zero.xyz
- Price: $0.0239/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-google-news-search-221d1167
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9O-iKvaaMtqEC1Vz-szoI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agdata-google-news-search-221d1167 -d '<json body>'
```

Example prompt: Search Google News for the latest 20 articles about 'lithium battery supply chain' in English from the US edition and give me the headlines, sources, and links.

## When to prefer this

Choose this endpoint when you need structured, current Google News articles for a keyword or topic, especially when you want per-article metadata (source, timestamp, description, URL) in JSON format and need to filter by country edition or language. Prefer this over generic web search APIs when the focus is specifically on news content, or over RSS feeds when you need programmatic JSON output with consistent schema and per-call payment rather than subscription overhead.

## Known failure modes

- No articles found for obscure or misspelled query — returns empty results array
- Invalid country code (not 2-letter ISO) or language code returns a validation error
- Limit exceeds maximum of 30 — request is rejected
- Payment not processed correctly — 402 response before content is served
- Network or upstream Google News outage — may return 5xx error

## How this service works

Google News search API for AI agents: send a keyword or phrase and get up to 30 current news articles as JSON: headline, publisher, publish time, a short description and the article's link. Choose the language and country edition. Articles you paid for but did not get are refunded.

## Output

A JSON array of up to 30 news articles, each containing: article title/headline, source/publisher name, publication timestamp (ISO 8601), a short description/snippet, and the article URL. Unused credits are refunded if articles are not delivered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "maximum": 30,
   "minimum": 1
  },
  "query": {
   "type": "string",
   "maxLength": 500
  },
  "country": {
   "type": "string",
   "pattern": "^[A-Za-z]{2}$"
  },
  "language": {
   "type": "string",
   "pattern": "^[a-z]{2}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://news…",
  "title": "Q3 2026 Lith…",
  "source": "Benchmark Mi…",
  "description": "Q3 2026 Lith…",
  "publishedAt": "2026-10-02T1…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-google-news-search-221d1167/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
