GET https://api.luaprotect.dev/v1/public/scripts/:user/:identifier/info
Public unauthenticated endpoint to fetch live script metadata, active online players, execution totals, and security flags. Does not require an API key. Supports scoping by creator username or account ID to eliminate slug collisions (e.g. /scripts/:user/:slug/info), as well as direct script UUID lookup (/scripts/:id/info). Responses are cached at the edge and in-memory with a 15-second TTL.
Query Parameters
:user(string, optional) — Creator username or Account ID (e.g. "john_dev" or "acc_owner99"). Required when identifier is a non-unique custom URL slug; optional if querying directly by unique script UUID.:identifier(string, required) — Custom URL slug (e.g. "awesome-hub") or globally unique Script UUID (e.g. "scr_88192a").
Example Request
curl -X GET "https://api.luaprotect.dev/v1/public/scripts/john_dev/awesome-hub/info"
Example Response
{
"ok": true,
"id": "scr_88192a",
"name": "Awesome Hub",
"description": "The premier automation hub for Roblox",
"customUrl": "awesome-hub",
"status": "online",
"onlinePlayers": 42,
"stats": {
"totalExecutions": 12840,
"uniqueUsers": 3200,
"last24h": 890,
"lastExecutedAt": "2026-10-14T14:30:00.000Z"
},
"settings": {
"keySystemEnabled": true,
"vpnProtection": true,
"gameRestricted": true
},
"updatedAt": "2026-10-14T12:00:00.000Z",
"cachedAt": "2026-10-14T20:00:00.000Z",
"cacheTtlSeconds": 15
}