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.
Utmaningen
Utvecklingsteam står inför en konstant spänning mellan realistiska testdata och dataskydd:
- •Produktionsdata innehåller känslig PII som inte kan användas direkt
- •Syntetiska data saknar ofta den realism som behövs för meningsfull testning
- •Manuell anonymisering är tidskrävande och benägen för fel
- •Olika miljöer behöver konsekventa, reproducerbara 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"}}}'Lösningen
Integrera PII-anonymisering direkt i ditt utvecklingsarbetsflöde med vårt RESTful API.
REST API
Enkel JSON-API för integration i vilken stack som helst. Analysera och anonymisera i en enda begäran.
CI/CD Klar
Automatisera testdatagenerering i din pipeline. Konsekventa resultat varje gång.
Reproducerbar
Samma indata, samma utdata. Deterministiska resultat för pålitlig testning.
Snabb
Bearbeta tusentals poster per minut. Ingen GPU krävs.
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
Börja Bygga Idag
300 gratis API-anrop per månad. Full dokumentation tillgänglig.