← Vehicles

Sail barge

ModelModified Luxury Sail Barge
ManufacturerUbrikkian Industries Custom Vehicle Division
Cost in credits285000
Length30
Max atmosphering speed100
Crew26
Passengers500
Cargo capacity2000000
ConsumablesLive food tanks
Vehicle classsail barge

curl

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

JavaScript

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

Python

requests.get('https://swapi.build/api/vehicles/24').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":24}
GET /api/vehicles/24 200
{
  "cargo_capacity": "2000000",
  "consumables": "Live food tanks",
  "cost_in_credits": "285000",
  "created": "2014-12-18T10:44:14.217000Z",
  "crew": "26",
  "edited": "2014-12-20T21:30:21.684000Z",
  "films": [
    "https://swapi.build/api/films/3"
  ],
  "length": "30",
  "manufacturer": "Ubrikkian Industries Custom Vehicle Division",
  "max_atmosphering_speed": "100",
  "model": "Modified Luxury Sail Barge",
  "name": "Sail barge",
  "passengers": "500",
  "pilots": [],
  "url": "https://swapi.build/api/vehicles/24",
  "vehicle_class": "sail barge"
}