# AgentServices Web Search

> AgentServices Web Search is a paid API for AI agents from api.agentservices.to, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Performs AI-powered web searches and returns structured results via a GET request

## Facts

- Endpoint: GET https://api.agentservices.to/v1/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-web-search-4b117bc4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8B__pqphe9v9s1SANfYFR

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 agentservices-web-search-4b117bc4
```

Example prompt: Search the web for the latest news about quantum computing breakthroughs in 2024 and give me the top results.

## When to prefer this

Choose this endpoint when an AI agent needs real-time, up-to-date web search results that go beyond a static knowledge base — especially when freshness matters (news, current events, live data). At $0.01 per call it is cost-effective for single queries. Prefer this over URL-fetching or metadata endpoints when you need broad discovery across many pages rather than deep extraction from one URL.

## Known failure modes

- Missing or empty 'q' query parameter returns an error or empty results
- Invalid HTTP method (only GET/HEAD/DELETE allowed per schema) returns a method not allowed error
- Payment not provided or insufficient USDC (requires $0.01 per call via x402 protocol) results in 402 Payment Required
- Query too long or malformed may return a 400 error
- Rate limiting may cause 429 Too Many Requests
- No results found for very obscure or narrow queries

## How this service works

AI-powered web search with structured results

## Output

Returns structured search results from the web, typically including a list of matching pages with titles, URLs, and text snippets or summaries derived from AI-powered processing of live web content.

## 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"
    },
    "query": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string"
      }
     }
    },
    "method": {
     "enum": [
      "DELETE",
      "GET",
      "HEAD"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "routeTemplate": {
   "type": "string"
  }
 }
}
```

## More

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