# OpenWeb Ninja SERP Autocomplete API

> OpenWeb Ninja SERP Autocomplete API is a paid API for AI agents from x402.openwebninja.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns real-time search engine autocomplete suggestions for a given query string, with optional region, language, and device type filters

## Facts

- Endpoint: GET https://x402.openwebninja.com/realtime-serp-data/autocomplete/autocomplete
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openweb-ninja-serp-autocomplete-api-5a5ed785
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f5gn3Lwp0P0GEOAEr7Dce

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 openweb-ninja-serp-autocomplete-api-5a5ed785
```

Example prompt: What are the real-time Google autocomplete suggestions for 'best electric car' in the US for desktop users?

## When to prefer this

Choose this endpoint when you need real-time, live autocomplete suggestions from a search engine without managing API keys or subscriptions. It is ideal for keyword research, SEO tooling, search trend analysis, and building typeahead features, especially when you want per-call micropayment billing via x402 USDC on Base/Polygon/Arbitrum. Prefer this over traditional SERP APIs when you want zero account setup and fractional-cent pricing at $0.003 per call.

## Known failure modes

- Missing required 'query' parameter returns a validation error
- Invalid region or language code may return empty or unexpected results
- Payment failure via x402 (insufficient USDC balance) results in HTTP 402 and no data returned
- Network timeout if the upstream SERP source is slow
- Empty autocomplete list if query has no suggestions in the specified region/language

## How this service works

40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.

## Output

A JSON array of autocomplete suggestion strings that a search engine returns when a user begins typing the given query, reflecting real-time search trends for the specified region, language, and device type.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string"
      },
      "region": {
       "type": "string",
       "default": "us"
      },
      "language": {
       "type": "string",
       "default": "en"
      },
      "user_agent": {
       "enum": [
        "desktop",
        "mobile"
       ],
       "type": "string",
       "default": "desktop"
      },
      "cursor_pointer": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "$ref": "#/components/schemas/realtime_serp_data__AutocompleteResponse",
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openweb-ninja-serp-autocomplete-api-5a5ed785/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.openwebninja.com](https://www.zero.xyz/host/x402.openwebninja.com/llms.txt)
