# OnlyBots Reader — x402 Paid Web Reader (JavaScript renderer)

> OnlyBots Reader — x402 Paid Web Reader (JavaScript renderer) is a paid API for AI agents from read.onlybots.shop, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-13).

Fetches a web page URL and returns clean, boilerplate-free article content as Markdown, optimized for AI agent token efficiency, billed per call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://read.onlybots.shop/read-js?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onlybots-reader-x402-paid-web-reader-javascript-renderer-0bfe5d85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_17uvz-DWYErdK9aPREsYB

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 onlybots-reader-x402-paid-web-reader-javascript-renderer-0bfe5d85
```

Example prompt: Can you read the article at https://www.theverge.com/2024/5/1/example-article and give me the clean text so I can summarize it?

## When to prefer this

Choose this endpoint when an AI agent needs to read web content and token efficiency is critical — it delivers 10–30x fewer tokens than raw HTML scrapers. Prefer it over generic HTTP fetch when you want boilerplate-free article markdown ready for LLM consumption without needing to set up API keys or accounts. It is especially useful for reading long-form articles, blog posts, or documentation pages. If the page is behind a hard paywall or requires authentication, a logged-in browser session would be needed instead.

## Known failure modes

- URL is paywalled or login-gated — returns empty or partial markdown
- URL points to a non-article page (e.g. homepage, search results) — output may be sparse or irrelevant
- URL is unreachable or returns a non-200 status — request fails with an error response
- x402 payment flow fails or USDC balance is insufficient — call is rejected before processing
- JavaScript-heavy single-page apps may not fully render — content may be incomplete despite JS rendering

## How this service works

Token-efficient web reader for AI agents. URL in, clean boilerplate-free article markdown out with a token count header — typically 10-30x fewer tokens than raw HTML. Paid per call via x402 (USDC on Base mainnet), no accounts, no API keys. Free /demo endpoint returns a truncated sample.

## Output

A JSON object containing the page URL, article title, the main article body converted to clean Markdown (stripped of navigation, ads, and boilerplate), and a token_estimate integer indicating how many tokens the markdown content consumes — typically 10–30x fewer than raw HTML.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "URL of the web page to read"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/HTTP_402",
  "title": "HTTP 402",
  "markdown": "# HTTP 402\n\nHTTP 402 Payment Required is...",
  "token_estimate": 812
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onlybots-reader-x402-paid-web-reader-javascript-renderer-0bfe5d85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from read.onlybots.shop](https://www.zero.xyz/host/read.onlybots.shop/llms.txt)
