Spreadsheet extraction

Extract structured data from Excel spreadsheets

Send Excel files and get structured data back. The API reads across sheets, understands header rows, and maps cells to your schema — even from complex multi-sheet workbooks.

How it works

1

Send your XLSX file

Upload via the API or pass a URL. The API auto-detects the format.

2

Define your schema

Describe the fields you want as a JSON schema. The API maps your document to your structure.

3

Get structured JSON

Receive typed data with confidence scores and citations back to the source document.

Example request

curl -X POST https://dev.thedrive.ai/api/v1/extract \
  -H "X-API-Key: your_key" \
  -F "file=@document.xlsx" \
  -F 'schema={"headers": ["string"], "rows": [{"item": "string", "quantity": "number", "price": "number"}]}'

XLSX processing features

Multi-sheet support

Reads across all sheets in a workbook. Specify which sheet or let the API find the relevant data.

Header detection

Automatically identifies header rows and maps them to your schema fields.

Formula-aware

Reads computed values from formula cells, not the formula text itself.

Start extracting from XLSX files

Free tier includes 100 credits/month. No credit card required.