Build with KryoLua.

Manage projects, scripts, and keys from your own application or Discord bot.

External API access requires an active Pro plan. Requests from the dashboard use your signed-in session.

Quickstart

Generate an API key in Dashboard → API access. Send it as a bearer token with every external API request.

curl https://kryolua.dev/api/v1/account -H "Authorization: Bearer YOUR_API_KEY"

Keep API keys private. A newly generated API key replaces the previous one.

Authentication

Use HTTPS and the Authorization: Bearer YOUR_API_KEY header. API keys belong to a single account and stop working when Pro expires. Resources are scoped to their owner.

GET/api/v1/account

Return the current plan, limits, usage and loader base URL.

POST/api/v1/api-key

Generate an API key from an authenticated Pro dashboard session.

DELETE/api/v1/api-key

Revoke the current API key from an authenticated dashboard session.

Projects

GET/api/v1/projects

List your projects.

POST/api/v1/projects

Create a project with a name of up to 80 characters.

curl -X POST https://kryolua.dev/api/v1/projects -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"name":"My project"}'
DELETE/api/v1/projects/{projectId}

Delete a project and its scripts and keys. Deletion is rejected while an obfuscation is in progress.

Scripts

GET/api/v1/projects/{projectId}/scripts

List script metadata and execution counts.

POST/api/v1/projects/{projectId}/scripts

Upload a UTF-8 Lua source string of up to 2 MB.

curl -X POST https://kryolua.dev/api/v1/projects/PROJECT_ID/scripts -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"name":"script.lua","source":"print(1)"}'
PUT/api/v1/projects/{projectId}/scripts/{scriptId}

Upload a new source version using {"source":"print(2)"}. The current loader continues serving the published version until the new version is obfuscated successfully.

POST/api/v1/projects/{projectId}/scripts/{scriptId}/obfuscate

Send the source to Luraph v15.2, run Noufuscator, and return the final SHA-256 and mode.

GET/api/v1/projects/{projectId}/scripts/{scriptId}

Retrieve the protected content, hash and mode as JSON.

DELETE/api/v1/projects/{projectId}/scripts/{scriptId}

Delete a script when no obfuscation is in progress.

License keys

GET/api/v1/projects/{projectId}/keys?page=1&search=PREFIX

List 10 keys per page. Search by displayed prefix or the complete key.

POST/api/v1/projects/{projectId}/keys

Create up to 500 keys in one request. Duration starts when keys are created. Omit duration for keys without an expiration date.

curl -X POST https://kryolua.dev/api/v1/projects/PROJECT_ID/keys -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"quantity":10,"durationDays":30,"hwidEnabled":true,"maxRobloxAccounts":1}'

Account limits require Pro. Leave maxRobloxAccounts null for unlimited accounts. The API returns generated keys in data.keys when quantity is provided.

GET/api/v1/projects/{projectId}/keys/{keyId}

Retrieve a recoverable key. Older keys created before encrypted storage cannot be recovered.

POST/api/v1/projects/{projectId}/keys/{keyId}/reset-hwid

Clear the hardware binding.

DELETE/api/v1/projects/{projectId}/keys/{keyId}

Revoke a key.

Bans & punishments

Project owners can block a Roblox user ID, a project key ID, a hardware ID, or an IP address. Active clients are checked at their next heartbeat. User IDs and hardware IDs are reported by the client and can be altered or unavailable.

GET/api/v1/projects/{projectId}/bans

List up to 500 project bans. Hardware IDs and IP addresses are not returned.

POST/api/v1/projects/{projectId}/bans

Create a ban. The type is USER, KEY, HWID, or IP; KEY targets are project key IDs. To block an identifier from a client alert, send type (IP or HWID), eventId, and an optional reason instead of target. Use only types included in that event's banTargets list.

{"type":"USER","target":"123456","reason":"Policy violation"}
DELETE/api/v1/projects/{projectId}/bans/{banId}

Remove a project ban.

IP bans require security.clientIpHeader in the server configuration. Set it only to a single-IP header overwritten by your trusted proxy; otherwise leave it empty. IP and HWID ban identifiers use a project-scoped keyed hash. Changing the authentication secret invalidates existing bans.

