Developers
Base URL https://purrguy.pythonanywhere.com · JSON in, JSON out · quotas reset at midnight UTC.
Three ways to authenticate, depending on the endpoint:
Authorization: Bearer <token>. Best for the dashboard and personal scripts.lm_…, created in the dashboard under API keys or in the app. Send it as Authorization: Bearer lm_… or X-API-Key: lm_…. Keys share your account's quotas.POST /api/v2/obfuscate only. No daily quota and a 1M-character limit.The full API key is shown once at creation. LimeVM stores only a hash, so a lost key cannot be recovered — revoke it and make a new one.
| Capability | Free | Paid (Week / Month / Year) | Lifetime |
|---|---|---|---|
| Obfuscate via app/API | 3,000 chars | Full engine | Full engine |
| Obfuscations per day | 3 | 20 | Unlimited |
| Dashboard obfuscator | 2/day, 300k chars | 2/day, 300k chars | Unlimited, 300k chars |
| Script uploads | 3/day, 5-day links | 20/day, permanent | 20/day, permanent |
| Private API v2 | — | — | Bearer key, 1M chars, no quota |
| Method | Path | Auth | Purpose |
|---|---|---|---|
| POST | /api/auth/register | — | Create an account, returns a session token. |
| POST | /api/auth/login | — | Log in, returns a session token and tier. |
| GET | /api/auth/me | Session | Profile: username, tier, expiry, linked Discord. |
| POST | /api/auth/logout | Session | Invalidate the current token. |
| POST | /api/auth/password | Session | Change password. |
| POST | /api/obfuscate | Key / session | Obfuscate a script with your plan's limits. |
| POST | /api/web-obfuscate | Session | Dashboard obfuscator (300k chars). |
| GET | /api/web-history | Key / session | Recent dashboard squeezes. |
| POST | /api/scripts | Key / session | Upload a script, get a short link. |
| GET | /api/scripts | Key / session | List your uploaded scripts. |
| DELETE | /api/scripts/<slug> | Key / session | Delete one of your links. |
| GET | /s/<slug> | — | Raw Lua for a short link. |
| POST | /api/keys | Session | Create an API key (shown once). |
| GET | /api/keys | Session | List key prefixes and last use. |
| DELETE | /api/keys/<id> | Session | Revoke a key. |
| POST | /api/v2/obfuscate | Private key | No-quota private obfuscation, up to 1M chars. |
TOKEN=$(curl -s -X POST https://purrguy.pythonanywhere.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"you","password":"secret"}' | jq -r .token)
curl -s https://purrguy.pythonanywhere.com/api/auth/me \
-H "Authorization: Bearer $TOKEN"
# → {"ok":true,"username":"you","tier":"free","tier_expires":0,
# "discord_id":null,"discord_name":""}curl -s -X POST https://purrguy.pythonanywhere.com/api/web-obfuscate \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"source":"print(40 + 2)"}'
# → {"ok":true,"seed":123,"output":"-- limevm v2 …","strings":1,
# "left_today":1,"unlimited":false}A JSON body is always returned. unlimited is true for Lifetime accounts, which also report left_today: -1.
curl -s -X POST https://purrguy.pythonanywhere.com/api/scripts \
-H "X-API-Key: lm_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"source":"print(1)","title":"demo"}'
# → {"ok":true,"slug":"AB12CD",
# "url":"https://lime.purrguy.me/s/AB12CD",
# "loadstring":"loadstring(game:HttpGet(\"…\"))()",
# "duplicate":false}curl -s https://purrguy.pythonanywhere.com/api/scripts \ -H "X-API-Key: lm_YOUR_KEY" curl -s -X DELETE https://purrguy.pythonanywhere.com/api/scripts/AB12CD \ -H "X-API-Key: lm_YOUR_KEY"
curl -s -X POST https://purrguy.pythonanywhere.com/api/keys \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name":"my bot"}'
# → {"ok":true,"id":"…","api_key":"lm_…"} ← shown once
curl -s -X DELETE https://purrguy.pythonanywhere.com/api/keys/KEY_ID \
-H "Authorization: Bearer $TOKEN"A dedicated endpoint for trusted integrations. One fixed Bearer key, no daily quota, up to 1,000,000 characters per call. Requests are audited in a private Discord channel (string count, account, masked key, time, IP).
# plain text in → plain text out
curl -s -X POST https://lime.purrguy.me/api/v2/obfuscate \
-H "Authorization: Bearer $LIMEVM_API_KEY" \
--data-binary @script.lua -o out.lua
# JSON body
curl -s -X POST https://lime.purrguy.me/api/v2/obfuscate \
-H "Authorization: Bearer $LIMEVM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source":"print(1)","seed":123}'
# → {"ok":true,"seed":123,"output":"-- limevm v2 …","in_chars":8,
# "out_chars":…,"strings":1}Add ?raw=1 to force a plain-text response. CORS is open. Send the key in Authorization: Bearer …; anything else returns 401.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad-username, bad-password | Username 3–20 chars (A-Z 0-9 _ -) or password under 6 chars. |
| 400 | too-big, source-too-big | Input exceeds your plan's character cap. |
| 401 | unauthorized, bad-credentials | Missing/expired token, revoked key or wrong password. |
| 404 | unknown-script, unknown-user | Bad slug or account no longer exists. |
| 409 | taken | Username already registered. |
| 429 | daily-used, rate-limited | Quota reached (resets midnight UTC) or too many auth attempts. |
| 500 | internal | Engine failure — safe to retry once; report in Discord if it persists. |
Short links return raw Lua, so any executor can fetch and run them:
loadstring(game:HttpGet("https://lime.purrguy.me/s/SLUG"))()Fetching a link needs no authentication. Uploading, deleting and every obfuscation endpoint do.
Need account plans, the app or the Discord bot? See the general docs.