DeveloperAPI Documentation
Integrate Ademero's AI-powered document intelligence into your applications. Complete API reference, SDKs, and code examples.
API Status & Performance
99.9%
Uptime
127ms
Avg Response
2.5M+
API Calls/Day
15K+
Active Developers
Quick Start Guides
Get up and running with Ademero API in minutes
Authentication Setup
Set up API keys and authentication
First Document Upload
Upload and process your first document
Webhook Integration
Receive real-time processing updates
Workflow Automation
Automate document processing workflows
Official SDKs
Use our official libraries for faster integration
Python SDK
v2.1.0Official Python library for Ademero API
Installation
pip install ademero-pythonExample Usage
from ademero import Client
client = Client(api_key="your_api_key")# Upload and process document
document = client.documents.upload("invoice.pdf")print(f"Document ID: {document.id}")# Wait for processing
analysis = client.documents.wait_for_analysis(document.id)
print(f"Extracted data: {analysis.extracted_data}")Node.js SDK
v1.8.2Official Node.js/TypeScript library
Installation
npm install @ademero/node-sdkExample Usage
import { Ademero } from '@ademero/node-sdk';
const client = new Ademero({
apiKey: process.env.ADEMERO_API_KEY
});
// Upload document
const document = await client.documents.upload({
file: fs.createReadStream('invoice.pdf'),
options: { extractData: true }
});
// Get analysis
const analysis = await client.documents.getAnalysis(document.id);
console.log('Extracted data:', analysis.extractedData);PHP SDK
v1.5.1Official PHP library for Laravel and other frameworks
Installation
composer require ademero/php-sdkExample Usage
<?php
use Ademero\Client;
$client = new Client(['api_key' => 'your_api_key']);
// Upload document
$document = $client->documents()->upload('invoice.pdf');
echo "Document ID: " . $document->getId();// Get analysis
$analysis = $client->documents()->getAnalysis($document->getId());
print_r($analysis->getExtractedData());API Reference
Complete documentation of all available endpoints
/api/v1/documentsRetrieve a list of documents with optional filtering and pagination
Request Example
curl -X GET "https://api.ademero.com/v1/documents?limit=20&page=1" \-H "Authorization: Bearer YOUR_API_KEY" \-H "Content-Type: application/json"
Response Example
{
"data": [{
"id": "doc_123456","filename": "invoice_2024_001.pdf","status": "processed","created_at": "2024-01-15T10:30:00Z","size": 2048576,"pages": 3,"confidence": 98.5}
],
"pagination": {"page": 1,"limit": 20,"total": 150,"has_more": true}
}/api/v1/documents/uploadUpload and process a new document for AI analysis
Request Example
curl -X POST "https://api.ademero.com/v1/documents/upload" \-H "Authorization: Bearer YOUR_API_KEY" \-F "file=@document.pdf" \-F "options={\"extract_data\":true,\"ocr\":true}"Response Example
{
"id": "doc_789012","status": "processing","upload_url": "https://upload.ademero.com/...","estimated_completion": "2024-01-15T10:35:00Z","webhook_url": "https://your-site.com/webhooks/ademero"}/api/v1/documents/{id}/analysisGet AI analysis results for a specific document
Response Example
{
"document_id": "doc_123456","analysis": {"document_type": "invoice","confidence": 99.2,"extracted_data": {"vendor_name": "Acme Corporation","invoice_number": "INV-2024-001","total_amount": 1250.00,"currency": "USD","due_date": "2024-02-15"},
"entities": [{
"type": "amount","value": "1250.00","confidence": 98.8,"bbox": [100, 200, 180, 220]}
]
}
}/api/v1/workflows/executeExecute a predefined workflow on documents
Request Example
curl -X POST "https://api.ademero.com/v1/workflows/execute" \-H "Authorization: Bearer YOUR_API_KEY" \-H "Content-Type: application/json" \-d '{
"workflow_id": "wf_invoice_processing","document_ids": ["doc_123456", "doc_789012"],"parameters": {"auto_approve_threshold": 95}
}'Response Example
{
"execution_id": "exec_345678","status": "running","workflow_id": "wf_invoice_processing","documents_processed": 0,"total_documents": 2,"estimated_completion": "2024-01-15T10:40:00Z"}/api/v1/users/meGet current user information and permissions
Response Example
{
"id": "user_123","email": "john.doe@company.com","name": "John Doe","role": "admin","permissions": ["documents:read","documents:write","workflows:execute","analytics:view"],
"organization": {"id": "org_456","name": "Acme Corporation","plan": "enterprise"}
}/api/v1/analytics/usageGet API usage statistics and billing information
Response Example
{
"period": "2024-01","usage": {"documents_processed": 1250,"api_calls": 15670,"storage_used_mb": 5120,"ai_analysis_minutes": 45.5},
"limits": {"documents_per_month": 5000,"api_calls_per_hour": 2000,"storage_limit_gb": 100},
"billing": {"current_charges": 425.00,"next_billing_date": "2024-02-01"}
}Need Developer Support?
Our developer success team is here to help you integrate and scale