Ad gateways

Pro accounts create a checkpoint first, submit its destination URL to the provider, then save the provider URL returned by that provider. Linkvertise Target Links require your account's Anti-Bypass Token. The server verifies each returned hash with Linkvertise; hashes are single-use and expire after 10 seconds. Other providers currently use a return to the destination URL after at least 10 seconds; this does not prove an ad was completed and can be bypassed.

Linkvertise states that enabling Anti-Bypass affects all of your Target Links and does not apply to Paste Links. Make sure your other destinations support it before enabling the feature.

GET/api/v1/linkvertise-token

Check whether your account has configured a token. The token itself is never returned.

PUT/api/v1/linkvertise-token

Save or replace your 64-character token using {"token":"YOUR_TOKEN"}.

DELETE/api/v1/linkvertise-token

Remove your token and invalidate active checkpoint sessions.

GET/api/v1/projects/{projectId}/ads

List project checkpoints and their destination URLs.

POST/api/v1/projects/{projectId}/ads

Create a checkpoint and receive its destination URL. Supported provider identifiers are WORK_INK, LINKVERTISE, LOOTLABS, BOOST_INK, and ADSTERRA.

{"provider":"LINKVERTISE"}
PUT/api/v1/projects/{projectId}/ads/{gatewayId}

Save the HTTPS provider URL after submitting the destination URL.

{"url":"https://example.com/your-link"}
GET/api/v1/projects/{projectId}/ads/settings

Read checkpoint draft settings.

PUT/api/v1/projects/{projectId}/ads/settings

Save one or two distinct gateway IDs, a 24- or 48-hour license duration, the Discord sign-in preference, and the concurrent account limit for future ad-generated keys. Use null for no account limit.

{"checkpointIds":["GATEWAY_ID"],"licenseHours":24,"requireDiscord":true,"maxRobloxAccounts":1}
DELETE/api/v1/projects/{projectId}/ads/{gatewayId}

Delete a checkpoint.

Analytics

GET/api/v1/projects/{projectId}/ads/analytics

Return total and active ad-issued keys and daily issuance counts for the past seven UTC days.

GET/api/v1/projects/{projectId}/executions

Return hourly successful authorizations for the last 24 hours and up to 50 recent success and error events. Error events include a stage and code, and are limited to 60 per project per minute. Account and executor details are client-reported. License keys, tokens, HWIDs, and script error text are not stored in the log.

GET/api/v1/analytics

Return completed and failed obfuscation jobs for the last seven UTC days.

Each script's executeCount tracks successful loader authorizations, including repeated executions.

Loader

Choose a project key in the dashboard and copy the loader for a protected script. Keep the resulting loader private because it contains the key.

_G.Key = "YOUR_LICENSE_KEY"
loadstring(game:HttpGet("https://kryolua.dev/loader/SCRIPT_ID"))()

The loader requires a Roblox client with a supported HTTP request function and loadstring. HWID-enabled keys require gethwid. Secure random bytes are required from crypt.generatebytes or crypt.generatekey. Access checks use client-reported account identifiers and depend on client cooperation.

Pro redemption

An owner can create a single-use Pro code with a duration in days. The duration begins when the recipient redeems it in Dashboard → Redeem Pro. Redemption requires a signed-in browser session.

POST/api/v1/redeem

Redeem {"code":"LPT-PRO-..."}. An existing active Pro plan must expire first.

GET/api/v1/owner/pro-codes

List codes created by the signed-in owner.

POST/api/v1/owner/pro-codes

Create a code with {"durationDays":30}.

GET/api/v1/owner/pro-codes/{codeId}

Retrieve a recoverable Pro code.

Errors & limits

Responses use {"success":true,"data":{}} or {"success":false,"error":{"code":"...","message":"..."}}. Check the HTTP status and error code before retrying.

Free accounts have 1 project, 2 scripts, 2 obfuscations per UTC day and 500 active keys. Pro accounts have 10 projects, 20 scripts, 10 obfuscations per UTC day and unlimited keys. Subscription checkout is not yet available.