REST API + MCP Server

PII Anonymization API for Developers

Ship privacy-first applications with anonym.legal's developer-friendly API. REST endpoints for CI/CD integration, MCP Server for AI tools, and consistent anonymization across 48 languages.

285+
Entity types
48
Languages
200
Free tokens/month

The Challenge

Development teams face a constant tension between realistic test data and data protection:

  • Production data contains sensitive PII that cannot be used directly
  • Synthetic data often lacks the realism needed for meaningful testing
  • Manual anonymization is time-consuming and error-prone
  • Different environments need consistent, reproducible data
# Anonymize test data in CI/CD pipeline
curl -X POST https://anonym.legal/api/presidio/anonymize \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Contact john@company.com", "anonymizers": {"DEFAULT": {"type": "replace"}}}'

The Solution

Integrate PII anonymization directly into your development workflow with our RESTful API.

REST API

Simple JSON API for integration into any stack. Analyze and anonymize in a single request.

CI/CD Ready

Automate test data generation in your pipeline. Consistent results every time.

Reproducible

Same input, same output. Deterministic results for reliable testing.

Fast

Process thousands of records per minute. No GPU required.

API Endpoints

Simple REST API with bearer token authentication. Integrate in minutes.

EndpointMethodDescription
/api/presidio/analyzePOSTDetect PII entities in text
/api/presidio/anonymizePOSTAnonymize detected entities
/api/imagePOSTRedact PII from images
/api/structuredPOSTProcess CSV/Excel files
/api/presidio/entitiesGETList supported entity types

Integration Options

REST API

Standard REST endpoints with JSON payloads. Works with any language or framework.

  • Bearer token authentication
  • Batch processing support
  • Webhook callbacks (Pro+)

MCP Server

Model Context Protocol integration for AI tools like Claude Desktop and VS Code.

  • analyze, anonymize, deanonymize tools
  • estimate_cost for pricing transparency
  • Multi-language support in tool calls

Built for developers

ISO 27001 Aligned
Germany (EU) Hosted
Bearer Token Auth
REST + MCP

Start Building Today

300 free API calls per month. Full documentation available.