# Web Page to Markdown Converter

> Web Page to Markdown Converter is a paid API for AI agents from agent-utils-x402.fishbowlinc.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-02).

Fetches any public web page or document (HTML, PDF, DOCX, XLSX, CSV) and returns clean, LLM-ready Markdown with metadata, stripped of navigation, ads, and scripts.

## Facts

- Endpoint: GET https://agent-utils-x402.fishbowlinc.workers.dev/v1/markdown?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-page-to-markdown-converter-964180d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H2RRXlVhu-xDeoKggkfmz

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 web-page-to-markdown-converter-964180d0
```

Example prompt: Can you fetch the article at https://example.com/some-article and give me clean, readable markdown — strip all the ads and nav, include the links, and cap it at 50000 characters?

## When to prefer this

Choose this endpoint when you need to fetch and clean an arbitrary public web page or document (HTML, PDF, DOCX, XLSX, CSV) into LLM-ready Markdown in a single call. It is especially valuable when you need metadata (title, byline, description) alongside the cleaned content, or when you want fine-grained control over link inclusion and character limits. Prefer it over general-purpose HTTP fetch tools when boilerplate removal and LLM-readiness are priorities.

## Known failure modes

- URL is behind a login or paywall — returns error or empty content
- PDF/DOCX parsing failure for malformed or encrypted documents
- Page renders entirely via JavaScript with no static HTML — may return empty or partial content
- URL is unreachable or returns non-200 status — fetch error returned
- max_chars exceeded silently truncating content
- Rate limiting or x402 payment failure preventing the call

## How this service works

Fetch any public web page or document (HTML, PDF, DOCX, XLSX, CSV) and return clean, LLM-ready Markdown: nav/footer/ads/scripts stripped, absolute links, title/byline/description metadata. Query: url (required), links=1|0, max_chars, engine=auto|readability.

## Output

Returns clean Markdown text of the page or document's main content, with title, byline, and description metadata fields. Navigation bars, footers, ads, and scripts are stripped. Links are made absolute and optionally included or excluded. Content can be capped at a specified character limit.

## 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) page URL"
      },
      "mode": {
       "enum": [
        "article",
        "full"
       ],
       "type": "string"
      },
      "links": {
       "enum": [
        "1",
        "0"
       ],
       "type": "string"
      },
      "max_chars": {
       "type": "integer",
       "maximum": 200000
      }
     }
    }
   },
   "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/web-page-to-markdown-converter-964180d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utils-x402.fishbowlinc.workers.dev](https://www.zero.xyz/host/agent-utils-x402.fishbowlinc.workers.dev/llms.txt)
