{"uid":"cap_8lUU3ElvU4aTKkrz_zJIZ","slug":"readmd-url-to-markdown-converter-c22d1b27","name":"Readmd URL-to-Markdown Converter","description":"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.\n\nContent belongs to its publishers; Readmd fetches it on your request and does not store it. Pages that need JavaScript to render are not supported.","url":"https://readmd.canisell.xyz/v1/read?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"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 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."},"final_url":"https://www.rfc-editor.org/rfc/rfc9309.html","truncated":true,"fetched_at":"2026-11-02T09:19:37.680Z","tokens_est":396,"word_count":226,"content_type":"text/html"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qkm99oDuAyPqcjOwT2wXZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"LLM context from news article","prompt":"Grab the main article text from https://techcrunch.com/2024/01/15/some-ai-story and convert it to Markdown I can paste straight into my prompt — no nav, no sidebar, just the article content and a quick outline."},{"title":"RAG ingestion pipeline for docs page","prompt":"Fetch https://docs.stripe.com/payments/accept-a-payment and return the main content as Markdown chunked into pieces of about 800 tokens each so I can index them in my vector database."},{"title":"Token budget check before summarization","prompt":"Before I summarize https://www.reuters.com/technology/some-long-report, can you fetch it as Markdown and tell me roughly how many tokens it is? Cap the output at 20000 tokens if it's really long."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:31:36.506Z","isFirstParty":false,"canonicalSlug":"readmd-url-to-markdown-converter-c22d1b27"}