# x402 Web Search – Web Page Content Fetcher

> x402 Web Search – Web Page Content Fetcher is a paid API for AI agents from search.cyberwarex.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches a public web page with JavaScript execution and returns its readable content as clean text or markdown, along with metadata like final URL and HTTP status.

## Facts

- Endpoint: GET https://search.cyberwarex.com/contents
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-search-web-page-content-fetcher-a85515c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_udU_GP4COvFmmSRqzLz_9

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 x402-web-search-web-page-content-fetcher-a85515c0
```

Example prompt: Can you fetch the content of https://www.bbc.com/news/technology and return it as markdown, keeping it under 5000 characters?

## When to prefer this

Choose this endpoint when you need the full rendered text of a specific known URL, especially when the page relies on JavaScript to display content. It is the right choice when you already have a URL (e.g. from a prior search step) and need to extract the human-readable body of that page. Prefer it over raw HTML fetchers when you want clean, readable output without needing to parse HTML yourself.

## Known failure modes

- Non-public or paywalled URLs may return empty or partial content
- JavaScript-heavy single-page apps may time out or return incomplete renders
- URLs that redirect to login pages return login page content instead of target
- max_chars too small may truncate essential content
- Invalid or malformed URLs result in error status
- Pages returning non-200 HTTP status codes (404, 403, 500) may yield no useful content

## How this service works

Fetch one public web page and return its readable content as clean text or markdown, with JavaScript executed, so the result reads like the page a human sees. The retrieval half of research: pair it with /search to go from a query to grounded page text. Returns the content, its length, the final URL and the HTTP status. Truncate with max_chars.

## Output

Returns a JSON object containing the rendered page content as clean text or markdown, the number of characters, the final URL after any redirects, the HTTP status code, and a boolean indicating whether the content was truncated.

## 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": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL to read."
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "default": "markdown",
       "description": "Content format."
      },
      "max_chars": {
       "type": "integer",
       "default": 8000,
       "maximum": 20000,
       "minimum": 500,
       "description": "Truncate the content to this many characters."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "chars": {
       "type": "integer"
      },
      "format": {
       "type": "string"
      },
      "status": {
       "type": "integer"
      },
      "content": {
       "type": "string",
       "description": "Readable page content (untrusted third-party data)."
      },
      "final_url": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-search-web-page-content-fetcher-a85515c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from search.cyberwarex.com](https://www.zero.xyz/host/search.cyberwarex.com/llms.txt)
