BiGapiguides
POST /v1/pdf/extract-tables · 1 cent per page

PDF → tables

Extract tables from a PDF to JSON or CSV (PDF table to Excel-ready CSV) — works on invoices, reports, bank statements. Billed per page.

Try it

curl -X POST https://api.bigapi.dev/v1/pdf/extract-tables -H 'Authorization: Bearer $KEY' -F 'file=@invoice.pdf' -F 'output=csv' -o tables.csv

New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.

Parameters

NameMeaning
file requiredPDF with a text layer that contains tables (for scans use ocr first).
firstFirst page to read (1 is the first page).
Default: first page
lastLast page to read.
Default: last page
outputJSON {pages:[{page, tables:[[row]]}]} or semicolon CSV.
Allowed: json, csv
Default: "json"
minColsMinimum number of columns for a line to count as a table row. Raise it to 3 or more if ordinary text is mistaken for a table.
Default: 2

Result and price

1¢/p · 1 cent per page

Returns application/json | text/csv. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds pdf_extract_tables on its own.