{"uid":"cap_qDrt8oGsb8SreV_64u7Bq","slug":"any-url-to-markdown-converter-1327ca93","name":"Any URL to Markdown Converter","description":"Bundled execution of the Convert anything to markdown workflow - Convert anything at a URL - HTML, PDF, or an image - to clean markdown. The 'I have a URL but it might be any content-type, give me markdown either way' workflow: HEAD-detect the content-type, branch to the right deterministic extractor (article extract for HTML, pdf-to-markdown for PDFs, OCR for images), and report token/word stats on the output so the caller can budget the result against an LLM context window.","url":"https://agent402.tools/api/skill/any-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) URL to convert to markdown. Can point at an HTML article, a PDF, or an image - the workflow auto-detects."}}},"responseSchema":{"type":"json","example":{"args":{"url":"https://example.com"},"pack":"any-to-markdown","steps":[{"ok":true,"slug":"http-headers","result":{}},{"ok":true,"slug":"extract","result":{}},{"ok":true,"slug":"pdf-to-markdown","result":{}},{"ok":true,"slug":"image-ocr","result":{}},{"ok":true,"slug":"html-to-markdown","result":{}},{"ok":true,"slug":"text-stats","result":{}}],"summary":"6/6 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.026","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.026/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.026","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.026","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rGuLEt-NPvDdBqvqGx4Ar","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.026","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Auto-detects content type of a URL (HTML, PDF, or image) and converts it to clean markdown using the appropriate extractor","exampleAgentPrompt":"Can you grab the content from https://example.com/report.pdf and give it to me as clean markdown? It might be a PDF, HTML page, or image — just figure out what it is and convert it.","exampleUseCases":null,"resultDescription":"Clean markdown text extracted from the target URL. The endpoint auto-detects whether the URL points to an HTML article, PDF, or image, and applies the appropriate deterministic extractor to return well-formatted CommonMark markdown.","failureModes":["URL is not publicly accessible or returns a non-200 status — extraction fails","Unsupported content type beyond HTML/PDF/image — workflow may not branch correctly","Malformed or non-HTTP URL input — validation error","PDF is scanned/image-only with no extractable text — markdown may be empty or OCR-limited","Large files may time out depending on download speed"],"whenToPreferThis":"Use this endpoint when you have a URL that could be any of several content types (HTML, PDF, image) and you want a single call to produce clean markdown without needing to detect the type yourself or chain multiple tools. Ideal for agent workflows that ingest heterogeneous web content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:59:29.780Z","isFirstParty":false}