# Straelo Relay Search & Extract

> Straelo Relay Search & Extract is a paid API for AI agents from relay.straelo.com, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-12).

Performs a web search and extracts structured fields (title, URL, snippet, and/or full text) from the results for a given query

## Facts

- Endpoint: POST https://relay.straelo.com/search-extract?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/straelo-relay-search-extract-98e1b016
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HjiMfFLjFh1RcicX5RQ5W

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 straelo-relay-search-extract-98e1b016 -d '<json body>'
```

Example prompt: Search the web for 'x402 protocol autonomous payments' and give me the title, URL, snippet, and full text from the top results.

## When to prefer this

Choose this endpoint when you need both web search results AND structured extraction (title, URL, snippet, full text) in a single API call, especially inside an autonomous agent pipeline that pays per call via x402/USDC micropayments. Prefer it over generic search APIs when you need LLM-ready full page text alongside search metadata, or when operating in a machine-to-machine context where x402 payment protocol is already in use.

## Known failure modes

- Empty or whitespace query returns a validation error (minLength:1 violated)
- Requesting more than 4 fields triggers a schema error (maxItems:4 on fields array)
- Invalid field enum values (anything other than title, url, snippet, text) cause a 400 error
- Payment failure via x402 protocol results in a 402 Payment Required response
- Query returns no results for highly niche or malformed searches
- Rate limiting or quota exhaustion may return 429 or similar error

## How this service works

Search the live web and extract requested structured fields from relevant pages in one request.

## Output

A JSON object containing the original query, an array of extracted sources with the requested fields (title, URL, snippet, and/or full readable text), usage statistics, and economics metadata about the API call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "minLength": 1,
   "description": "Live web search query."
  },
  "fields": {
   "type": "array",
   "items": {
    "enum": [
     "title",
     "url",
     "snippet",
     "text"
    ],
    "type": "string",
    "description": "One supported source field."
   },
   "maxItems": 4,
   "description": "Unique fields to extract from each result."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "x402 protocol",
  "usage": {},
  "sources": [],
  "economics": {},
  "extracted_data": [],
  "requested_fields": [
   "title",
   "snippet"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/straelo-relay-search-extract-98e1b016/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relay.straelo.com](https://www.zero.xyz/host/relay.straelo.com/llms.txt)
