Skip to main content
GET
/
v1
/
scripts
Fetch scripts
curl --request GET \
  --url https://api.roscripts.io/v1/scripts
import requests

url = "https://api.roscripts.io/v1/scripts"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.roscripts.io/v1/scripts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.roscripts.io/v1/scripts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.roscripts.io/v1/scripts"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.roscripts.io/v1/scripts")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.roscripts.io/v1/scripts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "result.scripts": [
    {}
  ],
  "meta": {}
}
The workhorse endpoint. Returns a paginated, filterable, sortable list of live scripts. With no parameters it returns the most recently updated scripts (the “home feed”).
curl "https://api.roscripts.io/v1/scripts?sortBy=views&order=desc&max=20"
Pass q here to transparently route through search — but the dedicated search endpoint defaults to relevance sorting and adds matched.

Query parameters

page
integer
default:"1"
Page number (ignored when cursor is set).
max
integer
default:"20"
Results per page. Max 20 anonymous, 100 with a key.
cursor
string
Opaque keyset cursor from meta.nextCursor for stable deep paging.
sortBy
string
default:"updatedAt"
One of views, likeCount, dislikeCount, createdAt, updatedAt, score, accuracy.
order
string
default:"desc"
asc or desc.
mode
string
free or paid.
key
0 | 1
Filter by key system.
universal
0 | 1
Filter by universal (not tied to a game).
verified
0 | 1
Verified-creator scripts only.
patched
0 | 1
Filter by patched state.
owner
string
Filter by creator username.
placeId
integer
Filter by Roblox place id.
game
string
Filter by game name (exact, case-insensitive).
tag
string
Filter by tag.
ui
string
Filter by UI library (e.g. Rayfield).
source
string
direct or sirius.
minViews
integer
Only scripts with at least this many 30-day views.
hasThumbnail
0 | 1
Only scripts with a custom thumbnail.
exclude
string
Exclude a specific script id.
updatedSince
string
Unix seconds or ISO 8601 — only scripts updated since.
fields
string
Comma-separated sparse fieldset (e.g. id,title,loadstring).

Response

result.scripts
Script[]
Array of Script objects.
meta
object
Pagination — see Pagination.
{
  "result": {
    "scripts": [ { "id": "lst_…", "title": "…", "loadstring": "https://script.roscripts.io/…" } ],
    "page": 1, "max": 20, "count": 20, "total": 412, "totalPages": 21, "nextPage": 2, "nextCursor": "eyJ2…"
  },
  "meta": { "page": 1, "max": 20, "count": 20, "total": 412, "totalPages": 21, "nextPage": 2, "nextCursor": "eyJ2…" }
}