{"uid":"cap_uYbAMNiM7__Q-GpaYzyRe","slug":"x402-gateway-document-to-markdown-6cc1a343","name":"x402-gateway: document_to_markdown","description":"x402-gateway tool: document_to_markdown (market: bazaar)","url":"https://x402.freeq.one/market/bazaar/tools/document_to_markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tool":{"type":"string","description":"Tool name (see GET /tools for the catalog)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HZzq7pjq6Ygha1KaMnw4h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts documents (PDFs, Word files, HTML, etc.) into clean Markdown text via a paid x402 gateway","exampleAgentPrompt":"Can you convert this PDF report into clean Markdown so I can use it in my documentation site? Use the document_to_markdown tool on the x402 bazaar gateway.","exampleUseCases":[{"title":"PDF report to documentation","prompt":"I have a PDF whitepaper I need to publish on our docs site — can you convert it to Markdown so I can paste it right into our repo?"},{"title":"Word file to markdown blog post","prompt":"Take this Word document I uploaded and convert it into Markdown format so I can post it to my Jekyll blog."},{"title":"HTML page to markdown notes","prompt":"Convert this HTML article page into clean Markdown so I can save it as a note in my Obsidian vault."}],"resultDescription":"A Markdown-formatted string representing the content of the input document, with headings, lists, and paragraphs preserved where possible.","failureModes":["Unsupported document format returns an error","Payment failure if USDC balance is insufficient (402 response)","Malformed or corrupted document may yield incomplete markdown","Large documents may time out or be truncated","Missing or invalid 'tool' parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to programmatically convert documents (PDF, DOCX, HTML) into Markdown in an agentic pipeline and are comfortable with per-call micropayments via the x402 protocol. Prefer this over manual conversion or heavy OCR pipelines for lightweight document-to-markdown needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:33:42.883Z","isFirstParty":false,"canonicalSlug":"x402-gateway-document-to-markdown-1e105620"}