# serp402 Google Search API

> serp402 Google Search API is a paid API for AI agents from serp402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Performs Google web, news, image, video, places, shopping, or scholar searches via Serper and returns canonicalised, deduplicated, ISO-dated results with direct answers and knowledge-panel facts, charged per call in USDC with no account required.

## Facts

- Endpoint: POST https://serp402.com/api/v1/search?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/serp402-google-search-api-ff784a1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TAcSJU4SLwRpgYmeJJPjk

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 serp402-google-search-api-ff784a1d -d '<json body>'
```

Example prompt: Search Google for the latest news about the EU AI Act from the past week, return up to 10 results in English for the US market.

## When to prefer this

Choose this endpoint when an AI agent needs to issue a Google search query without managing API keys, subscriptions, or accounts — ideal for pay-as-you-go agent workflows. Prefer it over alternatives when you need multiple search verticals (web, news, images, videos, places, shopping, scholar) under a single consistent response shape with canonicalised URLs and normalised ISO dates. Best suited for agents that need occasional or bursty search access billed in USDC micro-payments at $0.005 per call.

## Known failure modes

- Payment failure or insufficient USDC balance prevents the search from executing
- Query string exceeds 400 characters returns a validation error
- Unsupported search type enum value returns a schema error
- Google has no results for the query/filter combination, returning an empty results array
- Freshness filter too restrictive combined with a niche query yields zero results
- Rate limiting or upstream Serper outage returns a 5xx error

## How this service works

Google search for agents, paid per call: web, news, images, videos, places, shopping and Scholar, all returned in one shape with canonicalised URLs, duplicates removed and dates normalised to ISO. Direct answers and knowledge-panel facts included when Google has them. USD 0.005 per call in USDC — no API key, no account, no subscription, no minimum. Results are retrieved through Serper (serper.dev), which is not affiliated with or endorsed by Google.

## Output

A structured JSON response containing up to 10 search results of the requested type (web, news, images, videos, places, shopping, or scholar), with canonicalised URLs, ISO-normalised dates, duplicates removed, and — where Google provides them — direct answer snippets and knowledge-panel facts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "num": {
   "type": "integer",
   "maximum": 10,
   "minimum": 1,
   "description": "How many results, up to 10 — one paid call is one page. Default 10."
  },
  "page": {
   "type": "integer",
   "maximum": 10,
   "minimum": 1,
   "description": "Which page of results. Each page is its own paid call. Default 1."
  },
  "type": {
   "enum": [
    "search",
    "news",
    "images",
    "videos",
    "places",
    "shopping",
    "scholar"
   ],
   "type": "string",
   "description": "Which Google search: web (search), news, images, videos, places, shopping or scholar. Default search."
  },
  "query": {
   "type": "string",
   "maxLength": 400,
   "minLength": 1,
   "description": "What to search for."
  },
  "country": {
   "type": "string",
   "maxLength": 2,
   "minLength": 2,
   "description": "Two-letter market, e.g. us, it, de."
  },
  "language": {
   "type": "string",
   "description": "Two-letter result language, e.g. en, it."
  },
  "location": {
   "type": "string",
   "description": "City-level location for the query, e.g. \"Milan, Italy\"."
  },
  "freshness": {
   "enum": [
    "day",
    "week",
    "month",
    "year"
   ],
   "type": "string",
   "description": "Only results from the last day/week/month/year."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp402-google-search-api-ff784a1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp402.com](https://www.zero.xyz/host/serp402.com/llms.txt)
