Skip to content
The hosted API is live. Prices and terms on this page are as of 22 November 2026.

extract.tables

Extract the tables of a PDF with their rows.

POST /v1/extract/tables

Input one file, sent as multipart/form-data; the optional options part is a JSON object
Output JSON
Credits credits per page by quality: fast 1, auto 3, max 5 (max also describes figures and tables with a model: two per page are included and each one above that costs 1 more credit, up to six per page)
Limits [size, page and time limits: no claim ID yet]
Reads or changes the document reads only
Error statuses 400, 413, 422, 500, 501, 504 (see Errors)
Option Type Required Default Description
max_figures_per_page integer no max only: most tables described per page, 1 to 6. Default 2; each one above two costs 1 more credit.
pages array of integer no One-based pages. Default: all pages.
password string no Password of an encrypted document.
quality string no Extraction quality tier. Default fast. max also describes every table with a model (up to two per page included in the price), in description on each table. fast: Geometric extraction, no model, no OCR. The default. auto: fast plus OCR of scanned pages. Answers quality_unavailable (501) on a deployment without an OCR engine. max: The full reading the engine gives, plus a short model description of every figure and table (up to two per page are included in the price). Part of the trial. With your own model key (x-byok-model-key) only the processing credits are charged: 3 a page, no Max uplift and no extra-figure charge.
Terminal window
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/extract/tables" \
-H "x-api-key: $PDFLUENT_API_KEY" \
-F file=@structured.pdf \
-o result.json

The key goes in the x-api-key header; see Authentication. Every response carries x-pdfluent-pages and x-pdfluent-credits.