{"name":"pdf-to-text","description":"Extracts text from digital or scanned PDFs, preserving reading order across multi-column layouts with an AI + OCR pipeline (Datalab Marker). Recognizes scanned pages and returns Markdown by default (clean text with structure) or HTML / JSON. 30 pages max. Works as a PDF to plain text converter, pdftotext or pdf2txt replacement, PDF text extractor, scanned PDF OCR, or read/parse PDF content extractor.","price":"$0.0025","method":"POST","input_schema":{"properties":{"pdf_url":{"type":"string","description":"Public URL of a PDF file (http or https). Must be directly fetchable, not behind auth or a viewer redirect. Max 30 pages."},"output_format":{"type":"string","enum":["markdown","html","json"],"description":"'markdown' (default — best for LLM downstream), 'html' (preserves more layout structure), or 'json' (per-page blocks with type + bbox)."}},"required":["pdf_url"]},"input_example":{"pdf_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf","output_format":"markdown"},"output_example":{"markdown":"# Title\n\nBody text...","page_count":5,"source_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}