MaraDocs API

Document Processing via MaraDocs API

Use the powerful features of the MaraDocs API in your own applications and automations.

Document Intelligence

All features available via API

Recognize documents in images

Extract documents from images

Optimize PDF

Combine / split PDFs

Repair PDFs

AI text recognition on images and PDFs

Extract text

Extract email attachments

Virus scan on all files

Modern SDKs and API Documentation

Developer-first API approach

We offer clean and well-documented SDKs in Typescript and Python. Processing documents via the MaraDocs API is incredibly easy.

The entire API is documented as an OpenAPI Specification.

API Documentation
document_processing.ts
1import { MaraDocsServer, MaraDocsClient } from "@maramia/maradocs-sdk-ts";
2
3// Server-side: create workspace and send workspaceSecret to client
4const server = new MaraDocsServer({ secretKey: process.env.MARADOCS_SECRET_KEY! });
5const ws = await server.workspace.create({});
6
7// Client-side: OCR documents and combine into single PDF
8const client = new MaraDocsClient({ workspaceSecret: ws.workspace_secret });
9
10// Convienient end-to-end flows ready to use
11const imgPdf = await client.flow.ocrImg(imageFile); // image → searchable PDF
12const pdfPdf = await client.flow.ocrPdf(pdfFile); // PDF → searchable PDF
13
14// Combine and download your final PDF
15const combined = await client.pdf.compose({ pdfs: [{ pdf_handle: imgPdf }, { pdf_handle: pdfPdf }] });
16const blob = await client.data.downloadPdf({ pdf_handle: combined.pdf_handle });
17

Flexible Billing

Credit-based pricing

Purchase credit packages in advance and use them flexibly for all API functions.

Price calculator

We offer volume-discounted credit prices.

Amount
100,00 €
Credits
13.675.574
27% volume discount included
Price per credit:0,0007 cents
10 €5,000 €
Checking if you are logged in...

Pricing Overview

Credit consumption per API call

Filter:
FunctionUnitCredits
File uploadper MB25
MIME type recognitionper file100
Virus scanper MB25
File downloadper MB25
Validate imageper MB25
Create thumbnailper image25
Recognize documents in imagesper image500
Detect image orientationper image100
Crop imageper section25
Rotate imageper image25
Convert image to JPEGper image25
Convert image to PNGper image25
Convert image to PDFper image25
Image OCR to PDFper image100
Validate PDFper MB25
Compose PDFper page25
Optimize PDFper page25
Rotate PDFper page25
Render PDFper page25
Detect PDF orientationper page100
PDF OCR (text recognition)per page100
Validate emailper MB25
22 of 22 functions

The displayed credit costs apply per unit. When processing multiple pages or documents, credits are multiplied accordingly.

Use Cases

Example workflows

Contact us for detailed examples of integration into your workflows. We are happy to provide information on API integration, custom pricing, or technical questions.

Process email attachments

Automate the processing of incoming documents directly after email receipt.

N8N / Make Integration

Integrate MaraDocs into your existing N8N or Make workflow for seamless automation.

Cloud Storage Sync

Process documents automatically when uploading to your cloud storage.

Ready for integration?

After free registration, you can activate your API account in the MaraDocs settings. We will immediately provide you with a sufficient amount of tokens for testing.

Checking if you are logged in...

Important Notes

How billing works

After purchasing credits, you can use them via our REST API. Each API call consumes the number of credits specified in the price list.

Your credit balance can be topped up at any time. You will receive detailed usage statistics in your dashboard.

Security and Privacy

All API communication is encrypted via HTTPS. Your documents are immediately deleted from our servers after processing.

We offer individual data processing agreements for API usage upon request.

Terms and Conditions

Our Terms and Conditions and the Privacy Policy.