Starships
Explore starships and space vessels with detailed specifications and extended metadata about faction ownership and military classification.
Endpoints
Get All Starships
Retrieve all starships
Request
GET https://sw-next-api.vercel.app/api/v1/starships
Get Single Starship
Get starship by ID or slug
GET https://sw-next-api.vercel.app/api/v1/starships/12GET https://sw-next-api.vercel.app/api/v1/starships/x-wing
Response Example
{
"entityId": 12,
"id": "x-wing",
"name": "X-wing",
"model": "T-65 X-wing",
"manufacturer": "Incom Corporation",
"costInCredits": 149999,
"length": 12.5, // Meters
"maxAtmospheringSpeed": 1050, // km/h
"crew": 1,
"passengers": 0,
"cargoCapacity": 110, // Kilograms
"consumables": "1 week",
"hyperdriveRating": 1.0,
"MGLT": 100,
"starshipClass": "Starfighter",
"pilots": [...], // Characters who piloted this
"films": [...], // Films featuring this starship
"meta": {
"is_military": true, // Military classification
"faction": "rebels" // Faction ownership
}
}
Common Queries
Find Imperial starships
Request
GET https://sw-next-api.vercel.app/api/v1/starships?faction=empire
Available Features
Expansion
Expand: pilots, films
Learn more →
Extended Metadata
Filter by: is_military, faction (empire, rebels, etc.)