Deur George Curta ·
PII Anonymization API for Developers
An anonymization API is a developer endpoint that strips PII from text inside your own pipelines. Ship privacy-first applications with anonym.legal's REST endpoints for CI/CD integration, MCP Server for AI tools, and consistent anonymization across 48 languages.
Die Uitdaging
Ontwikkelingspanne staar 'n konstante spanning tussen realistiese toetsdata en databeskerming in die gesig:
- •Produksiedata bevat sensitiewe PII wat nie direk gebruik kan word nie
- •Sintetiese data ontbreek dikwels die realisme wat nodig is vir betekenisvolle toetsing
- •Handmatige anonimisering is tydrowend en geneig tot foute
- •Verskillende omgewings benodig konsekwente, herhaalbare 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"}}}'Die Oplossing
Integreer PII-anonimisering direk in jou ontwikkelingswerksvloei met ons RESTful API.
REST API
Eenvoudige JSON API vir integrasie in enige stapel. Analiseer en anonimiseer in 'n enkele versoek.
CI/CD Gereed
Outomatiseer toetsdata-generering in jou pyp. Konsekwente resultate elke keer.
Herhaalbaar
Dieselfde invoer, dieselfde uitvoer. Deterministiese resultate vir betroubare toetsing.
Vincent
Verwerk duisende rekords per minuut. Geen GPU benodig.
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/presidio/image | POST | Redact PII from images |
| /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
Begin Vandag Bou
200 gratis tokens per maand. Volledige dokumentasie beskikbaar.
Limitations / Important note
- Rate limits and endpoint availability depend on your plan; build in retry/backoff handling.
- Detection results are probabilistic; validate before automated downstream use. This is not legal advice.