{"uid":"cap_AnAUOagDqSorAA9XxgbLq","slug":"markdown-x402-document-to-markdown-converter-d3744352","name":"markdown-x402 Document-to-Markdown Converter","description":"Convert URL, PDF, HTML, or image to structured Markdown (title, sections, word count)","url":"https://markdown-x402.nordman-tehau.workers.dev/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL du document a convertir (page web, PDF, image)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M4Mypeu65wDbT5ppfkgEc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a URL pointing to a web page, PDF, HTML, or image into structured Markdown with title, sections, and word count","exampleAgentPrompt":"Can you convert the PDF at https://example.com/report.pdf into structured Markdown so I can see the title, sections, and word count?","exampleUseCases":[{"title":"Extract article content for summarization","prompt":"Grab the article at https://www.nytimes.com/2024/06/01/technology/ai-report.html and convert it to markdown so I can summarize the key sections."},{"title":"Parse PDF research paper into markdown","prompt":"Convert this research paper PDF at https://arxiv.org/pdf/2401.12345.pdf into structured markdown — I need the title, all the sections, and word count."},{"title":"Archive webpage as structured markdown","prompt":"Turn the HTML page at https://docs.python.org/3/library/os.html into markdown format so I can save it to my notes."}],"resultDescription":"Returns a structured Markdown document with the document's title, section headings and content, and a word count — extracted from the content at the provided URL (web page, PDF, HTML, or image).","failureModes":["URL is unreachable or returns a non-200 response — conversion fails with an error","PDF is encrypted or password-protected — content extraction fails","Image contains no readable text — empty or minimal markdown output","Malformed or invalid URL input — validation error","Payment of $0.005 USDC not completed via x402 — request rejected with 402 status","Very large documents may time out before conversion completes"],"whenToPreferThis":"Choose this endpoint when you need to convert the content at a URL (web page, PDF, HTML, or image) into clean, structured Markdown with metadata like title, sections, and word count. It is ideal for agents that need to ingest remote documents into a readable, parseable text format without running their own scraping or PDF-parsing infrastructure. Prefer it over generic scraping APIs when you specifically need Markdown output with structural metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:53.588Z","isFirstParty":false}