作者: ·

REST API + MCP Server

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.

273
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.

EndpointMethodDescription
/api/presidio/analyzePOSTDetect PII entities in text
/api/presidio/anonymizePOSTAnonymize detected entities
/api/presidio/imagePOSTRedact PII from images
/api/presidio/entitiesGETList 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

立即开始构建

每月 200 个免费令牌。完整文档可供查阅。

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.

How we measure — our methodology