← Vehicles

Sand Crawler

ModelDigger Crawler
ManufacturerCorellia Mining Corporation
Cost in credits150000
Length36.8
Max atmosphering speed30
Crew46
Passengers30
Cargo capacity50000
Consumables2 months
Vehicle classwheeled

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/vehicles/4').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":4}
GET /api/vehicles/4 200
{
  "cargo_capacity": "50000",
  "consumables": "2 months",
  "cost_in_credits": "150000",
  "created": "2014-12-10T15:36:25.724000Z",
  "crew": "46",
  "edited": "2014-12-20T21:30:21.661000Z",
  "films": [
    "https://swapi.build/api/films/1",
    "https://swapi.build/api/films/5"
  ],
  "length": "36.8 ",
  "manufacturer": "Corellia Mining Corporation",
  "max_atmosphering_speed": "30",
  "model": "Digger Crawler",
  "name": "Sand Crawler",
  "passengers": "30",
  "pilots": [],
  "url": "https://swapi.build/api/vehicles/4",
  "vehicle_class": "wheeled"
}