Get a script
Endpoints
Get a script
Fetch one script’s full detail, its raw source, or its version history.
GET
Get a script
Resolve a single script by id, slug, or shortId — all three work in the same path:
Returns
Returns the script’s raw Lua source as
Returns the changelog and metadata for each published version (newest first). Source is not included.
Path parameters
string
required
The script’s
id, slug, or shortId.Query parameters
Include up to 6 related scripts (same game first). Set
0 to skip.string
Sparse fieldset for the script object.
Response
Script
The full Script object, including the long-form
body.Related scripts, unless
related=0 or a fields set was requested.404 not_found if the script doesn’t exist, isn’t live, or is hidden.
Raw source
text/plain. Only free, keyless scripts are servable — for everything else, prefer the loadstring URL.