작성자: 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.
과제
개발팀은 현실적인 테스트 데이터와 데이터 보호 사이의 지속적인 긴장에 직면합니다:
- •프로덕션 데이터에는 직접 사용할 수 없는 민감한 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/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
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.