{"uid":"cap_zJCS6e3zKNtGb68z1fAng","slug":"document-to-markdown-converter-e2ff05c5","name":"Document to Markdown Converter","description":"50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.","url":"https://skinwinking.com/api/v1/web/document-to-markdown?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public document URL"},"maxChars":{"type":"integer","default":50000,"maximum":200000,"minimum":1000}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"markdown":"# Dummy PDF file"}},"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_UfcaAOOWza80Mx6E4dIXH","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":"Fetches a public document URL and converts its content to Markdown text, up to 200,000 characters.","exampleAgentPrompt":"Can you fetch the document at https://example.com/report.pdf and convert it to markdown? Keep it under 50000 characters.","exampleUseCases":[{"title":"Research paper ingestion for summarization","prompt":"Grab this PDF at https://arxiv.org/pdf/2301.00001 and convert it to markdown so I can summarize the key findings — cap it at 80000 characters."},{"title":"Legal contract text extraction","prompt":"I need the text from this contract PDF at https://docs.company.com/contract.pdf converted to markdown so I can review the clauses — limit it to 100000 characters."},{"title":"Web article conversion for note-taking","prompt":"Convert the document at https://example.org/whitepaper.pdf into markdown format for me so I can paste it into my notes app."}],"resultDescription":"Returns a JSON object containing a 'markdown' field with the full converted markdown text of the fetched document, truncated to the specified maxChars limit (default 50,000, max 200,000).","failureModes":["URL is not publicly accessible — returns error or empty response","Document format not supported or not parseable — may return partial or empty markdown","maxChars limit not respected if document is very small — returns full content","Network timeout if document is very large or slow to download","Invalid URL format — returns validation error"],"whenToPreferThis":"Choose this endpoint when you need to convert a publicly accessible document (PDF, web page, etc.) to Markdown in a single low-cost API call with pay-per-use pricing via x402/USDC. Prefer it over browser-based scrapers when the input is a document URL and the desired output is clean Markdown text, especially in agent pipelines where micro-payment billing is already configured.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-13T18:42:32.119Z","isFirstParty":false,"canonicalSlug":"document-to-markdown-converter-e2ff05c5"}