{"openapi":"3.1.0","info":{"title":"Readmd by Mintward","version":"1.0.0","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.","x-guidance":"Web page to clean, LLM-ready Markdown for AI agents: main-content extraction, metadata, outline, token counts and RAG chunks. $0.001 per page, $0.005 for 10. Call a paid endpoint without payment to get HTTP 402 with the terms; any x402 client pays and retries. Errors (status >= 400) are never charged."},"servers":[{"url":"https://readmd.mintward.xyz"}],"tags":[{"name":"paid"},{"name":"free"}],"paths":{"/v1/read":{"get":{"operationId":"read","summary":"Read one web page as clean Markdown","description":"Read a web page as clean Markdown for an LLM. Fetches the URL (robots.txt respected), extracts the main content (drops navigation, headers, footers, sidebars, cookie banners) and returns GitHub-flavoured Markdown with headings, lists, tables, code blocks (with language) and absolute links, plus metadata (title, description, author, published/modified dates, site name, language, canonical URL, image), an outline of headings, word count and a token estimate. Options: mode=full for the whole page, links=false to save tokens, images=true, include_links=true for the link list, max_tokens to truncate, chunk_tokens to get RAG-ready chunks with heading paths. Also converts native Markdown, plain text, JSON and RSS/Atom feeds. Never charged when it fails: unreachable or 4xx/5xx targets, robots.txt disallow, unsupported types (PDF, images) and empty/JavaScript-only pages return an error and are not settled. $0.001 per page.","tags":["paid"],"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"url":"https://www.rfc-editor.org/rfc/rfc9309.html","final_url":"https://www.rfc-editor.org/rfc/rfc9309.html","status":200,"content_type":"text/html","source":"html","mode":"main","title":"RFC 9309: Robots Exclusion Protocol","metadata":{"title":"RFC 9309: Robots Exclusion Protocol","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.","author":"Martijn Koster","lang":"en"},"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.","word_count":226,"tokens_est":396,"truncated":true,"outline":[{"level":1,"text":"RFC 9309"},{"level":1,"text":"Robots Exclusion Protocol"},{"level":2,"text":"Abstract"},{"level":2,"text":"Status of This Memo"},{"level":2,"text":"Copyright Notice"}],"robots":"allowed","fetched_at":"2026-11-02T09:19:37.680Z","ms":457}}}},"400":{"description":"Invalid input; payment is not settled"},"402":{"description":"Payment required (x402). Requirements are in the PAYMENT-REQUIRED header and the body."},"413":{"description":"Input too large; payment is not settled"},"502":{"description":"Upstream failure; payment is not settled"}},"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"scheme":"exact","network":"eip155:8453","asset":"USDC","payTo":"0x741f78ED943C671e25405dAAaAB7b6886C7e8feb"},"security":[{"x402":[]}],"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","minLength":4,"maxLength":2048,"description":"Public http(s) URL of the page to read."},"example":"https://example.com/"},{"name":"mode","in":"query","required":false,"schema":{"description":"\"main\" (default): the article / main content only, without navigation, headers, footers, sidebars and cookie banners. \"full\": the whole page body.","type":"string","enum":["main","full"]}},{"name":"links","in":"query","required":false,"schema":{"description":"Keep inline links as [text](url) in the Markdown. Default true; false saves tokens.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"images","in":"query","required":false,"schema":{"description":"Keep images as ![alt](src). Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"include_links","in":"query","required":false,"schema":{"description":"Also return `links`: every link in the content as {url, text} (up to 500). Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]}},{"name":"max_tokens","in":"query","required":false,"schema":{"description":"Truncate the Markdown to about this many tokens, at a paragraph boundary (`truncated` tells you). Default: no limit (400k characters max).","type":"integer","minimum":100,"maximum":100000}},{"name":"chunk_tokens","in":"query","required":false,"schema":{"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.","type":"integer","minimum":100,"maximum":8000}}]}},"/v1/read/batch":{"post":{"operationId":"readBatch","summary":"Read up to 10 web pages as Markdown","description":"Read up to 10 web pages as clean Markdown in one call, in parallel: the same output as /v1/read for each URL, with a per-URL ok/error. $0.005 per call (= $0.0005 per page at 10 URLs). Charged only if at least one URL is read successfully.","tags":["paid"],"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"count":2,"ok":2,"failed":0,"results":[{"url":"https://www.rfc-editor.org/rfc/rfc9309.html","ok":true,"result":{"url":"https://www.rfc-editor.org/rfc/rfc9309.html","final_url":"https://www.rfc-editor.org/rfc/rfc9309.html","status":200,"content_type":"text/html","source":"html","mode":"main","title":"RFC 9309: Robots Exclusion Protocol","metadata":{"title":"RFC 9309: Robots Exclusion Protocol","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.","author":"Martijn Koster","lang":"en"},"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.","word_count":226,"tokens_est":396,"truncated":true,"outline":[{"level":1,"text":"RFC 9309"},{"level":1,"text":"Robots Exclusion Protocol"},{"level":2,"text":"Abstract"},{"level":2,"text":"Status of This Memo"},{"level":2,"text":"Copyright Notice"}],"robots":"allowed","fetched_at":"2026-11-02T09:19:37.680Z","ms":457}}]}}}},"400":{"description":"Invalid input; payment is not settled"},"402":{"description":"Payment required (x402). Requirements are in the PAYMENT-REQUIRED header and the body."},"413":{"description":"Input too large; payment is not settled"},"502":{"description":"Upstream failure; payment is not settled"}},"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"scheme":"exact","network":"eip155:8453","asset":"USDC","payTo":"0x741f78ED943C671e25405dAAaAB7b6886C7e8feb"},"security":[{"x402":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"urls":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":4,"maxLength":2048},"description":"Up to 10 public http(s) URLs, read in parallel."},"mode":{"description":"\"main\" (default): the article / main content only, without navigation, headers, footers, sidebars and cookie banners. \"full\": the whole page body.","type":"string","enum":["main","full"]},"links":{"description":"Keep inline links as [text](url) in the Markdown. Default true; false saves tokens.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]},"images":{"description":"Keep images as ![alt](src). Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]},"include_links":{"description":"Also return `links`: every link in the content as {url, text} (up to 500). Default false.","anyOf":[{"type":"boolean"},{"type":"string","enum":["0","1","true","false"]}]},"max_tokens":{"description":"Truncate the Markdown to about this many tokens, at a paragraph boundary (`truncated` tells you). Default: no limit (400k characters max).","type":"integer","minimum":100,"maximum":100000},"chunk_tokens":{"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.","type":"integer","minimum":100,"maximum":8000}},"required":["urls"]},"example":{"urls":["https://example.com/","https://www.rfc-editor.org/rfc/rfc9309.html"],"links":false,"max_tokens":2000}}}}}},"/v1/preview":{"get":{"operationId":"preview","summary":"Free preview: title, metadata and the first 500 characters","description":"Free preview of /v1/read for one URL (?url=): title, metadata, outline, word and token counts, and the first 500 characters of the Markdown. Rate-limited per IP. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/v1/sample":{"get":{"operationId":"sample","summary":"Example /v1/read result","description":"A recorded input and full paid response of /v1/read. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/":{"get":{"operationId":"getRoot","summary":"Service description and endpoint list","description":"Service description and endpoint list. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK"}}}},"/v1/health":{"get":{"operationId":"getHealth","summary":"Liveness","description":"Liveness. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK"}}}},"/openapi.json":{"get":{"operationId":"getOpenApi","summary":"OpenAPI 3.1 with prices (x-payment-info)","description":"OpenAPI 3.1 with prices (x-payment-info). Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK"}}}},"/.well-known/x402":{"get":{"operationId":"getWellKnownX402","summary":"x402 resource list","description":"x402 resource list. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK"}}}},"/llms.txt":{"get":{"operationId":"getLlmsTxt","summary":"Plain-text description for LLMs","description":"Plain-text description for LLMs. Free.","tags":["free"],"security":[],"responses":{"200":{"description":"OK"}}}},"/mcp":{"post":{"operationId":"postMcp","summary":"Remote MCP server (Streamable HTTP, stateless)","description":"Model Context Protocol, JSON-RPC 2.0 over POST. Free tools: about, preview_url. Paid tools (x402 MCP transport, _meta[\"x402/payment\"]): read_url $0.001, read_urls $0.005. Without a payment a paid tool returns the payment terms and the paid HTTP URL.","tags":["free"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"MCP JSON-RPC 2.0 request (initialize, tools/list, tools/call)"}}}},"responses":{"200":{"description":"JSON-RPC response"}}}}},"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 v2 payment payload (base64). Request without it to get a 402 with the payment requirements."}}}}