PDF tables to rows
pdf_tablesExtract tables from public text-based PDF URLs and return column names, row counts, rows, plus CSV and Excel links. Merges tables spanning pages for structured data use.
Instructions
Extract tables from PDF files at public URLs (text-based PDFs, not scans). Each item is one table: source PDF, pages, column names, row count, rows as objects (first 50 shown here), and links to the full table as CSV and Excel. Tables continuing across pages are merged. Cost: $2.00 per 1,000 tables on the user's Apify account (PDFs with no tables are free). Latency: usually 10-60 s depending on page count.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pdf_urls": "<pdf_urls>"
},
"name": "pdf_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Optional page range, e.g. '1-3,7'. Empty reads every page. | |
| min_rows | No | Ignore tables with fewer data rows than this. | |
| pdf_urls | Yes | Direct public links to PDF files (https://...). The file must download without a login. | |
| strategy | No | 'lines' for tables with ruled borders, 'text' for tables aligned with spaces only. | lines |
| max_tables | No | Stop after this many tables. | |
| pdf_password | No | Optional. Password for protected PDFs. Leave empty otherwise. | |
| merge_across_pages | No | Join a table that continues on the next page. | |
| first_row_is_header | No | Use the first row as column names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||