Radically simple API
to extract data from documents
/document-to-json
/document-to-markdown
/document-to-json
# Convert any document to a custom JSON schema
curl -X POST https://api.documentai.dev/document-to-json/v1 \
-H "x-api-key: YOUR_API_KEY" \
-F "file=@invoice.docx" \
-F 'schema={"company": "string", "paid": "boolean", "items": [{"name": "string", "price": "number"}]}'/document-to-markdown
# Convert any document to Markdown
curl -X POST https://api.documentai.dev/document-to-markdown/v1 \
-H "x-api-key: YOUR_API_KEY" \
-F "file=@report.png" \
-F 'options={"headings": true, "italic": false, "tables": true, "page_delimiters": false}'Super easy to set up
Everything is efficient and straightforward.
Private & secure
We don't use nor share your data.
EU data residency
Data only stored and processed in the EU.
We support all document types
PDFWord (.doc, .docx)Images (PNG, JPG, WebP, GIF, BMP)PowerPoint (.ppt, .pptx)Excel (.xls, .xlsx, .csv)HTMLRTF / TXTOpenDocument (ODT, ODS, ODP)Code filesPlain text