# AgentTools URL Reader

> AgentTools URL Reader is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches a web page server-side and converts it to clean, LLM-readable markdown, stripping scripts, styles, and boilerplate

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/url-reader?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-url-reader-9e1041be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6hDpFvn7qMnXDYlSZpJLZ

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 agenttools-url-reader-9e1041be
```

Example prompt: Can you fetch the content of https://en.wikipedia.org/wiki/Large_language_model and give me the clean readable text, keeping it under 5000 characters?

## When to prefer this

Use this endpoint when an agent needs to fetch any publicly accessible web page and get clean, LLM-readable markdown without writing custom scraping logic. It is ideal for reading articles, documentation pages, pricing pages, or any text-heavy URL. Prefer it over raw HTTP fetches when you need boilerplate stripped and markdown structure preserved. It is not suitable for JavaScript-heavy SPAs where content is rendered client-side, or for pages behind authentication.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint returns an error
- Page exceeds 1MB cap — content is truncated or rejected
- Request times out after 10 seconds for slow-loading pages
- SSRF guard blocks internal/private IP addresses or localhost URLs
- Redirect chain is blocked by re-validation guard
- Heavily JavaScript-rendered pages may return sparse content since server-side fetching doesn't execute JS
- maxChars set too low, resulting in truncated or incomplete output

## How this service works

Fetch a web page server-side and convert it to clean markdown — headings, links, lists, tables and text, with scripts, styles and boilerplate stripped. The 'reader' pattern agents use to actually understand web pages. SSRF-guarded with redirects re-validated, 10s timeout, 1MB cap. Use this when an agent needs to fetch any page and get clean markdown an LLM can read.

## Output

Clean markdown representation of the fetched web page, with headings, links, lists, and tables preserved, and scripts, styles, navigation, and boilerplate stripped. Optionally truncated to a specified character limit. The result is directly readable by an LLM without further HTML parsing.

## 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"
      },
      "maxChars": {
       "type": "number",
       "description": "Max markdown length"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-url-reader-9e1041be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
