DocScanner API Overview
Convert PDFs, images, and scanned documents into structured, searchable, and summarized data using DocScanner’s OCR + AI engine.
Next-Gen OCR
Handles handwriting, tables, multi-column layouts, and low-quality scans.
AI Summarization
Auto-generate summaries, key points, and action items from documents.
Developer Friendly
REST API with predictable responses and error handling with functional dashboard to view statistics.
Secure by Default
Encrypted storage, scoped API keys, and SOC-2 compliant infrastructure.
Authentication
DocScanner uses API keys for authentication. Pass your key using the Authorization header.
Authorization: x-api-key: YOUR_API_KEY_HEREExample Request
Upload a document and receive extracted text and an AI summary.
curl -X POST "/api/v1/documents/upload_files" \
-H "x-api-key: YOUR_API_KEY_HERE" \
-F "files[]=@/path/to/file1.pdf"Example Response
{
"status": 201,
"message": "1 files uploaded successfully.",
"result": [
{
"id": 102,
"user_id": 1,
"original_filename": "imagedata.jpg",
"file_type": "image",
"file_size": 74356,
"status": "processing",
"industry": null,
"created_at": "2026-01-13T15:04:27.734333+05:00",
"updated_at": "2026-01-13T15:04:27.734333+05:00",
"processed_at": null,
"s3_url": "STORAGE_IMAGE_URL/1/24eb986d-fb37-4910-8cea-fe0e1c68834c/imagedata.jpg"
}
]
}Errors
Errors follow standard HTTP status codes with a consistent response shape.
{
"error": {
"code": "invalid_file",
"message": "Unsupported file format"
}
}Rate Limits
Free tier requests are limited to 60 requests per minute. Higher limits are available on paid plans.
Build with DocScanner today
Get your API key and start scanning in minutes.
