← Starships

Rebel transport

ModelGR-75 medium transport
ManufacturerGallofree Yards, Inc.
Cost in creditsunknown
Length90
Max atmosphering speed650
Crew6
Passengers90
Cargo capacity19000000
Consumables6 months
Hyperdrive rating4.0
MGLT20
Starship classMedium transport

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/17').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":17}
GET /api/starships/17 200
{
  "MGLT": "20",
  "cargo_capacity": "19000000",
  "consumables": "6 months",
  "cost_in_credits": "unknown",
  "created": "2014-12-15T12:34:52.264000Z",
  "crew": "6",
  "edited": "2014-12-20T21:23:49.895000Z",
  "films": [
    "https://swapi.build/api/films/2",
    "https://swapi.build/api/films/3"
  ],
  "hyperdrive_rating": "4.0",
  "length": "90",
  "manufacturer": "Gallofree Yards, Inc.",
  "max_atmosphering_speed": "650",
  "model": "GR-75 medium transport",
  "name": "Rebel transport",
  "passengers": "90",
  "pilots": [],
  "starship_class": "Medium transport",
  "url": "https://swapi.build/api/starships/17"
}