← Starships

Naboo Royal Starship

ModelJ-type 327 Nubian royal starship
ManufacturerTheed Palace Space Vessel Engineering Corps, Nubia Star Drives
Cost in creditsunknown
Length76
Max atmosphering speed920
Crew8
Passengersunknown
Cargo capacityunknown
Consumablesunknown
Hyperdrive rating1.8
MGLTunknown
Starship classyacht

Pilots

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/40').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":40}
GET /api/starships/40 200
{
  "MGLT": "unknown",
  "cargo_capacity": "unknown",
  "consumables": "unknown",
  "cost_in_credits": "unknown",
  "created": "2014-12-19T17:45:03.506000Z",
  "crew": "8",
  "edited": "2014-12-20T21:23:49.919000Z",
  "films": [
    "https://swapi.build/api/films/4"
  ],
  "hyperdrive_rating": "1.8",
  "length": "76",
  "manufacturer": "Theed Palace Space Vessel Engineering Corps, Nubia Star Drives",
  "max_atmosphering_speed": "920",
  "model": "J-type 327 Nubian royal starship",
  "name": "Naboo Royal Starship",
  "passengers": "unknown",
  "pilots": [
    "https://swapi.build/api/people/39"
  ],
  "starship_class": "yacht",
  "url": "https://swapi.build/api/starships/40"
}