← Starships

AA-9 Coruscant freighter

ModelBotajef AA-9 Freighter-Liner
ManufacturerBotajef Shipyards
Cost in creditsunknown
Length390
Max atmosphering speedunknown
Crewunknown
Passengers30000
Cargo capacityunknown
Consumablesunknown
Hyperdrive ratingunknown
MGLTunknown
Starship classfreighter

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/47').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":47}
GET /api/starships/47 200
{
  "MGLT": "unknown",
  "cargo_capacity": "unknown",
  "consumables": "unknown",
  "cost_in_credits": "unknown",
  "created": "2014-12-20T17:24:23.509000Z",
  "crew": "unknown",
  "edited": "2014-12-20T21:23:49.928000Z",
  "films": [
    "https://swapi.build/api/films/5"
  ],
  "hyperdrive_rating": "unknown",
  "length": "390",
  "manufacturer": "Botajef Shipyards",
  "max_atmosphering_speed": "unknown",
  "model": "Botajef AA-9 Freighter-Liner",
  "name": "AA-9 Coruscant freighter",
  "passengers": "30000",
  "pilots": [],
  "starship_class": "freighter",
  "url": "https://swapi.build/api/starships/47"
}