← Starships

Trade Federation cruiser

ModelProvidence-class carrier/destroyer
ManufacturerRendili StarDrive, Free Dac Volunteers Engineering corps.
Cost in credits125000000
Length1088
Max atmosphering speed1050
Crew600
Passengers48247
Cargo capacity50000000
Consumables4 years
Hyperdrive rating1.5
MGLTunknown
Starship classcapital ship

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/59').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":59}
GET /api/starships/59 200
{
  "MGLT": "unknown",
  "cargo_capacity": "50000000",
  "consumables": "4 years",
  "cost_in_credits": "125000000",
  "created": "2014-12-20T19:40:21.902000Z",
  "crew": "600",
  "edited": "2014-12-20T21:23:49.941000Z",
  "films": [
    "https://swapi.build/api/films/6"
  ],
  "hyperdrive_rating": "1.5",
  "length": "1088",
  "manufacturer": "Rendili StarDrive, Free Dac Volunteers Engineering corps.",
  "max_atmosphering_speed": "1050",
  "model": "Providence-class carrier/destroyer",
  "name": "Trade Federation cruiser",
  "passengers": "48247",
  "pilots": [
    "https://swapi.build/api/people/10",
    "https://swapi.build/api/people/11"
  ],
  "starship_class": "capital ship",
  "url": "https://swapi.build/api/starships/59"
}