Fetch scripts
curl --request GET \
--url https://api.roscripts.io/v1/scriptsimport 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": {}
}Endpoints
Fetch scripts
List and filter the catalogue.
GET
/
v1
/
scripts
Fetch scripts
curl --request GET \
--url https://api.roscripts.io/v1/scriptsimport 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
integer
default:"1"
Page number (ignored when
cursor is set).integer
default:"20"
Results per page. Max 20 anonymous, 100 with a key.
string
Opaque keyset cursor from
meta.nextCursor for stable deep paging.string
default:"updatedAt"
One of
views, likeCount, dislikeCount, createdAt, updatedAt, score, accuracy.string
default:"desc"
asc or desc.string
free or paid.0 | 1
Filter by key system.
0 | 1
Filter by universal (not tied to a game).
0 | 1
Verified-creator scripts only.
0 | 1
Filter by patched state.
string
Filter by creator username.
integer
Filter by Roblox place id.
string
Filter by game name (exact, case-insensitive).
string
Filter by tag.
string
Filter by UI library (e.g.
Rayfield).string
direct or sirius.integer
Only scripts with at least this many 30-day views.
0 | 1
Only scripts with a custom thumbnail.
string
Exclude a specific script id.
string
Unix seconds or ISO 8601 — only scripts updated since.
string
Comma-separated sparse fieldset (e.g.
id,title,loadstring).Response
Script[]
Array of Script objects.
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…" }
}