← Starships

J-type diplomatic barge

ModelJ-type diplomatic barge
ManufacturerTheed Palace Space Vessel Engineering Corps, Nubia Star Drives
Cost in credits2000000
Length39
Max atmosphering speed2000
Crew5
Passengers10
Cargo capacityunknown
Consumables1 year
Hyperdrive rating0.7
MGLTunknown
Starship classDiplomatic barge

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/43').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":43}
GET /api/starships/43 200
{
  "MGLT": "unknown",
  "cargo_capacity": "unknown",
  "consumables": "1 year",
  "cost_in_credits": "2000000",
  "created": "2014-12-20T11:05:51.237000Z",
  "crew": "5",
  "edited": "2014-12-20T21:23:49.925000Z",
  "films": [
    "https://swapi.build/api/films/5"
  ],
  "hyperdrive_rating": "0.7",
  "length": "39",
  "manufacturer": "Theed Palace Space Vessel Engineering Corps, Nubia Star Drives",
  "max_atmosphering_speed": "2000",
  "model": "J-type diplomatic barge",
  "name": "J-type diplomatic barge",
  "passengers": "10",
  "pilots": [],
  "starship_class": "Diplomatic barge",
  "url": "https://swapi.build/api/starships/43"
}