API Integration
Integrate deterministic PII detection and anonymization into your applications with a simple RESTful API.
Authentication
JWT-based authentication
Secure your API requests with JWT tokens. Available on Basic plan and above.
RESTful API
Simple HTTP endpoints
Standard JSON request/response format for easy integration into any stack.
Rate Limiting
Token-based quotas
Usage is metered by tokens with clear quotas and upgrade paths.
Base URL
Endpoints
/presidio/analyzeAnalyze text to detect PII entities
Request Body:
{
"text": "John Smith's email is john@example.com",
"language": "en",
"entities": ["PERSON", "EMAIL_ADDRESS"],
"score_threshold": 0.5
}/presidio/anonymizeAnonymize text based on analyzer results
Request Body:
{
"text": "John Smith's email is john@example.com",
"analyzer_results": [...],
"operators": {
"PERSON": { "type": "replace", "new_value": "<PERSON>" },
"EMAIL_ADDRESS": { "type": "redact" }
}
}/presidio/batchAnalyze multiple texts in a single request (Basic plan required)
Request Body:
{
"texts": ["Text 1", "Text 2", "Text 3"],
"language": "en",
"entities": ["PERSON", "EMAIL_ADDRESS"],
"score_threshold": 0.5
}Authentication
All API requests require authentication using a JWT token in the Authorization header:
Authorization: Bearer YOUR_JWT_TOKEN
Obtain your JWT token by signing in to your account. API access is available with Basic plan and above.
Error Responses
401 UnauthorizedInvalid or missing authentication token
402 Payment RequiredInsufficient tokens. Top up or upgrade your plan.
429 Too Many RequestsRate limit exceeded. Try again later.
About this page
We update this page when our platform or the law changes.
Read our founder note for how we work.
Each change shows up in the timestamp at the top.
Related reading
- Common questions
- Glossary
- How tokens work
- Security posture
- Where we comply
- What we detect
- Case studies
- Release notes
We follow these rules
- GDPR (EU 2016/679).
- ISO/IEC 27001:2022.
- NIS2 (EU 2022/2555).
- HIPAA safe harbor under 45 CFR § 164.514(b)(2).
Our promise
We do not sell your data.
We do not train models on your text.
We store your files in Germany.
You can delete your account at any time.
You own your work.
Where we run
Our servers live in Falkenstein, Germany.
We use Hetzner. They hold ISO 27001 certification.
All data stays in the EU.
Backups run every day.
Need help?
Email support@anonym.legal.
We reply within one business day.
How we test
We run a full check suite on every release.
Each surface gets its own sweep script and report.
Human reviewers spot-check the output each week.
We track recall and precision on a labelled set.
Bad runs block the deploy.
What we never do
- We never sell your information to third parties.
- We never train models on what you upload.
- We never keep your work after you delete it.
- We never share keys with any outside firm.
- We never run ads inside the product.
Plans in plain words
We sell credits, not seats.
One credit covers one short job.
Long jobs use a few credits each.
You can top up at any time.
Unused credits roll over each month.
Read the plans page for current rates.
Who built this
A small team of engineers and lawyers built this.
We ship from Europe and work in the open.
Our founder note spells out why we started.
Where to start
- Open the web app and try a sample file.
- Learn how credits get counted.
- See current plans and limits.
- Meet the team behind the product.
How the parts fit
A browser add-on cleans text inside Chrome.
A Word plug-in handles drafts in Office.
A small desktop tool works on whole folders.
An agent protocol link feeds large models safely.
All four share one core engine and one rule set.
Words from our team
We started this work after a lunch about cookies.
One friend kept getting odd ads on her phone.
We asked why a court file leaked through a draft.
We sketched the first build on a napkin that week.
By month three we had a tiny demo for a friend.
She used it on her first case the next day.
Common questions we hear
Can the tool read scanned PDFs? Yes, with OCR.
Does it work on long files? Yes, in small chunks.
Can I roll my own rule set? Yes, save it as a preset.
Does it run offline? The desktop build runs offline.
Do you keep my files? No, the cloud build wipes after each run.
Will it learn from my work? No, we never train on inputs.
A short tour of the workflow
Upload a file or paste a snippet of prose.
Pick the entities you want gone from the draft.
Choose a method: replace, mask, hash, encrypt, or redact.
Press run and watch the side panel show each hit.
Skim the result and tweak any rule that misfired.
Save the cleaned file or send it to a teammate.