# Google News Search API

> Google News Search API is a paid API for AI agents from agent-commerce-factory-jm.austriaeast.cloudapp.azure.com, paid per call via x402, $0.0035/call, status unknown (last checked 2026-09-13).

Searches current Google News results and returns headlines, sources, URLs, snippets, publication times, images, and rankings for a given query.

## Facts

- Endpoint: POST https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/news/search
- Price: $0.0035/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-news-search-api-1453ca8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NgrE35LfDjubX7NvPERmE

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 google-news-search-api-1453ca8b -d '<json body>'
```

Example prompt: Search Google News for the latest 10 results about 'Federal Reserve interest rate decision' in English and give me each headline, source, snippet, and publication time.

## When to prefer this

Choose this endpoint when you need real-time, current Google News results with structured metadata (headline, source, URL, snippet, image, rank, publish time) for a keyword or topic. Prefer this over static datasets or RSS feeds when freshness and Google's full news index are required. Ideal for monitoring agents, research pipelines, or any workflow needing structured news data at low per-call cost ($0.0035 USDC).

## Known failure modes

- Empty results if query is too obscure or no recent coverage exists
- Query exceeds 700 character maximum length
- Invalid or unsupported languageCode returns default or error
- depth parameter out of 1-10 range causes validation error
- Upstream Google News outage may cause empty or error responses
- Payment failure due to insufficient USDC balance (x402 protocol)

## Output

Returns a list of news items, each containing: article title/headline, source name, domain, article URL, text snippet, publication timestamp, image URL, and rank position. Also includes the original query, total count, and pricing/economics metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "depth": {
       "type": "integer",
       "default": 10,
       "maximum": 10,
       "minimum": 1
      },
      "query": {
       "type": "string",
       "maxLength": 700,
       "minLength": 1
      },
      "languageCode": {
       "type": "string",
       "default": "en"
      },
      "locationCode": {
       "type": "integer",
       "default": 2840,
       "minimum": 1
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "machine",
      "route",
      "items"
     ],
     "properties": {
      "count": {
       "type": "integer"
      },
      "items": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": [
           "string",
           "null"
          ]
         },
         "rank": {
          "type": [
           "integer",
           "null"
          ]
         },
         "title": {
          "type": [
           "string",
           "null"
          ]
         },
         "domain": {
          "type": [
           "string",
           "null"
          ]
         },
         "source": {
          "type": [
           "string",
           "null"
          ]
         },
         "snippet": {
          "type": [
           "string",
           "null"
          ]
         },
         "imageUrl": {
          "type": [
           "string",
           "null"
          ]
         },
         "publishedAt": {
          "type": [
           "string",
           "null"
          ]
         },
         "timePublished": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      },
      "query": {
       "type":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-news-search-api-1453ca8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-commerce-factory-jm.austriaeast.cloudapp.azure.com](https://www.zero.xyz/host/agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/llms.txt)
