Skip to content

API requirements

Automate Roblox Luau obfuscation from a trusted local tool or server with a dedicated API key.

Before the first request

  • Open Dashboard → API access to obtain your API key.
  • Store the key in an environment variable or secret manager. Never include it in client-delivered Luau.
  • Send raw Roblox Luau as text/plain to POST https://obf.antilua.xyz/api/run.
  • Check both the HTTP status and JSON status field, then save the returned code.

First request

cURL · POSIX shell
curl --request POST \
  'https://obf.antilua.xyz/api/run?intenseVM=true&fastRuntime=false' \
  --header "Authorization: Bearer $ANTILUA_API_KEY" \
  --header 'Content-Type: text/plain' \
  --data-binary @script.luau

Request shape

Method

Value
POST

URL

Value
https://obf.antilua.xyz/api/run

Authentication

Value
Authorization: Bearer YOUR_API_KEY

Content-Type

Value
text/plain

Body

Value
Raw Roblox Luau source; not JSON or multipart form data.

Response

Value
JSON containing the generated code and usage fields.

Next steps