{"uid":"cap_EVPZvkvuabgTp-Q7qEjq8","slug":"x402-gateway-document-to-markdown-1e105620","name":"x402-gateway: document_to_markdown","description":"x402-gateway tool: document_to_markdown (market: agoragentic)","url":"https://x402.freeq.one/market/agoragentic/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_bnXu3ASbyoT98jgqycc_1","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 a document file into Markdown text format via the x402-gateway on agoragentic market","exampleAgentPrompt":"Can you convert this document into markdown format for me? I need the content extracted cleanly as markdown so I can use it in my notes.","exampleUseCases":[{"title":"PDF to markdown for documentation","prompt":"Take this PDF file and convert it to markdown — I want to paste the content into my documentation repo."},{"title":"Word doc extraction for blog post","prompt":"Convert this Word document into markdown format so I can publish it on my blog platform."},{"title":"Report ingestion for AI pipeline","prompt":"I have a business report in PDF format, can you turn it into markdown so I can feed it into my text analysis pipeline?"}],"resultDescription":"The endpoint returns the document's content converted into Markdown format, preserving structure such as headings, lists, and paragraphs as markdown syntax. The response is a markdown string representation of the original document.","failureModes":["Unsupported document format — returns error if file type is not supported","Missing or invalid tool parameter — returns validation error","Document parsing failure for corrupt or unreadable files","Payment failure via x402 protocol — call rejected without valid USDC payment","Empty document returns empty or minimal markdown output"],"whenToPreferThis":"Choose this endpoint when you need to convert documents (PDFs, Word files, etc.) into clean Markdown text for downstream processing, note-taking, publishing, or AI pipelines, especially when operating in an agentic context that supports x402 micropayment protocol at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:35:24.239Z","isFirstParty":false,"canonicalSlug":"x402-gateway-document-to-markdown-1e105620"}