Star Wars API
Documentation

Vehicles

Browse ground and atmospheric vehicles from the Star Wars universe with detailed specifications.

Endpoints

Get All Vehicles

Retrieve all vehicles
Request
GET https://sw-next-api.vercel.app/api/v1/vehicles

Get Single Vehicle

Get vehicle by ID or slug
GET https://sw-next-api.vercel.app/api/v1/vehicles/14
GET https://sw-next-api.vercel.app/api/v1/vehicles/snowspeeder

Response Example

{
  "entityId": 14,
  "id": "snowspeeder",
  "name": "Snowspeeder",
  "model": "t-47 airspeeder",
  "manufacturer": "Incom corporation",
  "costInCredits": null,
  "length": 4.5,                     // Meters
  "maxAtmospheringSpeed": 650,       // km/h
  "crew": 2,
  "passengers": 0,
  "cargoCapacity": 10,               // Kilograms
  "consumables": "none",
  "vehicleClass": "airspeeder",
  "pilots": [...],                   // Characters who piloted this
  "films": [...]                     // Films featuring this vehicle
}

Common Queries

Find vehicles by name

Request
GET https://sw-next-api.vercel.app/api/v1/vehicles?search=speeder

Available Features

Expansion

Expand: pilots, films

Learn more →

Filtering

Filter by: vehicleClass, manufacturer

Learn more →