# x402 Web Contents API (Batch URL Fetch)

> x402 Web Contents API (Batch URL Fetch) is a paid API for AI agents from search.cyberwarex.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Fetches readable text content from up to 5 URLs in a single call, with JavaScript rendering, and returns per-URL statuses plus extracted text.

## Facts

- Endpoint: GET https://search.cyberwarex.com/v1/contents?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-contents-api-batch-url-fetch-eccd2994
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_14WRP_cDQiIXskbc-Qi-1

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-contents-api-batch-url-fetch-eccd2994
```

Example prompt: Fetch the readable text from these three pages for me: https://example.com/article1, https://example.com/article2, and https://example.com/article3 — make sure JavaScript is rendered and limit each page to 5000 characters.

## When to prefer this

Choose this endpoint when you need to fetch readable text from multiple URLs (up to 5) in a single round trip, especially when pages require JavaScript rendering. It is more efficient than calling a single-URL fetch endpoint repeatedly, and it handles JS-heavy pages that plain HTTP fetchers cannot parse. Prefer it over search-and-fetch combo endpoints when you already have the URLs and just need their content.

## Known failure modes

- URL returns no readable content — endpoint returns a failed status for that URL and does not charge
- JavaScript rendering timeout — page status marked as failed
- More than 5 URLs submitted — request rejected with validation error
- Malformed URL in array — per-URL status indicates error
- Payment insufficient — x402 payment required error returned

## How this service works

Drop-in page contents API: POST urls plus text options and get each page's readable text (results plus per-URL statuses), JavaScript rendered. Same base URL as the search: https://search.cyberwarex.com/v1. Up to 5 URLs per call. Nothing readable = not charged.

## Output

Returns a JSON object containing a 'results' array with extracted readable text per URL, a 'statuses' array with per-URL success/failure codes, a 'requestId' string, and a 'costDollars' breakdown. URLs that yield no readable content are not charged.

## 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": [
      "urls"
     ],
     "properties": {
      "text": {
       "description": "true or {maxCharacters: n}"
      },
      "urls": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "maxItems": 5
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "results": {
       "type": "array"
      },
      "statuses": {
       "type": "array"
      },
      "requestId": {
       "type": "string"
      },
      "costDollars": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-contents-api-batch-url-fetch-eccd2994/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)
