# ScanPay Web Search (DuckDuckGo)

> ScanPay Web Search (DuckDuckGo) is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-03).

Performs a privacy-respecting web search via DuckDuckGo and returns up to 10 ranked results with titles, URLs, and snippets.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scanpay-web-search-duckduckgo-479c9192
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gfhpZ8MqOYKa5u0DClDYA

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 scanpay-web-search-duckduckgo-479c9192
```

Example prompt: Search the web for 'open source vector databases comparison' and give me the top 5 results with their titles and URLs.

## When to prefer this

Choose this endpoint when you need lightweight, privacy-respecting web search results without API key setup, at a low flat cost of $0.01 per call. It is ideal for AI agents needing real-time web data without Google or Bing API credentials, especially when privacy matters or when already using the ScanPay x402 payment infrastructure.

## Known failure modes

- Missing required 'query' parameter returns a 400/validation error
- Limit out of range (>10 or <1) may be rejected or clamped
- DuckDuckGo backend unavailability may cause 502/503 errors
- Empty query string may return zero results
- Payment failure (x402) blocks access and returns 402 Payment Required

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

A JSON object containing the original query, a product identifier ('scanpay.web_search'), and an array of up to 10 result objects each with a 'url', 'title', and 'snippet' field describing the matched web page.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "default": 5,
       "maximum": 10,
       "description": "Max results (1-10)"
      },
      "query": {
       "type": "string",
       "description": "Search query"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "fastapi python",
  "product": "scanpay.web_search",
  "results": [
   {
    "url": "https://fastapi.tiangolo.com/",
    "title": "FastAPI - FastAPI",
    "snippet": "FastAPI is a modern, fast (high-performance), web framework for building APIs with Python."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scanpay-web-search-duckduckgo-479c9192/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
