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
The script’s
id, slug, or shortId.Query parameters
Include up to 6 related scripts (same game first). Set
0 to skip.Sparse fieldset for the script object.
Response
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.
| Situation | Response |
|---|---|
| Free, keyless | 200 with the Lua source |
| Paid script | 402 payment_required + details.marketplaceUrl |
| Key-system script | 403 forbidden + details.keyLink |
| Not found / not live | 404 not_found |