# agentstools.dev Web Search

> agentstools.dev Web Search is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Free-text web search using DuckDuckGo, returning a ranked list of titles, URLs, and snippets

## Facts

- Endpoint: GET https://api.agentstools.dev/search
- 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/agentstools-dev-web-search-c4afa32d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zV-G7nv1hcfpe8Ql_WjA9

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 agentstools-dev-web-search-c4afa32d
```

Example prompt: Search the web for 'best practices for LLM prompt engineering' and return up to 10 results with their titles, URLs, and snippets.

## When to prefer this

Use this endpoint when an AI agent needs to perform a free-text web search and retrieve titles, URLs, and snippets — especially in low-cost automated workflows (at $0.001/call via x402). Ideal when DuckDuckGo's privacy-respecting search index is acceptable, and structured snippet-based results are sufficient rather than full page content.

## Known failure modes

- Missing required 'query' parameter returns a validation error
- max_results out of range (less than 1 or greater than 20) causes a schema validation error
- DuckDuckGo rate limiting or downtime may cause upstream failures
- Very obscure queries may return few or no results
- Payment failure (x402) prevents access to the endpoint

## How this service works

Free-text web search for AI agents: ranked title/url/snippet results fused across multiple engines (Brave, Google, DuckDuckGo, Mojeek, Startpage, Yahoo), with freshness filters (past day/week/month/year), region/locale and SafeSearch. One call for grounded, up-to-date web results — no keys, no scraping setup.

## Output

A list of up to 20 web search results, each containing a page title, URL, and a short descriptive snippet from the page content, sourced via DuckDuckGo.

## 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",
       "description": "Locale like 'us-en', 'uk-en', 'de-de' (default us-en)"
      },
      "backend": {
       "type": "string",
       "description": "auto (default multi-engine fusion) or a specific engine: brave/duckduckgo/google/mojeek/startpage/wikipedia/yahoo/yandex, or a CSV of them"
      },
      "timelimit": {
       "enum": [
        "d",
        "w",
        "m",
        "y"
       ],
       "type": "string",
       "description": "Freshness/time filter: past day/week/month/year"
      },
      "safesearch": {
       "enum": [
        "on",
        "moderate",
        "off"
       ],
       "type": "string",
       "description": "SafeSearch level (default moderate)"
      },
      "max_results": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1
      }
     }
    }
   },
   "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/agentstools-dev-web-search-c4afa32d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
