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.
pages.developers.challenge.headline
pages.developers.challenge.description
# 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"}}}'pages.developers.solution.headline
pages.developers.solution.description
pages.developers.solution.features.api.title
pages.developers.solution.features.api.description
pages.developers.solution.features.cicd.title
pages.developers.solution.features.cicd.description
pages.developers.solution.features.reproducible.title
pages.developers.solution.features.reproducible.description
pages.developers.solution.features.fast.title
pages.developers.solution.features.fast.description
API Endpoints
Simple REST API with bearer token authentication. Integrate in minutes.
| Endpoint | Method | Description |
|---|---|---|
| /api/presidio/analyze | POST | Detect PII entities in text |
| /api/presidio/anonymize | POST | Anonymize detected entities |
| /api/image | POST | Redact PII from images |
| /api/structured | POST | Process CSV/Excel files |
| /api/presidio/entities | GET | List 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
pages.developers.cta.headline
pages.developers.cta.subheadline