Overview
Start here for the public HaxHell API structure, response shape and the main script model returned across the docs.
Getting started
The public API is exposed under a versioned `v1` namespace. It is designed for public script discovery, creator pages and executor/tooling integrations that need structured JSON responses.
- Base URL: `https://haxhell.com/api/v1/scripts`
- Response format is JSON with stable `data`, `pagination`, `filters` and `meta` keys where applicable.
- Public routes only expose scripts that are public.
- Examples below are written for JavaScript, C# and Lua-based Roblox environments.
Executor UI example (mock)
Below is a non-functional UI mock that shows how an executor could present a Script Hub powered by the public API. Use it as a placeholder for product screenshots, demos or marketing visuals.
Response envelope
List endpoints follow a common envelope so your client code can paginate consistently even when switching between latest, creator-specific and trending pages.
| Name | Type | Description |
|---|---|---|
| data | array | object | Main endpoint payload. |
| pagination | object | List endpoints only. Includes page state and totals. |
| filters | object | List endpoints only. Echoes normalized request filters. |
| meta | object | Version information and endpoint-specific metadata. |
| error | string | Present on error responses. |
Script model
These are the most important public fields exposed for scripts. The detail endpoint adds source code, tags, features and executor compatibility on top of this shape.
| Name | Type | Description |
|---|---|---|
| id | string | Internal script id. |
| title | string | Script title displayed to users. |
| slug | string | Stable identifier used in detail lookups. |
| description | string | Public description text. |
| type | string | Either `game` or `universal`. |
| author | object | Creator username, avatar and verified status. |
| game.name | string | Resolved game name. Includes universal/game fallback values. |
| game.universeId | string | null | Universe id when the script is tied to a Roblox game. |
| game.placeId | string | null | Primary place id for the linked Roblox experience. |
| game.category | string | null | Category resolved from the linked game metadata. |
| stats | object | Views, likes, favorites and comment totals. |
| flags | object | Patched, verified, paid, key system and mobile support booleans. |
| media.thumbnailUrl | string | null | Resolved thumbnail for cards and docs consumers. |
| links.self | string | Detail endpoint URL for this script. |
| links.raw | string | Direct raw script text endpoint. |
| createdAt | string | ISO date when the script was created. |
| updatedAt | string | ISO date when the script was last updated. |