クイックスタート
数分でAPIを開始
- 1
SDKをインストール: npm install @cloak-business/sdk または pip install cloak-business
- 2
ダッシュボードからAPIトークンを取得
- 3
最初の匿名化リクエストを行う
- 4
アプリケーションに統合
公式SDK
JavaScript/TypeScriptおよびPython用の型安全なライブラリとゼロ知識暗号化サポート
JavaScript / TypeScript
npm install @cloak-business/sdk- 完全なTypeScriptサポート
- クライアントサイドAES-256-GCM暗号化
- 指数バックオフによる自動再試行
- Node.jsおよびブラウザで動作
Python
pip install cloak-business- 完全な型ヒント(PEP 484)
- 暗号化によるクライアントサイド暗号化
- aiohttpによる非同期サポート
- Python 3.9+互換
ゼロ知識暗号化
両方のSDKには、真のゼロ知識暗号化のためのClientCryptoモジュールが含まれています。暗号化キーはデバイスを離れることはなく、すべての暗号化/復号化はAES-256-GCMを使用してローカルで行われます。
ゼロ知識セキュリティについて学ぶAPIの特徴
RESTfulエンドポイント
RESTのベストプラクティスに従ったクリーンで直感的なAPIデザイン。
JWT認証
すべてのAPIコールに対する安全なトークンベースの認証。
レート制限
明確なヘッダーを備えた公正なレート制限。エンタープライズ向けに高い制限。
公式SDK
JavaScript/TypeScriptおよびPython用のSDKとクライアントサイド暗号化。
利用可能なエンドポイント
Asymmetric Key Management
よくある質問
APIリクエストをどのように認証しますか?
ダッシュボードの設定 > APIキーからAPIキーを生成します。すべてのリクエストに'Bearer YOUR_API_KEY'としてAuthorizationヘッダーに含めます。
レート制限はどのようになっていますか?
レート制限はプランに依存します:無料(10 req/min)、基本(60 req/min)、プロ(300 req/min)、ビジネス(1,000 req/min)。制限を超えると、APIはHTTP 429とRetry-Afterヘッダーを返します。
バッチ処理はサポートされていますか?
はい。/api/v1/batchエンドポイントは、リクエストごとに最大100のテキストを処理します。各アイテムは独自の言語とエンティティ設定を指定できます。結果には、アイテムごとのエンティティと集計メタデータが含まれます。
APIのレスポンス形式は何ですか?
APIは、検出されたエンティティ(タイプ、開始、終了、スコア)、匿名化されたテキスト、および処理メタデータを含むJSONレスポンスを返します。完全なOpenAPIドキュメントは/docsで利用可能です。
APIキーをどのように取得しますか?
cloak.businessで無料アカウントにサインアップし、設定 > APIキーに移動します。異なるアプリケーションのために異なる権限を持つ複数のキーを作成できます。
Explore Related Features
The API powers all cloak.business products. Explore how it integrates across platforms.
Chrome Extension
Anonymize AI prompts in ChatGPT, Claude, Gemini, and 3 more AI platforms before they leave your browser.
Reversible Encryption
Encrypt PII with AES-256-GCM and restore original data anytime with your key.
48-Language Detection
Detect PII in 48 languages with country-specific format support.
Is This Right for You?
Best For
- ✦Developers building privacy-first apps with programmatic PII anonymization
- ✦Automated pipelines — CI/CD, ETL jobs, and scheduled data processing
- ✦SaaS integrations that must sanitize user data before sending to third-party services
- ✦Teams with JavaScript or Python stacks using the official SDKs
- ✦Microservices architectures needing a dedicated anonymization endpoint
Not Ideal For
- ✦No-code or low-code teams — use the web app, Desktop App, or Office Add-in instead
- ✦Air-gapped environments with no internet access — use the Desktop App for offline processing
- ✦Very high-volume usage (>10M tokens/day) — contact sales for a dedicated tier
- ✦Ad-hoc one-off anonymization tasks — the web interface is faster for manual use