API Reference

Getting Your API Key

  1. Log in to your Dashboard
  2. Click "Create Key" and copy your API key
  3. Store it securely (environment variable recommended)

Recommended: Use the NPM Package

For most use cases we recommend using the javascript-obfuscator npm package (v5.3.0+) directly via CLI or Node.js API. This is also the only officially supported way to obfuscate files larger than 4.4MB.

Endpoint

https://obfuscator.io/api/v1/obfuscate

Method

POST

Headers

Content-Type: application/jsonAuthorization: Bearer YOUR_API_TOKEN

Query Parameters

version
optional
- Obfuscator version to use

Defaults to latest (5.2.2).

Response Format

The API uses NDJSON streaming (application/x-ndjson). Large results are automatically chunked in 1MB pieces for reliable delivery.

API Reference | Obfuscator.io Documentation