# Agent Tools Web Page to Markdown

> Agent Tools Web Page to Markdown is a paid API for AI agents from agent-tools.jbarkules.workers.dev, paid per call via x402, $0.0015/call, status unknown (last checked 2026-10-28).

Fetches a public web page and returns its main content as clean, LLM-ready markdown, stripping navigation, scripts, and boilerplate.

## Facts

- Endpoint: GET https://agent-tools.jbarkules.workers.dev/v1/web/markdown?utm_source=zero.xyz
- Price: $0.0015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-web-page-to-markdown-d36f1043
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cgvUbxh9QjTZEdO2Gg93x

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 agent-tools-web-page-to-markdown-d36f1043
```

Example prompt: Can you fetch the content from https://en.wikipedia.org/wiki/Large_language_model and give it to me as clean markdown, just the main article text without any navigation or sidebars?

## When to prefer this

Choose this endpoint when you need clean, LLM-ready markdown from a public web page's main body content, with nav and scripts removed — ideal for RAG ingestion, summarization, or research pipelines. Prefer this over a full page reader when you only need body text and not metadata like Open Graph tags or canonical URLs (use the sibling 'one call page reader' endpoint for those). Not suitable for PDF or image documents (use the document parsing or PDF-to-text endpoints), or for pages blocked by robots.txt.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status (reported in status field)
- robots.txt disallows crawling — endpoint respects robots.txt and will not fetch the page
- Malformed or missing url query parameter returns an error
- Page is JavaScript-rendered and content requires a JS engine — static fetcher may return incomplete markdown
- Timeout on slow or large pages
- URL points to a non-HTML resource (PDF, binary) — use the PDF-specific endpoint instead

## How this service works

Read a web page as clean LLM-ready markdown (main content, no nav or scripts) for research, RAG and summarization. Respects robots.txt.

## Output

A JSON object containing the original URL, the page title, the HTTP status code, and the full main-body content of the page rendered as clean markdown — navigation menus, scripts, ads, and boilerplate are stripped, leaving only the primary readable content.

## 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": "Public page URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "title": "Example Domain",
  "status": 200,
  "markdown": "This domain is for use in documentation examples...",
  "characters": 156
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tools-web-page-to-markdown-d36f1043/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-tools.jbarkules.workers.dev](https://www.zero.xyz/host/agent-tools.jbarkules.workers.dev/llms.txt)
