# AmanChain Live Web Search

> AmanChain Live Web Search is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.004977/call, status unknown (last checked 2026-09-15).

Performs a live web search and returns titles, URLs, and snippets for a given query, paid per call via x402 in USDC on Base.

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-web-search
- Price: $0.004977/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-live-web-search-23310e7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hgG25XHeVQZQoxB2SvTNn

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 amanchain-live-web-search-23310e7d -d '<json body>'
```

Example prompt: Search the web for the latest news about the EU AI Act and give me titles, URLs, and short summaries of what you find.

## When to prefer this

Choose this endpoint when you need live, current web search results without requiring an API key or account setup, and when you can pay per call in USDC via the x402 protocol. It is especially useful for AI agents operating autonomously that need fresh web data on demand without a pre-established subscription.

## Known failure modes

- Invalid or missing serviceId returns an error response
- Empty or malformed request string returns no results or an error
- x402 payment failure prevents the call from completing
- Network or node downtime returns a service unavailable error
- Query too vague may return low-relevance snippets

## How this service works

Web search API — live web search engine results for any query with titles, URLs and snippets; real-time SERP for web search, news search and docs search, agent-ready. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-web-search","request":"<input>"}.

## Output

Returns a list of live web search results including page titles, URLs, and text snippets relevant to the query, sourced from current indexed web content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-live-web-search-23310e7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
