Unstructured API
Self-hosted Partition Endpoint that turns PDFs, Office files and images into JSON or CSV elements.
Quick answer
Unstructured API is a self-hosted Partition Endpoint that turns PDFs, Office files and images into JSON or CSV elements, listed under Document processing. A typical small-business use: a shared internal API that turns contracts, invoices and PDFs into JSON or CSV for RAG pipelines. The project publishes no official RAM figure, so we do not estimate a monthly server cost. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Nov 23, 2026.
What is Unstructured API?
Unstructured API is the official self-hosted REST service for the open-source unstructured library's Partition Endpoint. It detects the uploaded file type, partitions the document, and returns elements as JSON or CSV. Strategies include auto, fast, hi_res and ocr_only, with optional table and image-block extraction, OCR language selection and by_title chunking. This repository is for running the Partition Endpoint yourself; Unstructured also sells a managed platform (Pipelines / Transform) with additional models and production features.
Where it fits in a 10–200 person business
- A shared internal API that turns contracts, invoices and PDFs into JSON or CSV for RAG pipelines
- OCR and layout-aware partitioning of scanned documents without sending files to Unstructured's cloud
- A preprocessing step behind n8n, Dify or custom scripts
These use cases are our editorial suggestions, not claims made by the project.
Can a business use Unstructured API? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed; keep the license and notices. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does Unstructured API phone home?
| Telemetry (usage data sent to the vendor) | Not documented |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Not supported Official open-source vs platform comparison lists one-click SSO as available on the managed Unstructured API/Pipelines and not on the open-source library. The self-hosted Partition Endpoint documents only an optional shared API key header, not SSO. Source: docs.unstructured.io/open-source/introduction/overview |
| Audit log | Not documented |
| Role-based access control (RBAC) | Not documented |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does Unstructured API need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.
GPU: GPU usage is not supported for the Unstructured open source library.
No official CPU, RAM or disk minimums are published for the self-hosted API. The server rejects new work with HTTP 503 when free memory falls below UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB (default 2048); set it to 0 to disable the check. Images are published for amd64 and arm64.
Source: github.com/Unstructured-IO/unstructured-api#server-configuration
How much does it cost to host Unstructured API per month?
The project publishes no RAM figure we could verify, so we do not estimate a cost.
How to deploy Unstructured API
Method: Docker
docker pull quay.io/unstructured-io/unstructured-api:latest
docker run --rm --name unstructured-api -p 8000:8000 \
quay.io/unstructured-io/unstructured-api:latest
# API on :8000, healthcheck on /healthcheck, OpenAPI on /general/docs From the official instructions: github.com/Unstructured-IO/unstructured-api#run-the-published-image. Always check the source for the current version before you run it.
Known gotchas when self-hosting Unstructured API
- UNSTRUCTURED_API_KEY is unset by default, so anyone who can reach port 8000 can call the API. Set the variable so requests must send the same value in the unstructured-api-key header. source
- The README tells you to pin a release or commit tag instead of latest for reproducible deployments. source
- Official open-source docs describe this library and Partition Endpoint as a starting point for prototyping, not production. They lack Unstructured's latest VLMs, fine-tuned OCR, by-page and by-similarity chunking, and several other paid-platform features. source
- New work is rejected with HTTP 503 when free memory falls below UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB (default 2048). Set it to 0 only if you want to disable that check. source
Alternatives in Document processing
- PaddleOCR OCR toolkit and document AI engine that turns scans, images and PDFs into LLM-ready text, Markdown or JSON. Compare PaddleOCR vs Unstructured API
- MinerU Document parser that converts PDFs, scans and Office files into clean Markdown or JSON for LLMs and RAG. Compare MinerU vs Unstructured API
- Paperless-ngx Document management system that OCRs scans into a searchable archive, auto-tags them and adds optional LLM suggestions and chat. Compare Paperless-ngx vs Unstructured API
- OCRmyPDF Command-line tool and Docker image that adds a searchable OCR text layer to scanned PDFs, with a watched-folder service. Compare OCRmyPDF vs Unstructured API
- olmOCR Ai2's vision-language OCR that turns PDFs and scans into clean Markdown, including tables, equations and handwriting. Compare olmOCR vs Unstructured API
- Unstract No-code LLM platform that turns invoices, forms and other documents into structured JSON. Compare Unstract vs Unstructured API
- Paperless-AI AI auto-tagging and document chat for Paperless-ngx (currently unmaintained). Compare Paperless-AI vs Unstructured API
- paperless-gpt LLM add-on for paperless-ngx that does better OCR and writes titles, tags and correspondents. Compare paperless-gpt vs Unstructured API
- Docling Serve Docling document conversion (PDF, Office, images to Markdown/JSON) as a self-hosted API with a demo UI. Compare Docling Serve vs Unstructured API
Unstructured API FAQ
How much RAM does Unstructured API need?
Unstructured API does not publish an official RAM figure, so we do not state one. The server rejects new work with HTTP 503 when free memory falls below UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB (default 2048); set it to 0 to disable the check. Images are published for amd64 and arm64.
Does Unstructured API need a GPU?
GPU usage is not supported for the Unstructured open source library.
How much does it cost to self-host Unstructured API?
The software is free to download. The project publishes no official RAM figure, so we do not estimate a monthly server cost.
Is Unstructured API free for commercial use?
Unstructured API is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed; keep the license and notices. This is a summary, not legal advice.
What are common problems when self-hosting Unstructured API?
UNSTRUCTURED_API_KEY is unset by default, so anyone who can reach port 8000 can call the API. Set the variable so requests must send the same value in the unstructured-api-key header. The README tells you to pin a release or commit tag instead of latest for reproducible deployments. Official open-source docs describe this library and Partition Endpoint as a starting point for prototyping, not production. They lack Unstructured's latest VLMs, fine-tuned OCR, by-page and by-similarity chunking, and several other paid-platform features. New work is rejected with HTTP 503 when free memory falls below UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB (default 2048). Set it to 0 only if you want to disable that check.
Is Unstructured API still maintained?
Yes, it is actively developed. Last commit: Oct 20, 2026. Latest release: 0.1.2 (Apr 3, 2026). Checked Nov 23, 2026.
How do I install Unstructured API?
The official method is Docker. The exact commands are in the "How to deploy" section above and in the official instructions: https://github.com/Unstructured-IO/unstructured-api#run-the-published-image
What are self-hosted alternatives to Unstructured API?
Other apps in Document processing: PaddleOCR, MinerU, Paperless-ngx, OCRmyPDF, olmOCR, Unstract, Paperless-AI, paperless-gpt, Docling Serve.
Sources
- GitHub repository: github.com/Unstructured-IO/unstructured-api
- Official documentation: github.com/Unstructured-IO/unstructured-api#readme
- License text: github.com/Unstructured-IO/unstructured-api/blob/main/LICENSE.md
- Hardware requirements, Gotcha 1, Gotcha 4: github.com/Unstructured-IO/unstructured-api#server-configuration
- Deploy instructions, Gotcha 2: github.com/Unstructured-IO/unstructured-api#run-the-published-image
- Gotcha 3: docs.unstructured.io/open-source/introduction/overview
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-11-14. Spotted something out of date? Tell us.