← Starships

Jedi starfighter

ModelDelta-7 Aethersprite-class interceptor
ManufacturerKuat Systems Engineering
Cost in credits180000
Length8
Max atmosphering speed1150
Crew1
Passengers0
Cargo capacity60
Consumables7 days
Hyperdrive rating1.0
MGLTunknown
Starship classStarfighter

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/48').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":48}
GET /api/starships/48 200
{
  "MGLT": "unknown",
  "cargo_capacity": "60",
  "consumables": "7 days",
  "cost_in_credits": "180000",
  "created": "2014-12-20T17:35:23.906000Z",
  "crew": "1",
  "edited": "2014-12-20T21:23:49.930000Z",
  "films": [
    "https://swapi.build/api/films/5",
    "https://swapi.build/api/films/6"
  ],
  "hyperdrive_rating": "1.0",
  "length": "8",
  "manufacturer": "Kuat Systems Engineering",
  "max_atmosphering_speed": "1150",
  "model": "Delta-7 Aethersprite-class interceptor",
  "name": "Jedi starfighter",
  "passengers": "0",
  "pilots": [
    "https://swapi.build/api/people/10",
    "https://swapi.build/api/people/58"
  ],
  "starship_class": "Starfighter",
  "url": "https://swapi.build/api/starships/48"
}