{"name":"pdf2md","description":"Convert a hosted PDF into clean Markdown, HTML, or structured JSON by sending its pdf_url. Runs on Datalab's Marker OCR engine, which is layout-aware, so multi-column pages, tables, and equations come out readable instead of scrambled the way naive text extraction leaves them. The response includes the converted output plus page_count and the source URL; PDFs over 30 pages are rejected up front so you know immediately instead of waiting on a doomed job. Use it as a PDF to Markdown converter, PDF OCR API, or document text extraction tool for contracts, papers, and scanned reports.","price":"$0.20","method":"POST","input_schema":{"properties":{"pdf_url":{"type":"string","description":"URL to the source PDF. Rejected if it exceeds 30 pages."},"output_format":{"type":"string","description":"'markdown' (default), 'html', or 'json'."}},"required":["pdf_url"]},"input_example":{"pdf_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf"},"output_example":{"markdown":"# Title\n\nBody...","page_count":3},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}