EndpointGET

Search Scripts

Search public scripts using a query string. Useful for searchboxes, autocomplete and in-executor Script Hub filtering.

Endpoint

Searches title, description, game name and tags. This endpoint requires a non-empty `q` query parameter.

Query parameters

NameTypeDescription
qstringRequired. Search term.
pagenumberPage number. Default: `1`.
limitnumberItems per page. Default: `12`, max: `50`.
sortstringOne of `latest`, `updated`, or `views`.
usernamestringFilter to a specific creator.
typestringUse `game` or `universal`.
gameNamestringCase-insensitive game name filter.
patchedbooleanFilter patched or non-patched scripts.
mobileSupportedbooleanFilter mobile-compatible scripts.
keySystembooleanFilter scripts with or without a key system.
isPaidbooleanFilter paid or free scripts.

Example request

Request

JavaScript

const response = await fetch('https://haxhell.com/api/v1/search/scripts?q=blox%20fruits&limit=12');
if (!response.ok) throw new Error(`Request failed: ${response.status}`);

const payload = await response.json();
console.log(payload.data.map((row) => row.title));

Notes

  • Use `limit` + `page` to build infinite scrolling or pagination UI.
  • If you want a homepage-style latest feed, use the list endpoint instead.
Search Scripts API | HaxHell