# URL to Markdown Converter API

> URL to Markdown Converter API is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-25).

Converts any public HTTPS URL into clean Markdown, HTML-to-text, or LLM-ready content without requiring a separate scraper account or API key.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/gate/squeezeos/api/web/read-markdown?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/url-to-markdown-converter-api-d47794b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LKwbIeOae2gQ2GDAQtoSg

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 url-to-markdown-converter-api-d47794b8
```

Example prompt: Can you fetch the article at https://en.wikipedia.org/wiki/Artificial_intelligence and return it as clean Markdown so I can use it in my document?

## When to prefer this

Choose this endpoint when you need to convert arbitrary public web pages to Markdown or plain text for LLM ingestion without setting up a dedicated scraping account. It is ideal for RAG pipelines, agent browsing tasks, and one-off URL reads where simplicity and low cost ($0.001/call) matter more than advanced scraping features like JavaScript rendering or login session handling.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- Target page blocks automated fetching or returns non-HTML content — may return empty or malformed output
- max_chars exceeded or ignored — content may be truncated unexpectedly
- Invalid or malformed URL input — returns validation error
- Render service cold start (Render free tier) — may cause high latency or timeout on first call

## How this service works

URL to Markdown API and converter for AI agents — convert any public HTTPS URL to clean Markdown, HTML-to-text, and LLM-ready web content with no separate scraper account or API key.

## Output

A JSON response containing the converted content of the target URL — either clean Markdown, plain text, or LLM-optimized content — optionally truncated to a specified character limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "format": {
       "type": "string"
      },
      "max_chars": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/url-to-markdown-converter-api-d47794b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
