{"name":"extract-tables","description":"Detects and extracts every table from a PDF document, returning structured JSON or CSV per table. 30 pages max via Datalab Marker. Use it as a table extractor, PDF-to-CSV converter, or spreadsheet-from-PDF tool.","price":"$0.10","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."},"page_range":{"type":"string","description":"Optional 1-indexed page filter applied after extraction. Accepts ranges, single pages, or comma-lists: '1-5', '3', '1,3,5'. Default: all pages."}},"required":["pdf_url"]},"input_example":{"pdf_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf"},"output_example":{"source_url":"https://raw.githubusercontent.com/py-pdf/sample-files/main/001-trivial/minimal-document.pdf","page_count":1,"tables":[{"page":1,"rows":[["Quarter","Revenue","Net Income"],["Q1 2025","$2.1B","$340M"],["Q2 2025","$2.4B","$410M"]]}],"source":"https://datalab.to"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}