EndpointGET

User Scripts

Fetch public scripts for a single creator while also returning a lightweight creator object in the same response.

Endpoint

This endpoint is useful for profile pages, public creator widgets and integrations that need one user’s public script catalog.

Path and query parameters

NameTypeDescription
usernamestringCreator username. Matching is case-insensitive.
pagenumberPage number. Default: `1`.
limitnumberItems per page. Default: `12`, max: `50`.
sortstringOne of `latest`, `updated` or `views`.
qstringSearch inside that creator’s public scripts.
typestringUse `game` or `universal`.
gameNamestringFilter that creator’s scripts by game name.

Response fields

NameTypeDescription
data[]arrayScript summary rows for the requested creator.
userobjectPublic creator info: username, avatar and verified status.
paginationobjectStandard list pagination object.
filtersobjectNormalized request filters.
meta.versionstringCurrent API version.

Example request

Request

JavaScript

const response = await fetch(
  'https://haxhell.com/api/v1/users/haxhell/scripts?limit=6&sort=latest'
);

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

const payload = await response.json();
console.log(payload.user.username, payload.data.length);

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
      },
      "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"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 6,
    "totalItems": 32,
    "totalPages": 6,
    "hasMore": true
  },
  "user": {
    "username": "haxhell",
    "avatar": "https://haxhell.com/images/avatars/newbie.webp",
    "isScripterVerified": true
  },
  "filters": {
    "q": null,
    "type": null,
    "gameName": null,
    "patched": null,
    "mobileSupported": null,
    "keySystem": null,
    "isPaid": null
  },
  "meta": {
    "version": "v1",
    "sort": "latest"
  }
}

Notes

  • This endpoint is the cleanest option when you want a user profile page powered by the API.
  • The `author` object remains attached to each item so clients can reuse the same card model as the global list endpoint.
  • Only public and non-deleted scripts are returned, even when the creator has private or link-only content.
User Scripts API | HaxHell