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
挑战
开发团队面临真实测试数据与数据保护之间的持续紧张:
- •生产数据包含敏感的PII,无法直接使用
- •合成数据通常缺乏进行有意义测试所需的真实性
- •手动匿名化耗时且容易出错
- •不同环境需要一致、可重现的数据
# 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"}}}'解决方案
通过我们的RESTful API将PII匿名化直接集成到您的开发工作流中。
REST API
简单的JSON API,适用于任何技术栈。一次请求即可分析和匿名化。
CI/CD就绪
在您的管道中自动化测试数据生成。每次都能获得一致的结果。
可重现
相同输入,相同输出。可确定的结果,确保可靠测试。
快速
每分钟处理数千条记录。无需GPU。
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
ISO 27001 Aligned
Germany (EU) Hosted
Bearer Token Auth
REST + MCP