# Google Autocomplete via Serper

> Google Autocomplete via Serper is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns search query suggestions based on a prefix, powered by Google Autocomplete, for keyword research, SEO, and search-ahead UIs.

## Facts

- Endpoint: POST https://x402.orthogonal.com/serper/autocomplete?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/google-autocomplete-via-serper-401d4a4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pUnuzGleJr2vdsmQjcKE1

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-autocomplete-via-serper-401d4a4e -d '<json body>'
```

Example prompt: What are the Google autocomplete suggestions for 'best coffee' in the US in English? I want to see what people are searching for when they type that prefix.

## When to prefer this

Choose this endpoint when you need real Google Autocomplete suggestions for a query prefix, especially for keyword research, SEO planning, understanding search intent, or building type-ahead search UIs. It supports localization via country and language codes, making it suitable for international SEO workflows. Prefer this over generic search APIs when you specifically want autocomplete/suggestion data rather than full search results.

## Known failure modes

- Empty prefix returns no meaningful suggestions
- Invalid country or language codes may return default suggestions or errors
- Very niche or misspelled prefixes may return few or zero suggestions
- Rate limit exceeded if too many requests are made in quick succession
- Payment failure if USDC balance is insufficient for the $0.002 per-call fee

## How this service works

Google Autocomplete - returns search query suggestions based on a prefix. Use for keyword research, SEO, understanding search intent, or building search-ahead UIs.

## Output

A list of Google Autocomplete query suggestions matching the provided prefix, optionally scoped by country, language, and location. Returns the same suggestions a user would see in Google's search box.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "description": "Search query prefix to get suggestions for"
  },
  "gl": {
   "type": "string",
   "description": "Country code (e.g. us, uk, de)"
  },
  "hl": {
   "type": "string",
   "description": "Language code (e.g. en, es, fr)"
  },
  "location": {
   "type": "string",
   "description": "Location name for localized suggestions"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/google-autocomplete-via-serper-401d4a4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
