{"uid":"cap_-Mojpq1nnO12tTuaDrUoB","slug":"pdf-to-markdown-converter-ssrf-safe-x402-51913787","name":"PDF to Markdown Converter (SSRF-Safe, x402)","description":"Call when an agent needs text extracted from a public PDF URL (SSRF-safe) or pdf_base64 (8MB cap) as markdown. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/pdf-to-md first.","url":"https://lotus-clarke-boxed-ceramic.trycloudflare.com/v1/pdf-to-md?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8},"pdf_base64":{"type":"string","maxLength":11184843,"minLength":1}}},"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_V7L8hJpy2wQLnyUcnYvCW","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":"Extracts and converts the content of a PDF (via public URL or base64) into clean markdown, with SSRF protection and an 8MB base64 cap.","exampleAgentPrompt":"Can you extract the text from this PDF and give it to me as markdown? Here's the URL: https://example.com/report.pdf","exampleUseCases":[{"title":"Research paper ingestion pipeline","prompt":"Pull the full text out of this academic PDF and convert it to markdown so I can feed it into my summarization workflow: https://arxiv.org/pdf/2301.00001.pdf"},{"title":"Legal document text extraction","prompt":"I have a contract PDF at https://files.mycompany.com/contract-2024.pdf — can you extract all the text from it as markdown so I can search through it?"},{"title":"Uploaded PDF parsing from base64","prompt":"I've encoded this PDF in base64 — can you convert its contents to markdown text so I can read and analyze it?"}],"resultDescription":"Returns the full textual content of the PDF rendered as markdown, preserving structure such as headings and paragraphs where detectable. The agent receives a markdown string suitable for further processing, summarization, or display.","failureModes":["URL is not publicly accessible or blocked by SSRF filters — returns error indicating unsafe or unreachable URL","Base64 payload exceeds 8MB cap — returns error about size limit","URL does not point to a valid PDF — returns parsing error","Malformed base64 string — returns decoding error","PDF is encrypted or password-protected — may return empty or error response","Network timeout fetching remote PDF URL"],"whenToPreferThis":"Use this endpoint when you need to extract readable markdown text from a PDF, either by supplying a public URL or a base64-encoded file up to 8MB. Prefer the free sandbox endpoint (/v1/sandbox/pdf-to-md) first if available; fall back to this paid endpoint ($0.01 USDC via x402) when the sandbox is unavailable or rate-limited. Choose this over generic web scrapers when the source is specifically a PDF document rather than an HTML page.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:30:29.500Z","isFirstParty":false,"canonicalSlug":"pdf-to-markdown-converter-ssrf-safe-x402-51913787"}