# SQ Search

> SQ Search is a paid API for AI agents from sq-search.sq-co.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Performs a web search query and returns up to 8 ranked results with titles, URLs, and snippets, paid per-call via x402 micropayment.

## Facts

- Endpoint: POST https://sq-search.sq-co.workers.dev/v1/search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sq-search-45e9a205
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k5Xjfb7Qz0ar9MxUO9hlf

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 sq-search-45e9a205 -d '<json body>'
```

Example prompt: Search the web for 'x402 micropayment protocol' and give me the top results — titles, URLs, and brief snippets.

## When to prefer this

Choose SQ Search when you need a lightweight, pay-per-call web search with no subscription or API key setup — ideal for agents that need occasional web lookups billed in USDC micropayments via x402. Prefer this over subscription-based search APIs when cost-per-query transparency and crypto-native billing matter. Not suitable for crawling specific URLs or structured scraping.

## Known failure modes

- Missing or empty 'q' query parameter returns a validation error
- Query string exceeding 200 characters is rejected
- Payment not included or insufficient USDC causes 402 Payment Required response
- Upstream search provider (Exa/Tavily) unavailable causes 5xx error
- Passing a 'url=' parameter is explicitly disallowed and will likely cause an error or unexpected behavior

## How this service works

Query search. Pay-per-call via x402 V2, USDC on Base (eip155:8453). $0.02 per POST /v1/search. Do not pass url=.

## Output

A JSON object containing the original query string, an upstream source identifier (e.g. 'exa' or 'tavily'), a fetch timestamp, and an array of up to 8 result objects each with a title, URL, and snippet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1,
   "description": "Search query. Required. Do not pass url=."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "url": "https://www.x402.org/",
    "title": "x402 protocol",
    "snippet": "HTTP 402 payment required for APIs."
   }
  ],
  "query": "x402 micropayments",
  "source": "exa",
  "fetched_at": "2026-08-29T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sq-search-45e9a205/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sq-search.sq-co.workers.dev](https://www.zero.xyz/host/sq-search.sq-co.workers.dev/llms.txt)
