# APEX HTML to Markdown

> APEX HTML to Markdown is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-01).

Fetches any public web page using headless Chrome (JavaScript rendered) and returns only the main content as clean Markdown for LLM consumption

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/page-markdown?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apex-html-to-markdown-49f174be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_16wRQqFRuX7od614eeUo0

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 apex-html-to-markdown-49f174be
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/Large_language_model and give me its main content as clean markdown, with headings and tables preserved but without the sidebar and navigation menus?

## When to prefer this

Choose this endpoint when you need JavaScript-rendered page content (not just static HTML) converted to clean, LLM-ready Markdown with boilerplate removed. It is especially useful when the target page relies on client-side rendering that raw HTTP fetchers would miss, or when you want structured Markdown (headings, tables, code blocks) rather than plain text. Prefer it over plain text readers when Markdown formatting matters for downstream LLM context or RAG indexing.

## Known failure modes

- Bot wall or CAPTCHA detected — request refused before charge
- Empty render (JavaScript fails to produce content) — request refused before charge
- Invalid or unreachable URL — error returned
- Non-public or access-restricted page — may return empty or error
- Timeout on slow-loading JavaScript-heavy pages

## How this service works

HTML to Markdown: any web page, JavaScript rendered, as clean Markdown for LLMs. A web page as clean Markdown for an LLM: pass ?url= and the page is rendered in a real headless Chrome (JavaScript runs), then its main content comes back with headings, lists, links, code blocks, quotes and tables kept as Markdown, and the menus, header, footer and forms left out. Bot walls and empty renders are refused before any charge. Paid in USDC on Base.

## Output

Returns the main body content of the requested web page as clean Markdown, including headings, lists, hyperlinks, code blocks, blockquotes, and tables. Navigation menus, headers, footers, and forms are excluded. If the page returns a bot wall or an empty render, the call is rejected before any charge is made.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "The http(s) page to convert."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apex-html-to-markdown-49f174be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
