Powerful REST API
Integrate PII detection and anonymization into any application. Simple endpoints, comprehensive documentation, enterprise-ready.
Quick Start
Get started with the API in minutes
Install our SDK and make your first API call
- Install the SDK for your language
- Get your API token from the dashboard
- Make your first anonymization request
- Integrate into your application
// Analyze text for PII
const response = await fetch('https://blurgate.legal/api/presidio/analyze', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Contact John Smith at john.smith@company.com',
language: 'en'
})
});
const results = await response.json();
// Returns detected entities with positions and confidence scoresAvailable Endpoints
POST
/api/presidio/analyzeAnalyze text to detect PII entities. Returns entity types, positions, and confidence scores.
View documentation →POST
/api/presidio/anonymizeAnonymize detected PII using your chosen method. Returns anonymized text.
View documentation →POST
/api/presidio/batchProcess multiple documents in a single request. Enterprise plans support up to 100 documents.
View documentation →GET
/api/healthCheck API status and service health. No authentication required.
Public endpointAPI Features
JWT Authentication
Secure token-based authentication for all API calls
Rate Limiting
Fair rate limits with clear headers. Higher limits for enterprise
Code Examples
Ready-to-use examples in multiple programming languages