{"name":"markdown-x402","version":"1.0.0","description":"Convert a URL, PDF, HTML page, or image to clean structured Markdown (title, sections, word count) for AI agents and RAG pipelines. Inline x402 payment, no account or API key needed.","endpoints":[{"path":"/convert","method":"POST","description":"Convert a URL, PDF, HTML, or image file to structured JSON containing the Markdown content, title, section headings, and word count. Useful for feeding web pages and documents into an LLM context or RAG index.","payment":{"protocol":"x402","amount":"0.005","currency":"USDC","network":"eip155:8453","payTo":"0x762cf9834691286218D873eA04B898E26F0963c5"},"input":{"type":"object","description":"JSON { \"url\": string } OR multipart/form-data with a 'document' field (PDF/HTML/image file)."},"output":{"type":"object","properties":{"title":{"type":"string"},"word_count":{"type":"integer"},"sections":{"type":"array"},"markdown":{"type":"string"}}}}]}