# x402.botsmith.dev Web Reader

> x402.botsmith.dev Web Reader is a paid API for AI agents from x402.botsmith.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches any public web page and returns its main content as clean, boilerplate-free GitHub-flavored markdown, stripping navigation, ads, and scripts while reporting metadata like title, byline, language, and word count.

## Facts

- Endpoint: GET https://x402.botsmith.dev/read
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-botsmith-dev-web-reader-16e28997
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ism-zwkrl2LgTyx8wMHBM

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-botsmith-dev-web-reader-16e28997
```

Example prompt: Can you fetch the content of https://www.theverge.com/2024/5/1/some-article and give me the main article text as clean markdown, including the title and author?

## When to prefer this

Use this endpoint when an agent needs to read and process the textual content of any public web page in a clean, structured format without writing custom scraping logic. It is ideal for extracting article text, blog posts, documentation pages, or any human-readable web content into markdown for downstream summarization, analysis, or display. Prefer it over raw HTTP fetch when you want boilerplate removed and metadata (title, byline, language) surfaced automatically.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error or empty content
- Page has no extractable main content (e.g. pure JavaScript SPA with no SSR) — markdown may be empty or minimal
- Redirect chain leads to paywalled or blocked content — partial or empty markdown returned
- Invalid or malformed URL provided — schema validation error
- Network timeout fetching the target URL — error response
- Page is in a language or encoding that degrades parsing quality — lower fidelity markdown

## How this service works

Web Reader ($0.003/call): Fetch any public web page and return its main content as clean, boilerplate-free markdown (reader mode for agents). Handles redirects, strips nav/ads/scripts, reports title, byline, language and word count.

## Output

A JSON object containing: the final URL after any redirects, the page title, byline/author, site name, language code, a short excerpt, the full main content as boilerplate-free GitHub-flavored markdown, and an integer word count. Navigation menus, ads, scripts, and other boilerplate are stripped.

## 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",
       "format": "uri",
       "description": "Public http(s) URL of the page to read"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "title",
      "byline",
      "siteName",
      "lang",
      "excerpt",
      "markdown",
      "wordCount"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Final URL after redirects"
      },
      "lang": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "title": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "byline": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "excerpt": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "markdown": {
       "type": "string",
       "description": "Boilerplate-free page content as GitHub-flavored markdown"
      },
      "siteName": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "wordCount": {
       "type": "integer",
       "maximum": 9007199254740991,
       "minimum": -9007199254740991
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-botsmith-dev-web-reader-16e28997/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.botsmith.dev](https://www.zero.xyz/host/x402.botsmith.dev/llms.txt)
