Automate obfuscation from your server
Create a key in Account → Authenticator & developer access. Store it in an environment variable on your server, never in a frontend bundle or public repository. Rotating the key revokes its predecessor.
curl https://starcrypt-api.starsolenterprise.com/obfuscate \
-H "Authorization: Bearer $STARCRYPT_API_KEY" \
-H 'Content-Type: application/json' \
--data '{"lang":"luau","source":"return {value=42}","options":{"profile":"high","returnMetadata":true}}'Plan request limits
Pro: 10/minute. Diamond: 15/minute. Platinum: 20/minute. Enterprise: 30/minute. Global abuse and concurrency limits also apply. API requests share the subscription credit pool. Premium alone does not grant API credits.
Responses and errors
Success returns result and usage, plus stats when requested. Failed required protection returns OBFUSCATION_FAILED and releases reserved credits. Syntax errors use 400; authentication uses 401; exhausted credits use 402; rate limits use 429; busy builds use 503. Respect Retry-After and retry with backoff. Network delivery failures may require support review; this API does not promise exactly-once delivery.
Options
Use high or maximum. Maximum requires Premium or Diamond and above. Lua 5.1 uses lang lua; Roblox uses luau. placeLock and universeLock accept positive decimal IDs. An optional seed produces reproducible transformations with the same engine version. Enterprise can supply a valid identifier watermark prefix.