# Readmd URL-to-Markdown Converter

> Readmd URL-to-Markdown Converter is a paid API for AI agents from readmd.canisell.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Fetches a public web page by URL and returns clean Markdown of its main content, with metadata, an outline, token count, and optional RAG chunks

## Facts

- Endpoint: GET https://readmd.canisell.xyz/v1/read?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/readmd-url-to-markdown-converter-c22d1b27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8lUU3ElvU4aTKkrz_zJIZ

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 readmd-url-to-markdown-converter-c22d1b27
```

Example prompt: Fetch the main article content from https://www.example.com/some-article as clean Markdown, skip images, keep links, and also split it into RAG chunks of about 500 tokens each.

## When to prefer this

Choose Readmd when you need clean, LLM-ready Markdown from a static HTML page — especially when you want an article extracted without nav/chrome, an outline, a token estimate, or pre-chunked RAG segments. It is a good fit for pipelines that ingest public web content into vector stores or LLM prompts. Prefer it over raw HTTP fetches when you want automatic boilerplate removal, over headless-browser scrapers when the page renders without JavaScript, and over general-purpose scraping APIs when you specifically want Markdown output with RAG chunking built in.

## Known failure modes

- URL requires JavaScript rendering — not supported, returns error unsettled (no charge)
- robots.txt disallows readmd user-agent — blocked, returned unsettled
- URL resolves to a private/loopback address — refused for security
- Page exceeds 3 MB cap — truncated or error returned unsettled
- HTTP non-200 status on the target page — returned unsettled (no charge)
- Invalid or malformed URL — validation error before fetch
- Redirect loop or too many redirects — error returned unsettled

## How this service works

Readmd turns a URL into Markdown an LLM can use directly: the article without the page chrome, with metadata, an outline, a token estimate and optional RAG chunks. Plain HTTP fetch (no headless browser), robots.txt respected with the user-agent token `readmd`, a 3 MB page cap, redirects re-checked, private addresses refused. You pay only for pages that were actually read: every failure is returned unsettled.

Content belongs to its publishers; Readmd fetches it on your request and does not store it. Pages that need JavaScript to render are not supported.

## Output

A JSON object containing: the final URL after redirects, page title, robots.txt status, content source type, HTTP status, response time in ms, a heading outline array, the full Markdown string, truncation flag, token estimate, and optionally a chunks array (each with heading path and Markdown snippet) and a links array of {url, text} pairs.

## 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",
       "maxLength": 2048,
       "minLength": 4,
       "description": "Public http(s) URL of the page to read."
      },
      "mode": {
       "enum": [
        "main",
        "full"
       ],
       "type": "string",
       "description": "\"main\" (default): the article / main content only, without navigation, headers, footers, sidebars and cookie banners. \"full\": the whole page body."
      },
      "links": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "Keep inline links as [text](url) in the Markdown. Default true; false saves tokens."
      },
      "images": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "Keep images as ![alt](src). Default false."
      },
      "max_tokens": {
       "type": "integer",
       "maximum": 100000,
       "minimum": 100,
       "description": "Truncate the Markdown to about this many tokens, at a paragraph boundary (`truncated` tells you). Default: no limit (400k characters max)."
      },
      "chunk_tokens": {
       "type": "integer",
       "maximum": 8000,
       "minimum": 100,
       "description": "Also return `chunks`: the Markdown split at headings/paragraphs into pieces of at most about this many tokens, each with its heading path. For RAG."
      },
      "include_links": {
       "anyOf": [
        {
         "type": "boolean"
        },
        {
         "enum": [
          "0",
          "1",
          "true",
          "false"
         ],
         "type": "string"
        }
       ],
       "description": "Also return `links`: every link in the content as {url, text} (up to 500). Default false."
      }
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ms": 457,
  "url": "https://www.rfc-editor.org/rfc/rfc9309.html",
  "mode": "main",
  "title": "RFC 9309: Robots Exclusion Protocol",
  "robots": "allowed",
  "source": "html",
  "status": 200,
  "outline": [
   {
    "text": "RFC 9309",
    "level": 1
   },
   {
    "text": "Robots Exclusion Protocol",
    "level": 1
   },
   {
    "text": "Abstract",
    "level": 2
   },
   {
    "text": "Status of This Memo",
    "level": 2
   },
   {
    "text": "Copyright Notice",
    "level": 2
   }
  ],
  "markdown": "| RFC 9309 | Robots Exclusion Protocol (REP) | September 2022 |\n| --- | --- | --- |\n| Koster, et al. | Standards Track | [Page] |\n\n**Stream:**\n: Internet Engineering Task Force (IETF)\n\n**RFC:**\n: [9309](https://www.rfc-editor.org/rfc/rfc9309)\n\n**Category:**\n: Standards Track\n\n**Published:**\n: September 2022\n\n**ISSN:**\n: 2070-1721\n\n**Authors:**\n: M. Koster\nG. Illyes\nGoogle LLC\nH. Zeller\nGoogle LLC\nL. Sassman\nGoogle LLC\n\n# RFC 9309\n\n# Robots Exclusion Protocol\n\n## Abstract\n\nThis document specifies and extends the \"Robots Exclusion Protocol\" method originally defined by Martijn Koster in 1994 for service owners to control how content served by their services may be accessed, if at all, by automatic clients known as crawlers. Specifically, it adds definition language for the protocol, instructions for handling errors, and instructions for caching.\n\n## Status of This Memo\n\nThis is an Internet Standards Track document.\n\nThis document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.\n\nInformation about the current status of this document, any errata, and how to provide feedback on it may be obtained at [https://www.rfc-editor.org/info/rfc9309](https://www.rfc-editor.org/info/rfc9309).\n\n## Copyright Notice\n\nCopyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.",
  "metadata": {
   "lang": "en",
   "title": "RFC 9309: Robots Exclusion Protocol",
   "author": "Martijn Koster",
   "description": "This document specifies and extends the \"Robots Exclusion Protocol\" method originally defined by Martijn Koster in 1994 for service owners to control how content served by their ser
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readmd-url-to-markdown-converter-c22d1b27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from readmd.canisell.xyz](https://www.zero.xyz/host/readmd.canisell.xyz/llms.txt)
