Supported file types
The Data Extraction API accepts PDFs, images, and Office documents. The API automatically detects the file type from the content; you don’t need to specify it explicitly.
PDFs
| Extension | MIME type |
|---|---|
application/pdf |
Images
| Extension | MIME type |
|---|---|
| PNG | image/png |
| JPG / JPEG | image/jpeg |
| TIFF | image/tiff |
| BMP | image/bmp |
| GIF | image/gif |
| WEBP | image/webp |
| SVG | image/svg+xml |
| HEIC | image/heic |
| TGA | image/x-tga |
| EPS | image/postscript |
Office documents
The API supports Word documents, spreadsheets, and presentations across both modern Open XML formats and legacy binary formats.
Documents
| Extension | MIME type |
|---|---|
| DOC | application/msword |
| DOCX | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| DOCM | application/vnd.ms-word.document.macroEnabled.12 |
| DOTX | application/vnd.openxmlformats-officedocument.wordprocessingml.template |
| DOTM | application/vnd.ms-word.template.macroEnabled.12 |
| RTF | application/rtf |
| ODT | application/vnd.oasis.opendocument.text |
Spreadsheets
| Extension | MIME type |
|---|---|
| XLS | application/vnd.ms-excel |
| XLSX | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| XLSM | application/vnd.ms-excel.sheet.macroEnabled.12 |
| XLSB | application/vnd.ms-excel.sheet.binary.macroEnabled.12 |
| XLTX | application/vnd.openxmlformats-officedocument.spreadsheetml.template |
| XLTM | application/vnd.ms-excel.template.macroEnabled.12 |
| XLAM | application/vnd.ms-excel.addin.macroEnabled.12 |
Slides
| Extension | MIME type |
|---|---|
| PPT / PPS | application/vnd.ms-powerpoint |
| PPTX | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| PPTM | application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
| PPSX | application/vnd.openxmlformats-officedocument.presentationml.slideshow |
| PPSM | application/vnd.ms-powerpoint.slideshow.macroEnabled.12 |
| POTX | application/vnd.openxmlformats-officedocument.presentationml.template |
| POTM | application/vnd.ms-powerpoint.template.macroEnabled.12 |
| PPAM | application/vnd.ms-powerpoint.addin.macroEnabled.12 |
File size limits
The maximum file size depends on how the document reaches the API.
With a live key, direct uploads are limited to 150 MB for the whole request. Larger requests return a 413 response. Test keys carry lower limits.
For a url input, Nutrient downloads the file, and that download is limited to 50 MB with a 30-second response timeout. A file larger than 50 MB returns a 422 response with the detail file at URL exceeds maximum size on $.url. A download that fails or times out returns 422 on the same path.