← Starships

Naboo fighter

ModelN-1 starfighter
ManufacturerTheed Palace Space Vessel Engineering Corps
Cost in credits200000
Length11
Max atmosphering speed1100
Crew1
Passengers0
Cargo capacity65
Consumables7 days
Hyperdrive rating1.0
MGLTunknown
Starship classStarfighter

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/starships/39').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":39}
GET /api/starships/39 200
{
  "MGLT": "unknown",
  "cargo_capacity": "65",
  "consumables": "7 days",
  "cost_in_credits": "200000",
  "created": "2014-12-19T17:39:17.582000Z",
  "crew": "1",
  "edited": "2014-12-20T21:23:49.917000Z",
  "films": [
    "https://swapi.build/api/films/4",
    "https://swapi.build/api/films/5"
  ],
  "hyperdrive_rating": "1.0",
  "length": "11",
  "manufacturer": "Theed Palace Space Vessel Engineering Corps",
  "max_atmosphering_speed": "1100",
  "model": "N-1 starfighter",
  "name": "Naboo fighter",
  "passengers": "0",
  "pilots": [
    "https://swapi.build/api/people/11",
    "https://swapi.build/api/people/35",
    "https://swapi.build/api/people/60"
  ],
  "starship_class": "Starfighter",
  "url": "https://swapi.build/api/starships/39"
}