Scripts, games and executors for your executor, hub, site or bot.
https://api.rblxscripts.net/v1curl -H "X-Client-Name: MyHub/1.0" \
"https://api.rblxscripts.net/v1/scripts?placeId=2753915549&sort=trending&limit=10"Show this wherever scripts from the API appear:
A free casual key unlocks every endpoint, the full script data and higher limits. Get one on your Developer page. Send it as X-Api-Key.
Use universeId (game.GameId) so it also works in lobbies and sub-places.
GET https://api.rblxscripts.net/v1/scripts?universeId=<game.GameId>&key=false&sort=trendingloadstring(game:HttpGet("https://www.rblxscripts.net/raw/example-hub"))()Lists return up to 50 items. Page with ?page= or ?cursor=.
{
"data": [
{
"id": "cmg8x2k1p0001",
"slug": "example-hub",
"title": "Example Hub",
"url": "https://www.rblxscripts.net/scripts/example-hub",
"rawUrl": "https://www.rblxscripts.net/raw/example-hub",
"image": null,
"description": "Auto farm, fast attack and teleports.",
"tags": [
"Auto Farm"
],
"game": {
"name": "Blox Fruits",
"placeId": "2753915549",
"url": "https://www.rblxscripts.net/game/blox-fruits",
"icon": null
},
"isUniversal": false,
"placeIds": [
"2753915549"
],
"key": false,
"isPaid": false,
"isOpenSource": false,
"isMobileFriendly": true,
"isPatched": false,
"verified": true,
"views": 18234,
"likes": 412,
"copies": 2210,
"executions": 3140,
"author": {
"username": "examplecreator",
"verified": true,
"url": "https://www.rblxscripts.net/users/examplecreator"
},
"createdAt": "2026-10-16T12:00:00.000Z",
"updatedAt": "2026-10-16T12:00:00.000Z",
"approvedAt": "2026-10-16T12:00:00.000Z"
}
],
"meta": {
"limit": 1,
"page": 1,
"total": 842,
"totalPages": 842,
"cursor": "eyJvIjoxfQ",
"hasMore": true,
"sort": "trending",
"attribution": "Provided by rblxscripts.net"
}
}local HttpService = game:GetService("HttpService")
local rblxscripts = {
Key = nil, -- optional: your free key (needed for trending and full script data)
Client = "MyHub/1.0", -- sent as X-Client-Name
Base = "https://api.rblxscripts.net/v1",
Credit = "Provided by rblxscripts.net", -- show this in your UI
}
local function headers()
local h = { ["X-Client-Name"] = rblxscripts.Client }
if rblxscripts.Key then h["X-Api-Key"] = rblxscripts.Key end
return h
end
local function encode(params)
local parts = {}
for k, v in pairs(params or {}) do
table.insert(parts, k .. "=" .. HttpService:UrlEncode(tostring(v)))
end
return #parts > 0 and ("?" .. table.concat(parts, "&")) or ""
end
function rblxscripts.get(path, params)
local res = request({ Url = rblxscripts.Base .. path .. encode(params), Method = "GET", Headers = headers() })
local body = HttpService:JSONDecode(res.Body)
if body.error then error("rblxscripts: " .. body.error.message) end
return body.data, body.meta
end
function rblxscripts.search(q, params)
params = params or {}
params.q, params.type = q, "scripts"
local data, meta = rblxscripts.get("/search", params)
return data.scripts, meta
end
function rblxscripts.forGame(params)
params = params or {}
params.universeId = game.GameId
return rblxscripts.get("/scripts", params)
end
function rblxscripts.trending(params) -- needs Key
return rblxscripts.get("/trending", params)
end
function rblxscripts.load(idOrSlug)
local res = request({ Url = rblxscripts.Base .. "/scripts/" .. idOrSlug .. "/raw", Method = "GET", Headers = headers() })
return loadstring(res.Body)
end
-- Example: scripts without a key system for this game, then run the first one.
local scripts = rblxscripts.forGame({ key = false, sort = "trending", limit = 20 })
print(rblxscripts.Credit)
for _, s in ipairs(scripts) do
print(s.title, s.url)
end
if scripts[1] then rblxscripts.load(scripts[1].slug)() endList scripts
Or, with ids=, up to 50 given scripts in one call.
https://api.rblxscripts.net/v1/scripts?placeId=2753915549&sort=trending&limit=10gamestringplaceIdstringuniverseIdstringkeytrue = needs a key system, false = keyless.paidopenSourcemobileuniversalpatchedverifiedThe author is a verified creator.authorstringexcludestringsinceISO datesortenumrecommendedtrendingnewestupdatedviewslikesexecutionsorderenumdescasclimitintegercursorstringpageintegerincludeScriptbooleanscript. Needs the content scope, limit 20 or less, and spends limit units of the source rate limit. Never edge-cached.idsstring| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_param | A query parameter is missing or out of range. The message says which. |
| 401 | unauthorized | This endpoint needs a key and none was sent. |
| 401 | invalid_key | The key you sent is unknown or malformed. A wrong key is never treated as no key. |
| 401 | key_revoked / key_expired | The key no longer works. Create a new one on your Developer page. |
| 403 | insufficient_scope | Your key does not include what this endpoint needs. |
| 403 | forbidden | The account that owns the key is suspended, or the key has no account. |
| 404 | not_found | No such script, game or executor, or it is no longer public. |
| 429 | rate_limited | Slow down. Retry-After says how many seconds to wait. |
| 503 | api_disabled / unavailable | The API is switched off or briefly unavailable. |