HTTP
Read-only endpoints for tools and executors to pull script source by id. Same visibility as the public site — no authentication, no API key. Replace SCRIPT_ID with the UUID from a script's URL: Browse → open script → copy id from the address bar.
All paths are under your site origin. In production, set NEXT_PUBLIC_SITE_URL so links and examples match your domain.
https://robloxscripts.freeGET https://robloxscripts.free/api/script/{SCRIPT_ID}SCRIPT_ID must be a valid 36-character UUID in the hex form the server expects (RFC-style segments), matching an existing script row.
| Name | Values | Default |
|---|---|---|
| format | Omit or json, or raw / plain / text | JSON |
application/json · charset=utf-8
{
"id": "…",
"title": "…",
"description": null,
"code": "…",
"category": null,
"created_at": "…",
"updated_at": "…",
"roblox_game_name": null,
"roblox_game_url": null,
"is_universal": false,
"key_system_url": null,
"url": "https://robloxscripts.free/scripts/…"
}Field names and nullability mirror the script record on the server. url is the canonical page on this site.
?format=rawResponse body is only the script text — handy for loaders that paste straight into an executor.
Content-Type: text/plain; charset=utf-8X-Script-Title (URL-encoded title), X-Robloxscripts-Url (canonical script page)GET https://robloxscripts.free/api/script/{SCRIPT_ID}?format=raw| Code | Meaning |
|---|---|
| 200 | Success — body as JSON or plain text |
| 400 | Invalid UUID or unsupported format value |
| 404 | No script with that id |
| 500 | Server or database error |
| 503 | Service not configured (e.g. missing Supabase env in dev) |
GET responses include Access-Control-Allow-Origin: * so browser extensions and web tools can call the API without a proxy.OPTIONS is supported for preflight.Cache-Control window). Integrations should still avoid hammering the same id in a tight loop.Replace the placeholder UUID with a real script id from this site.
curl -sS \
"https://robloxscripts.free/api/script/00000000-0000-4000-8000-000000000001"curl -sS \
"https://robloxscripts.free/api/script/00000000-0000-4000-8000-000000000001?format=raw"This API is for external tools (desktop executors, scripts outside Roblox). Standard Roblox game scripts cannot request arbitrary HTTPS URLs unless you own the domain — use an executor or server you control to fetch instead.