Simple REST API for document extraction. Send a file, get structured JSON. No SDKs to install, no complex setup. Integrate with any language, any platform.
POST https://api.docxtract.rpatech.ai/v1/extract
// Request
{
"file": "<base64_encoded_pdf>",
"document_type": "invoice",
"model": "standard"
}
// Response
{
"status": "success",
"document_id": "doc_abc123",
"data": {
"invoice_number": "INV-2025-0042",
"vendor": { "name": "ABC Corp", "gstin": "27AABCU9603R1ZM" },
"line_items": [...],
"total": 25900.00
},
"confidence": 0.97,
"processing_time_ms": 2340
}
Other APIs require heavy SDKs, authentication libraries, and platform-specific code. Weeks of integration work.
Batch-only processing means waiting hours for results. No real-time extraction for interactive workflows.
Schema changes between versions. Missing fields. Nested structures that vary by document. Parsing nightmares.
Synchronous for real-time (<5s). Async with webhooks for batch processing. You choose.
Same JSON structure across all document types. Predictable output, easy parsing.
API key in header. No OAuth flows, no token refresh, no session management.
Safe retries with request IDs. No duplicate processing, no lost documents.
Generous limits with clear headers. Burst support for spiky workloads.
Get notified when async processing completes. No polling required.
Works with your existing tech stack. No platform lock-in.
Structured data ready for your ERP, RPA, or database
{
"status": "success",
"document_id": "doc_7f8a9b2c",
"document_type": "invoice",
"model_used": "standard",
"data": {
"invoice_number": "GST/2025/001234",
"invoice_date": "2025-01-20",
"vendor": {
"name": "Tech Solutions Pvt Ltd",
"gstin": "29AABCT1332L1ZD",
"address": "Bangalore, Karnataka"
},
"buyer": {
"name": "Client Corp",
"gstin": "27AAACR5055K1Z5"
},
"line_items": [
{
"description": "Software License",
"hsn_code": "998314",
"quantity": 10,
"rate": 5000.00,
"amount": 50000.00
}
],
"subtotal": 50000.00,
"cgst": 4500.00,
"sgst": 4500.00,
"total": 59000.00
},
"confidence": 0.96,
"processing_time_ms": 1850
}
Start extracting documents in minutes. Free demo available.