# api.kadec0.xyz SERP Web Search

> api.kadec0.xyz SERP Web Search is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns ranked web search results (title, URL, snippet) for a given query string, keyless via x402 micropayment.

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/serp
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-kadec0-xyz-serp-web-search-ed9bb9e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DFDN8JLrZyc7pmjSkpFQR

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 api-kadec0-xyz-serp-web-search-ed9bb9e9
```

Example prompt: Search the web for 'best practices for LLM prompt injection prevention' and give me the top 10 results with their titles, URLs, and snippets.

## When to prefer this

Use this endpoint when you need live, ranked web search results (SERP-style) without requiring an API key — ideal for agents that want real-time web lookup with micropayment-based access (x402). Prefer this over static knowledge bases when freshness matters or when you need URLs and snippets from the open web.

## Known failure modes

- Missing required query parameter 'q' returns a 400 error
- num_results exceeding 25 is capped silently or returns an error
- Payment not provided or insufficient triggers a 402 Payment Required response
- Empty or ambiguous query may return zero results
- Network or upstream search provider outage causes 5xx errors

## How this service works

Web search results (SERP). Keyless web search returning ranked title, URL, and snippet for a query — with locale/region targeting, freshness filters (past day, week, month, year), pagination, a news mode that adds publish date and source, and selectable backend engine (auto rotation, or pin Brave, Yahoo, or Yandex).

## Output

A ranked list of up to 25 web search results, each containing a page title, URL, and text snippet summarizing the page content.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "q": "artificial intelligence",
   "num_results": 10
  }
 }
}
```

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "search query"
      },
      "mode": {
       "enum": [
        "web",
        "news"
       ],
       "type": "string",
       "default": "web",
       "description": "web results or recent news (news adds date+source per item). the news index is narrow, so a long or highly specific news query that matches nothing falls through to web rather than returning empty; those items carry requestedMode=news and servedBy=web"
      },
      "page": {
       "type": "string",
       "default": "1",
       "description": "result page (pagination)"
      },
      "engine": {
       "type": "string",
       "default": "auto",
       "description": "search backend: auto (recommended - rotates engines and falls back on blocks) or pin one of yahoo, yandex (web mode); news mode supports bing. when set, each result carries an 'engine' field; if the pinned engine returns nothing, auto serves instead and results also carry 'requestedEngine'"
      },
      "region": {
       "type": "string",
       "default": "us-en",
       "description": "locale, e.g. us-en, uk-en, de-de"
      },
      "timelimit": {
       "enum": [
        "d",
        "w",
        "m",
        "y"
       ],
       "type": "string",
       "description": "restrict to past day/week/month/year"
      },
      "safesearch": {
       "enum": [
        "on",
        "moderate",
        "off"
       ],
       "type": "string",
       "default": "moderate"
      },
      "num_results": {
       "type": "string",
       "default": "10",
       "description": "max results, cap 25"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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