RESTful API — 696 vehicles indexed
/api/vehiclesReturns all vehicles in the database.
Example
/api/vehiclesResponse
[{ "modelName": "adder", "displayName": "Adder", ... }, ...]/api/vehicles?modelName={name}Returns a single vehicle matching the model name (exact match, case-insensitive). Returns 404 if not found.
Example
/api/vehicles?modelName=zentornoResponse
{ "modelName": "zentorno", "displayName": "Zentorno", ... }/api/vehicles?className={class}Filters vehicles by class name (case-insensitive). Returns an array.
Example
/api/vehicles?className=SportsResponse
[{ ... }, ...]/api/vehicles?search={query}Fuzzy search across display name, manufacturer, and model name.
Example
/api/vehicles?search=zentResponse
[{ "modelName": "zentorno", "displayName": "Zentorno", ... }, ...]/api/vehicles?sortBy={field}&order={dir}Sort by field (name, price, speed, acceleration, handling, braking) and direction (asc, desc).
Example
/api/vehicles?sortBy=price&order=descResponse
[{ "price": 2750000, "displayName": "Zentorno", ... }, ...]/api/vehicles?page={n}&limit={n}Paginated results. Returns { data, total, page, totalPages, limit }. Max limit 100.
Example
/api/vehicles?page=2&limit=10Response
{ "data": [...], "total": 700, "page": 2, "totalPages": 70, "limit": 10 }| Field | Type | Description |
|---|---|---|
| modelName | string | Internal model identifier (lowercase) |
| displayName | string | Display name in English |
| className | string | Vehicle class (Super, Sports, Muscle, etc.) |
| manufacturer | string | Vehicle manufacturer |
| price | number | Purchase price (0 = free, -1 = not for sale) |
| dlcName | string | DLC update the vehicle was added in |
| seats | number | Number of seats |
| wheelType | string|null | Wheel category (Hiend, Sport, Muscle, etc.) |
| wheelsCount | number | Number of wheels (4, 6, or 2 for motorcycles) |
| hasConvertibleRoof | boolean | Has a convertible roof |
| hasArmoredWindows | boolean | Has armored windows |
| hasSirens | boolean | Has sirens (emergency vehicle) |
| hasParachute | boolean | Has a parachute (special vehicles) |
| hasKers | boolean | Has KERS boost system |
| flags | array | Vehicle feature flags |
| stats.acceleration | number | Normalized acceleration (0-10) |
| stats.topSpeed | number | Normalized top speed (0-10) |
| stats.handling | number | Normalized handling (0-10) |
| stats.braking | number | Normalized braking (0-10) |
Use curl or your browser to test the API:
curl https://vehicles.thunder-studio.net/api/vehicles?modelName=adder curl https://vehicles.thunder-studio.net/api/vehicles?className=Sports&sortBy=price&order=desc&page=1&limit=5