Now in Public Beta

Extract structured data from any document

AI-powered API that turns invoices, resumes, and any document into structured JSON. One API call, no templates needed, response in under 3 seconds.

โœ… 50 pages free โœ… No credit card โœ… <3s response
Terminal
$ curl -X POST https://docextract.ink/extract/invoice \ -H "X-API-Key: YOUR_KEY" \ -F "file=@invoice.pdf"
// Response { "vendor": "Acme Corp", "total": 1250.00, "date": "2026-01-15", "items": [...] }

How It Works

Three steps. That's it.

๐Ÿ“ค
Step 1

Upload

Send any PDF, image, or document to our API endpoint.

๐Ÿง 
Step 2

Extract

AI analyzes the document and extracts structured data fields.

๐Ÿ“ฆ
Step 3

Get JSON

Receive clean, structured JSON ready for your application.

Built for Developers

Everything you need to extract data from documents at scale.

๐Ÿ“„

Multiple Formats

PDF, PNG, JPG, TIFF, DOCX โ€” we handle all major document formats out of the box.

๐ŸŽฏ

Custom Schemas

Define your own extraction schema. Tell us what fields you need, get exactly that.

๐Ÿงพ

Pre-built Extractors

Ready-made extractors for invoices, resumes, receipts, and more. Zero config needed.

โšก

Fast Processing

Average response time under 3 seconds. Built for real-time workflows.

๐Ÿ’ฐ

Pay Per Page

Starting at $0.0005 per page. 50 pages free every month, no credit card required.

๐Ÿ”’

Secure by Default

Documents are processed in memory and never stored. SOC2-ready infrastructure.

Integration in Minutes

Drop-in code for your favorite language.

$ curl -X POST https://docextract.ink/extract/invoice \ -H "X-API-Key: YOUR_API_KEY" \ -F "file=@invoice.pdf"

Simple, Transparent Pricing

Start free. Scale as you grow.

Free

$0
forever
  • โœ“ 50 pages / month
  • โœ“ All extractors
  • โœ“ Community support
  • โ€” No overage
Start Free

Basic

$9.99
per month
  • โœ“ 500 pages / month
  • โœ“ All extractors
  • โœ“ Email support
  • โœ“ $0.05 / extra page
Get Started

Business

$99.99
per month
  • โœ“ 10,000 pages / month
  • โœ“ Custom schemas
  • โœ“ Dedicated support
  • โœ“ $0.02 / extra page
Contact Sales

API Documentation

Everything you need to integrate DocExtract.

๐Ÿ”‘ Authentication

All API requests require an API key passed via the X-API-Key header.

X-API-Key: your_api_key_here

๐ŸŒ Base URL

https://docextract.ink

๐Ÿ“ก Endpoints

Method Endpoint
POST /extract/invoice
POST /extract/resume
POST /extract
GET /health
GET /usage

๐Ÿงพ Invoice Extraction

Send a document to extract invoice fields automatically.

Request
POST /extract/invoice Content-Type: multipart/form-data X-API-Key: your_api_key file: invoice.pdf
Response โ€” 200 OK
{ "success": true, "data": { "vendor_name": "Acme Corporation", "invoice_number": "INV-2026-0042", "date": "2026-01-15", "due_date": "2026-02-15", "total": 1250.00, "currency": "USD", "line_items": [ { "description": "Web Development Services", "quantity": 40, "unit_price": 25.00, "total": 1000.00 }, { "description": "Hosting (Annual)", "quantity": 1, "unit_price": 250.00, "total": 250.00 } ] }, "pages_used": 1 }

๐Ÿ“‹ Resume Extraction

Response โ€” 200 OK
{ "success": true, "data": { "name": "Jane Smith", "email": "jane@example.com", "phone": "+1-555-0123", "skills": ["Python", "React", "AWS"], "experience": [ { "company": "TechCorp", "role": "Senior Developer", "period": "2023-2026" } ], "education": [ { "institution": "MIT", "degree": "B.S. Computer Science", "year": 2022 } ] }, "pages_used": 2 }

โš ๏ธ Error Codes

Code Meaning
400 Bad request โ€” missing file or invalid parameters
401 Unauthorized โ€” invalid or missing API key
413 File too large (max 20MB)
429 Rate limited โ€” too many requests
500 Server error โ€” retry or contact support

Try It Live

Paste any text below and see the extraction in action.

Click "Extract Data" to see the result