← Vehicles

Sith speeder

ModelFC-20 speeder bike
ManufacturerRazalon
Cost in credits4000
Length1.5
Max atmosphering speed180
Crew1
Passengers0
Cargo capacity2
Consumablesunknown
Vehicle classspeeder

Pilots

curl

curl https://swapi.build/api/vehicles/42

JavaScript

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

Python

requests.get('https://swapi.build/api/vehicles/42').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":"VEHICLES","id":42}
GET /api/vehicles/42 200
{
  "cargo_capacity": "2",
  "consumables": "unknown",
  "cost_in_credits": "4000",
  "created": "2014-12-20T10:09:56.095000Z",
  "crew": "1",
  "edited": "2014-12-20T21:30:21.712000Z",
  "films": [
    "https://swapi.build/api/films/4"
  ],
  "length": "1.5",
  "manufacturer": "Razalon",
  "max_atmosphering_speed": "180",
  "model": "FC-20 speeder bike",
  "name": "Sith speeder",
  "passengers": "0",
  "pilots": [
    "https://swapi.build/api/people/44"
  ],
  "url": "https://swapi.build/api/vehicles/42",
  "vehicle_class": "speeder"
}