{"uid":"cap_MdFlLYeKGA8VPnjgfj-ld","slug":"api-node4all-com-fca28a85","name":"Node4All pdf2md — PDF to Markdown Converter","description":"Node4All pdf2md — layout-aware PDF → Markdown (pdf2md) conversion powered by @opendocsg/pdf2md, ideal for ingesting long documents into agent context windows. Accepts a multipart \"file\" upload (application/pdf, ≤10MB) and returns text/markdown. Operator: Node4All (https://node4all.com). Currency: USDC on Base.","url":"https://api.node4all.com/v1/pdf2md","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M88vjNjto2tQqhB-VZqJD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an uploaded PDF file into Markdown text using layout-aware parsing, suitable for feeding document content into AI agent context windows.","exampleAgentPrompt":"Can you convert this PDF file I'm uploading into Markdown so I can read through its contents — it's a research paper, about 8MB.","exampleUseCases":null,"resultDescription":"Returns the full content of the uploaded PDF rendered as text/markdown, with layout-aware formatting preserved (headings, paragraphs, lists) ready to be inserted into an LLM context window.","failureModes":["File exceeds 10MB limit — request rejected","Non-PDF file type uploaded — unsupported media type error","Corrupted or password-protected PDF — parsing failure","Payment not authorized via x402 — 402 Payment Required response","Network timeout on large file upload"],"whenToPreferThis":"Use this endpoint when you need to ingest a PDF document into an AI agent's context window as readable Markdown. Ideal for long research papers, reports, or any structured PDF where layout-awareness matters. Prefer over generic OCR when clean Markdown structure (headings, lists) is needed rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:21.761Z","isFirstParty":false}