# Pocket Network Web Search SERP

> Pocket Network Web Search SERP is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Performs a live web search via DuckDuckGo Lite and returns ranked results (title, URL, snippet) for a given query, payable per-request in USDC with no API key required.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/web-search-serp?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-web-search-serp-c51fe070
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ptaHxV76hrGm8kEUPuBTd

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 pocket-network-web-search-serp-c51fe070 -d '<json body>'
```

Example prompt: Search the web for the latest news about OpenAI's GPT-5 release and give me the top results with titles, URLs, and snippets.

## When to prefer this

Choose this endpoint when you need live, real-time web search results without setting up an account or API key, and are comfortable paying micro-amounts per request in USDC. It is well-suited for AI agents operating in x402 payment environments that need on-demand web lookups. Prefer it over API-key-based search services when stateless, permissionless access is a priority.

## Known failure modes

- Empty or vague query returns low-relevance or no results
- HTML entities in snippets may require client-side decoding
- Results are non-deterministic and vary between runs for the same query
- Payment failure (insufficient USDC balance) returns 402 error
- Malformed request body missing the `query` field returns a validation error
- DuckDuckGo Lite service outage or rate limiting on the upstream side can cause failures

## How this service works

Pay-per-call access to Pocket Network services. No account, no API key.

## Output

A single JSON object containing a `data` field with ranked web search results (each including title, URL, and snippet text), plus a `portal` metadata object with serviceId, provenance, and schemaCheck fields. Results vary per run; snippets may contain HTML entities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "The search query."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "portal": {
   "serviceId": "web-search-serp",
   "provenance": "third-party-supplier",
   "schemaCheck": "passed"
  }
 }
}
```

## More

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