EndpointGET

Script Detail

Fetch a single public script, including Lua source code, tags, feature highlights and tested executor metadata.

Endpoint

Use the script slug from list responses to fetch a single script detail record. This endpoint returns the inline source code and the raw script URL together.

Path parameters

NameTypeDescription
slugstringPublic script slug from a list endpoint.

Response fields

NameTypeDescription
data.source.codestringInline Lua source code.
data.source.rawUrlstringRaw script endpoint for text-only access.
data.tagsarrayOptional public tags.
data.featuresarrayOptional feature bullets.
data.executorsarrayTested executor references.
meta.versionstringCurrent API version.

Example request

Request

JavaScript

const response = await fetch(
  'https://haxhell.com/api/v1/scripts/universal-script-auto-farm'
);

if (!response.ok) throw new Error(`Request failed: ${response.status}`);

const payload = await response.json();
console.log(payload.data.source.code);

Example response

Example response

application/json

{
  "data": {
    "id": "67f1b7c1b201ef243f0a8132",
    "title": "Universal Auto Farm",
    "slug": "universal-script-auto-farm",
    "description": "Fast farming script with teleport, auto collect and anti-idle helpers.",
    "type": "universal",
    "author": {
      "username": "haxhell",
      "avatar": "https://haxhell.com/images/avatars/newbie.webp",
      "isScripterVerified": true
    },
    "game": {
      "name": "Universal Script",
      "slug": null,
      "universeId": null,
      "placeId": null,
      "category": "Utility",
      "iconUrl": null,
      "thumbnailUrl": "https://haxhell.com/images/default-thumbnail.webp"
    },
    "stats": {
      "views": 18240,
      "likes": 932,
      "favorites": 401,
      "comments": 27
    },
    "flags": {
      "patched": false,
      "verified": true,
      "isPaid": false,
      "keySystem": false,
      "keyInDiscord": false,
      "mobileSupported": true
    },
    "credit": "HaxHell Team",
    "tags": ["autofarm", "teleport", "utility"],
    "features": ["Auto collect", "Safe teleport", "Anti idle"],
    "source": {
      "language": "lua",
      "displayAsRawLink": false,
      "rawUrl": "https://haxhell.com/api/raw/universal-script-auto-farm",
      "code": "loadstring(game:HttpGet('https://example.com/script.lua'))()"
    },
    "executors": [
      {
        "title": "Xeno",
        "slug": "xeno",
        "logo": "https://haxhell.com/images/default-thumbnail.webp",
        "platforms": ["windows"]
      }
    ],
    "media": {
      "thumbnailUrl": "https://haxhell.com/images/default-thumbnail.webp",
      "videoUrl": null,
      "haxhellVideoUrl": null
    },
    "links": {
      "self": "https://haxhell.com/api/v1/scripts/universal-script-auto-farm",
      "webpage": "https://haxhell.com/scripts/universal-script-auto-farm",
      "raw": "https://haxhell.com/api/raw/universal-script-auto-farm"
    },
    "createdAt": "2026-03-20T14:30:00.000Z",
    "updatedAt": "2026-03-28T09:12:00.000Z"
  },
  "meta": {
    "version": "v1"
  }
}

Notes

  • If your client only needs display data, prefer the list endpoints to avoid pulling inline source code.
  • The same script is also available as plain text through `links.raw`.
  • Game metadata is included here as well, so clients do not need a second request for common script pages.
Script Detail API | HaxHell