# AgentTools URL Reader

> AgentTools URL Reader is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

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

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/url-reader?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-url-reader-fd865c15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k2IHiimC-FXuyGvqwChA5

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-fd865c15
```

Example prompt: Can you fetch the content of https://en.wikipedia.org/wiki/Large_language_model and give me the full page as clean readable markdown, up to 10000 characters?

## When to prefer this

Use this endpoint when an agent needs to read and understand the human-readable content of any public webpage — especially for research, summarization, or Q&A tasks. Prefer it over raw HTML fetching when the goal is LLM comprehension rather than DOM manipulation. Choose it over PDF extraction when the source is a standard HTML page. Its SSRF protection and redirect re-validation make it safer than a naive HTTP client for agent use.

## Known failure modes

- Blocked by SSRF guard if URL resolves to internal/private IP ranges
- Timeout if page takes longer than 10 seconds to respond
- Truncated output if page content exceeds 1MB cap
- Empty or minimal markdown if page is entirely JavaScript-rendered (SPA with no server-side HTML)
- Error if URL is malformed or unreachable
- Redirect chains re-validated — fails if redirect leads to a blocked target

## 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

Returns the page content as clean markdown text: headings, paragraphs, lists, links, and tables preserved; JavaScript, CSS, navigation boilerplate, and ads removed. Optionally truncated to a specified maxChars limit. Output is directly readable by an LLM for summarization, Q&A, or analysis.

## 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-fd865c15/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
