# ScriptMasterLabs Web Search API (x402)

> ScriptMasterLabs Web Search API (x402) is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Performs a web search query and returns results, paid per-call in USDC via the x402 micropayment protocol on Base.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/web-search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-web-search-api-x402-32dd4e0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__ObpGIY0Vw2RaXRBQZefQ

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 scriptmasterlabs-web-search-api-x402-32dd4e0d
```

Example prompt: Search the web for 'x402 micropayments latest developments' and return the top 8 results.

## When to prefer this

Choose this endpoint when you need live, current web search results and are operating in an x402-compatible payment environment with USDC on Base. It is particularly suitable for AI agents that need real-time internet access at very low cost ($0.001 per call) without subscribing to a traditional search API. Prefer it for crypto, RWA, SEC, or compliance-adjacent research queries given the provider's stated domain focus.

## Known failure modes

- Missing required 'q' query parameter returns an error or empty results
- Payment not settled via x402 results in HTTP 402 Payment Required response
- Service unavailable on Render cold start causing timeout
- Empty or very broad queries may return low-quality or irrelevant results
- Rate limiting if too many calls are made in quick succession

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a list of web search results matching the query, typically including page titles, URLs, and short snippets or descriptions, limited to the requested number of results (default 8).

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "example": "x402 micropayments"
      },
      "limit": {
       "type": "integer",
       "default": 8,
       "example": 8
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-web-search-api-x402-32dd4e0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
