# agentsvc.io Web Search

> agentsvc.io Web Search is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.0035/call, status unknown (last checked 2026-10-10).

Performs a web search query and returns structured results including an answer, heading, abstract, and ranked result URLs

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/web-search?utm_source=zero.xyz
- Price: $0.0035/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-web-search-7385418a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cNjs1qIIDxvO28SYhmm9F

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 agentsvc-io-web-search-7385418a -d '<json body>'
```

Example prompt: Search the web for the current Bitcoin price and give me the top results with a summary.

## When to prefer this

Choose this endpoint when an AI agent needs to fetch current, real-world factual information from the web without requiring a dedicated API key or account setup. It is ideal for one-off lookups, fact-checking, current event queries, or enriching agent context with live web data, and is paid per-call via USDC on Base making it suitable for autonomous agents with no subscription overhead.

## Known failure modes

- Empty or ambiguous query returns minimal results or empty answer field
- Very recent events may return outdated or no abstracts
- Obscure queries may return no heading or abstract
- Network or upstream search provider errors may return HTTP 5xx
- Rate limiting or payment failure returns HTTP 402 with payment requirements

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object with a 'query' echo, an 'answer' field (may be empty), a 'heading' (short answer phrase), a list of 'results' each containing a URL and snippet text, an 'abstract' paragraph summarizing the top result, the 'abstract_url', and the 'abstract_source' (e.g. Wikipedia).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query string (e.g. 'current Bitcoin price', 'capital of France', 'Next.js 15 release date')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "query": "capital of France",
   "answer": "",
   "heading": "Paris",
   "results": [
    {
     "url": "https://en.wikipedia.org/wiki/Paris",
     "text": "Paris — Wikipedia"
    },
    {
     "url": "https://www.parisinfo.com/",
     "text": "Visit Paris — Official Tourism Site"
    }
   ],
   "abstract": "Paris is the capital and most populous city of France. With an official estimated population of 2,102,650 residents as of 1 January 2023 in an area of more than 105 km²...",
   "abstract_url": "https://en.wikipedia.org/wiki/Paris",
   "abstract_source": "Wikipedia"
  },
  "success": true
 }
}
```

## More

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