PDF tables to JSON
pdf_tables_to_jsonRead-onlyIdempotent
Extract every table from a PDF and return it as rows of cells in JSON, with the page number of each table. Use when you need numbers from financial statements, invoices, price lists or reports that are locked in a PDF. Send {url} or {base64}. Max 20 MB, first 50 pages. Returns {pages, tables:[{page, rows}], truncated}. Errors: 400 not a PDF, 413 too large. Price: $0.01 USDC per call (x402).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the file. Provide url OR base64. | |
| base64 | No | File contents, base64-encoded (max 20 MB). Provide url OR base64. |