PII Privacy API
The PII Privacy API provides comprehensive Personally Identifiable Information (PII) detection, anonymization, and extraction capabilities built specifically for GDPR/CCPA compliance. Using advanced Natural Language Processing (NLP) with the compromise.js library and sophisticated regex patterns, this API can identify and handle sensitive data including email addresses, phone numbers, person…
PII Privacy API endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
/privacy/pii/extract/phone /privacy/pii/extract/phone |
Extracts all phone numbers from the provided text. |
| POST |
/privacy/pii/report /privacy/pii/report |
Produces a compliance report with entity counts, anonymized text, and audit trail. |
| POST |
/privacy/pii/extract/name /privacy/pii/extract/name |
Extracts person names using NLP. |
| POST |
/privacy/pii/extract/domain /privacy/pii/extract/domain |
Extracts domains mentioned in the text. |
| POST |
/privacy/pii/detect /privacy/pii/detect |
Detects PII entities such as names, emails, phone numbers, domains, and zip codes. |
| POST |
/privacy/pii/extract/location /privacy/pii/extract/location |
Extracts cities, states, countries, and zip codes. |
| POST |
/privacy/pii/extract/email /privacy/pii/extract/email |
Extracts email addresses from the text. |
| POST |
/privacy/pii/anonymize /privacy/pii/anonymize |
Replaces detected PII entities with anonymized placeholders. |
| GET |
/ping /ping |
Lightweight liveness probe that returns pong. |
| GET |
/hardware /hardware |
Returns a snapshot of CPU, memory, and OS details. |
| GET |
/health /health |
Returns service health status and timestamp. |