# Readmd Batch URL-to-Markdown Converter

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

Converts up to 10 URLs in parallel into clean LLM-ready Markdown, stripping page chrome and optionally returning metadata, outline, token estimate, and RAG chunks

## Facts

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

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-batch-url-to-markdown-converter-7c0ab54b -d '<json body>'
```

Example prompt: Fetch these three article URLs for me and convert them to clean markdown — just the main article content, no sidebars or navigation — and split each one into RAG chunks of about 500 tokens each: https://example.com/article1, https://example.com/article2, https://example.com/article3.

## When to prefer this

Choose this endpoint when you need to extract clean article text from multiple URLs in a single request and want LLM-ready Markdown with structured metadata (title, outline, token count) rather than raw HTML. It is especially well-suited for RAG pipelines needing pre-chunked content, or for injecting web content directly into LLM prompts with token budgets. Prefer it over single-URL alternatives when processing 2–10 pages in parallel. It is not appropriate for JavaScript-heavy SPAs, pages behind authentication, or full-site crawls.

## Known failure modes

- URL requires JavaScript rendering — not supported, returns error
- Private or loopback IP address refused
- Page exceeds 3 MB cap — truncated or rejected
- robots.txt disallows the readmd user-agent — returned as disallowed with no charge
- Redirect target is a private address — refused
- HTTP non-200 response from origin — returned as failed with no charge
- Invalid URL format or non-http(s) scheme — validation error
- Timeout fetching slow-loading pages

## 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 with an ok count, failed count, and a results array — one entry per URL — each containing the cleaned Markdown text, page title, document outline (headings with levels), robots.txt status, HTTP status code, source format, latency in ms, extraction mode used, truncation flag, optional RAG chunks (each with heading path and token count), and optional extracted links as {url, text} pairs. Failed URLs are returned with error details and no charge is incurred for them.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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."
  },
  "urls": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 2048,
    "minLength": 4
   },
   "maxItems": 10,
   "minItems": 1,
   "description": "Up to 10 public http(s) URLs, read in parallel."
  },
  "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": 2,
  "count": 2,
  "failed": 0,
  "results": [
   {
    "ok": true,
    "url": "https://www.rfc-editor.org/rfc/rfc9309.html",
    "result": {
     "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 Exclu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readmd-batch-url-to-markdown-converter-7c0ab54b/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)
