# Quant Agent Shop Web Search

> Quant Agent Shop Web Search is a paid API for AI agents from quantagentshop.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-23).

Sends a query to Google and returns up to 20 ranked web results with title, URL, snippet, and date

## Facts

- Endpoint: POST https://quantagentshop.com/v1/web-search?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quant-agent-shop-web-search-ab9ec4f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IaYILpp4IjEHLN09P9vRD

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 quant-agent-shop-web-search-ab9ec4f1 -d '<json body>'
```

Example prompt: Search the web for 'open-source LLM fine-tuning frameworks 2024' and give me the top 10 results.

## When to prefer this

Use this endpoint when an agent needs a list of ranked web links for a query — for example to discover sources, check what exists on a topic, or retrieve URLs for further processing. Prefer this over /v1/research-answer when you need raw links rather than a synthesized written answer, and over /v1/fetch-page when you need to discover URLs rather than read a specific page's content.

## Known failure modes

- Empty results array if the query matches nothing indexed
- 400 error if query is under 2 or over 400 characters
- 400 error if num is outside the 1–20 range
- 400 error if country code is not a valid two-letter ISO code
- Network timeout or upstream Google error returning a 5xx response
- No date field in results when Google does not expose a publication date

## How this service works

Web search. Send a query; returns up to 20 ranked Google web results with title, URL, snippet and date where known. Use when an agent needs links to read or to check what exists on the web. Not for reading page content (use /v1/fetch-page) or for a written answer (use /v1/research-answer). Typical response 1 to 2 s. Failed calls are not charged.

## Output

A JSON object containing the original query, source label ('Google web results'), a timestamp of when the search ran, and an array of up to 20 result objects each with position rank, title, URL, snippet, and date (if known).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "num": {
       "type": "integer",
       "title": "Num",
       "default": 10,
       "maximum": 20,
       "minimum": 1,
       "description": "How many results to return, 1 to 20."
      },
      "query": {
       "type": "string",
       "title": "Query",
       "maxLength": 400,
       "minLength": 2,
       "description": "Search terms, as typed into a search engine."
      },
      "country": {
       "anyOf": [
        {
         "type": "string",
         "pattern": "^[a-z]{2}$"
        },
        {
         "type": "null"
        }
       ],
       "title": "Country",
       "default": null,
       "description": "Optional two-letter country code, lower case."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 payment protocol facilitator fees",
  "source": "Google web results",
  "results": [
   {
    "url": "https://www.x402.org/",
    "date": null,
    "title": "x402 - Payment Required",
    "snippet": "An open protocol for internet-native payments...",
    "position": 1
   }
  ],
  "searched_at": "2026-10-22T09:00:00+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quant-agent-shop-web-search-ab9ec4f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quantagentshop.com](https://www.zero.xyz/host/quantagentshop.com/llms.txt)
