← Starships

Executor

ModelExecutor-class star dreadnought
ManufacturerKuat Drive Yards, Fondor Shipyards
Cost in credits1143350000
Length19000
Max atmosphering speedn/a
Crew279,144
Passengers38000
Cargo capacity250000000
Consumables6 years
Hyperdrive rating2.0
MGLT40
Starship classStar dreadnought

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/15').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":15}
GET /api/starships/15 200
{
  "MGLT": "40",
  "cargo_capacity": "250000000",
  "consumables": "6 years",
  "cost_in_credits": "1143350000",
  "created": "2014-12-15T12:31:42.547000Z",
  "crew": "279,144",
  "edited": "2014-12-20T21:23:49.893000Z",
  "films": [
    "https://swapi.build/api/films/2",
    "https://swapi.build/api/films/3"
  ],
  "hyperdrive_rating": "2.0",
  "length": "19000",
  "manufacturer": "Kuat Drive Yards, Fondor Shipyards",
  "max_atmosphering_speed": "n/a",
  "model": "Executor-class star dreadnought",
  "name": "Executor",
  "passengers": "38000",
  "pilots": [],
  "starship_class": "Star dreadnought",
  "url": "https://swapi.build/api/starships/15"
}