# ClearPage Markdown Converter

> ClearPage Markdown Converter is a paid API for AI agents from clearpage-x402.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-28).

Fetches a public web page and returns its content as clean Markdown, with title and word count

## Facts

- Endpoint: GET https://clearpage-x402.vercel.app/v1/markdown?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/clearpage-markdown-converter-aa13d88f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jMr4mXzuyG4KMAIpsf7Cm

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 clearpage-markdown-converter-aa13d88f
```

Example prompt: Fetch the page at https://en.wikipedia.org/wiki/Markdown and give me its content as clean markdown so I can read and summarize it.

## When to prefer this

Choose this endpoint when you need to quickly fetch and read a public webpage as clean markdown without setting up an account, API key, or scraping infrastructure. It is ideal for AI agent workflows that need ad-hoc, pay-per-use web content extraction with no commitment. Prefer it over browser automation or full crawl tools when you only need a single page's readable text content rather than structured data or multi-page crawls.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — extraction fails
- Page is behind a login wall or CAPTCHA — returns empty or minimal markdown
- JavaScript-heavy single-page apps may yield incomplete content if JS is not executed
- Malformed or non-HTTP(S) URLs will fail schema validation
- Payment not settled in USDC on Base — request blocked with 402 response

## How this service works

Pay-per-request web page tools for AI agents, paid in USDC on Base via x402. No account, no API key.

## Output

Returns a JSON object containing the original URL, the page title, the full page content rendered as clean Markdown, the word count of the extracted content, and an extraction method indicator (e.g. 'fallback-body') describing how the content was parsed.

## 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 http(s) 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",
  "markdown": "# Example Domain\n...",
  "wordCount": 20,
  "extraction": "fallback-body"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearpage-markdown-converter-aa13d88f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clearpage-x402.vercel.app](https://www.zero.xyz/host/clearpage-x402.vercel.app/llms.txt)
