Powerful REST API

Integrate PII detection and anonymization into any application. Simple endpoints, comprehensive documentation, production-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://anonymize.today/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 scores

Available Endpoints

POST/api/presidio/analyze

Analyze text to detect PII entities. Returns entity types, positions, and confidence scores.

View documentation →
POST/api/presidio/anonymize

Anonymize detected PII using your chosen method. Returns anonymized text.

View documentation →
POST/api/presidio/batch

Process multiple documents in a single request. Enterprise plans support up to 100 documents.

View documentation →
GET/api/health

Check API status and service health. No authentication required.

Public endpoint

Advanced API Features

Custom Entities

Create, manage, and use custom PII detection patterns with regex. Define your own entity types for industry-specific data.

POST /api/entities

Presets API

Save and reuse anonymization configurations. Create presets for GDPR compliance, internal policies, or custom needs.

POST /api/presets

Personal Encryption Keys

Use your own encryption keys for reversible anonymization. Keys are never stored on our servers.

AES-256-GCM

Share System

Share presets and custom entities with team members or publicly. Control access with expiration dates.

POST /api/share

API Features

JWT Authentication

Secure token-based authentication for all API calls

Rate Limiting

Fair rate limits with clear headers. Higher limits for paid plans

Code Examples

Ready-to-use examples in multiple programming languages

Start Building Today

300 free API calls per month. No credit card required.