# MolCloud Web Search API

> MolCloud Web Search API is a paid API for AI agents from api.molcloud.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Performs a keyword web search and returns ranked results, paid per-request in USDC via x402 protocol

## Facts

- Endpoint: GET https://api.molcloud.net/api/search?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/molcloud-web-search-api-f3fd637f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Z4vsbgBafP_yy9GfEhWu

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 molcloud-web-search-api-f3fd637f
```

Example prompt: Search the web for 'x402 protocol USDC payments' and give me the top 5 results.

## When to prefer this

Choose this endpoint when an autonomous agent needs to perform live web searches with per-call micropayment billing in USDC on Base via x402, especially within a broader MolCloud tool suite. It is well-suited for agents that already integrate with x402 payment infrastructure and need lightweight, pay-as-you-go search without API key management or subscription overhead.

## Known failure modes

- Missing required 'q' query parameter returns a 400-level error
- limit value outside 1-10 range may be rejected or clamped
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Network or upstream search provider outage returns 5xx
- Empty results array returned when no web results match the query

## How this service works

41 pay-per-request AI, search, headless browser, crypto alpha & memory APIs for autonomous agents settling in USDC on Base via x402 v2.

## Output

Returns a JSON object containing a status field, the endpoint path, and a data object with the original query string, the count of results returned, and an array of search result items (URLs, titles, snippets).

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search query string"
      },
      "limit": {
       "type": "integer",
       "default": 5,
       "description": "Maximum number of results (1-10)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "endpoint"
     ],
     "properties": {
      "data": {
       "type": "object"
      },
      "payer": {
       "type": "string"
      },
      "status": {
       "enum": [
        "success"
       ],
       "type": "string"
      },
      "endpoint": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "count": 5,
   "query": "x402",
   "results": []
  },
  "status": "success",
  "endpoint": "/api/search"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/molcloud-web-search-api-f3fd637f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.molcloud.net](https://www.zero.xyz/host/api.molcloud.net/llms.txt)
