← Starships

Death Star

ModelDS-1 Orbital Battle Station
ManufacturerImperial Department of Military Research, Sienar Fleet Systems
Cost in credits1000000000000
Length120000
Max atmosphering speedn/a
Crew342,953
Passengers843,342
Cargo capacity1000000000000
Consumables3 years
Hyperdrive rating4.0
MGLT10
Starship classDeep Space Mobile Battlestation

Films

curl

curl https://swapi.build/api/starships/9

JavaScript

fetch('https://swapi.build/api/starships/9').then((r) => r.json())

Python

requests.get('https://swapi.build/api/starships/9').json()

MCP

Connect your agent once:

claude mcp add --transport http swapi-build https://swapi.build/mcp

then call the tool sw_get with:

{"resource":"STARSHIPS","id":9}
GET /api/starships/9 200
{
  "MGLT": "10",
  "cargo_capacity": "1000000000000",
  "consumables": "3 years",
  "cost_in_credits": "1000000000000",
  "created": "2014-12-10T16:36:50.509000Z",
  "crew": "342,953",
  "edited": "2014-12-20T21:26:24.783000Z",
  "films": [
    "https://swapi.build/api/films/1"
  ],
  "hyperdrive_rating": "4.0",
  "length": "120000",
  "manufacturer": "Imperial Department of Military Research, Sienar Fleet Systems",
  "max_atmosphering_speed": "n/a",
  "model": "DS-1 Orbital Battle Station",
  "name": "Death Star",
  "passengers": "843,342",
  "pilots": [],
  "starship_class": "Deep Space Mobile Battlestation",
  "url": "https://swapi.build/api/starships/9"
}