Powerful REST API & SDKs

Integrate PII detection and anonymization into any application. Official SDKs for JavaScript/TypeScript and Python with client-side encryption.

Quick Start

Get started with the API in minutes

  1. 1

    Install the SDK: npm install @cloak-business/sdk or pip install cloak-business

  2. 2

    Get your API token from the dashboard

  3. 3

    Make your first anonymization request

  4. 4

    Integrate into your application

Official SDKs

Type-safe libraries for JavaScript/TypeScript and Python with zero-knowledge encryption support

JavaScript / TypeScript

npm install @cloak-business/sdk
  • Full TypeScript support
  • Client-side AES-256-GCM encryption
  • Automatic retry with exponential backoff
  • Works in Node.js and browsers
View on npm

Python

pip install cloak-business
  • Full type hints (PEP 484)
  • Client-side encryption via cryptography
  • Async support with aiohttp
  • Python 3.9+ compatible
View on PyPI

Zero-Knowledge Encryption

Both SDKs include ClientCrypto modules for true zero-knowledge encryption. Your encryption keys never leave your device - all encryption/decryption happens locally using AES-256-GCM.

Learn about Zero-Knowledge Security

API Features

RESTful Endpoints

Clean, intuitive API design following REST best practices.

JWT Authentication

Secure token-based authentication for all API calls.

Rate Limiting

Fair rate limits with clear headers. Higher limits for enterprise.

Official SDKs

JavaScript/TypeScript and Python SDKs with client-side encryption.

Available Endpoints

POST/api/analyzeDetect PII in text
POST/api/anonymizeAnonymize detected PII
POST/api/deanonymizeReverse encryption-based anonymization

Start Building Today

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