MaraDocs API

Document intelligence from a single source.

OCR, PDF optimisation, deskewing, virus scan and email parsing — all via a single REST API and SDKs for TypeScript, Python & GO. Hosted in Germany.

GDPR-compliant · Servers in Germany · OpenAPI spec · TypeScript & Python SDKs

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
End-to-end example: make an image and PDF searchable with OCR, combine them, download the finished PDF — just a few lines of TypeScript.

You know this from a developer's perspective:

01

OCR from vendor A. PDF compression from vendor B. Virus scan from vendor C.

02

Three contracts, three DPAs, three invoices, three SDKs — and three points of failure.

03

And none of them are hosted in Germany.

We make it simpler

One API. One SDK. One provider.

All document functions via a REST API with well-maintained TypeScript and Python SDKs. Fully OpenAPI-documented, hosted in Germany, with a single contract and a single invoice.

No subscription. No vendor lock-in to US providers. No "pay for features you never use".

Features

Everything your backend needs for documents.

Every feature available individually via the API — or conveniently as an end-to-end flow. You choose, we deliver.

Detect documents in images

Crop documents from images

Optimise PDF

Merge / split PDFs

Repair PDF

AI text recognition (OCR)

Extract text

Unpack email attachments

Virus scan on all files

Billing

Granular credit system with transparent pricing.

One pool of credits — all features billed through it. The more you buy, the cheaper each individual credit. Usage transparently visible in your dashboard.

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. To prevent API abuse, we charge a base fee of one credit per API request.

Use cases

Popular use cases today.

Three examples we see daily at law firms, tax advisory firms, and SaaS providers.

Process email attachments automatically

Custom integrations are easy to build using the straightforward MaraDocs API.

n8n / Make / Zapier Integration

Embed MaraDocs into existing no-code and low-code automations. One REST API, clear endpoints, fully documented — done.

Integration into your systems

Integrate the MaraDocs API into your existing systems. Exactly the way you need it. Simple integration through a clear and understandable API.

Where your data goes.

GDPR & hosting in Germany

Servers exclusively in Germany. DPA pursuant to Art. 28 GDPR available on request. No data sharing with third parties, no AI training on your data.

HTTPS & automatic deletion

All API communication encrypted. Documents are deleted from our servers immediately after processing.

Professional regulatory compliance

MaraDocs can be used in compliance with professional regulations by privilege holders pursuant to § 43e BRAO.

Frequently asked questions.

How does billing work?
The MaraDocs API uses a credit system. You purchase credit packages in advance and use them flexibly across all API features. Each API call consumes the number of credits stated in the pricing table — no per-endpoint subscription, no hidden costs.
What happens to unused credits?
Credits only expire after 12 months of inactivity. You can top up your balance at any time. Detailed usage statistics can be easily retrieved via the API.
Is my data secure?
All API communication is encrypted via HTTPS. Your documents are deleted from our servers immediately after processing. Hosted exclusively in Germany, no AI training on your data.
Can I conclude a data processing agreement?
Yes. We offer individual data processing agreements in accordance with Art. 28 GDPR for API usage upon request. You can request one via your account on our website.
Which terms and privacy policy apply?
Our Terms and Conditions and Privacy Policy apply.
MaraDocs API

Get started right away.

OpenAPI spec, SDK examples and sandbox workspace available immediately after registration.

Servers in Germany · DPA on request · No vendor lock-in