/vehicles/70

homecaret-rightvehiclescaret-right

70

API Endpoint:

Request:

fetch("https://swapi.info/api/vehicles/70")
    .then((res) => res.json()) // Parse the JSON content from the API to be consumed
    .then((json) => console.log(json)) // Log the JSON response to your console
    .catch((error) => console.error(error)) // Log the API error (if any) to your console

Result:

{
  "name": "Raddaugh Gnasp fluttercraft",
  "model": "Raddaugh Gnasp fluttercraft",
  "manufacturer": "Appazanna Engineering Works",
  "cost_in_credits": "14750",
  "length": "7",
  "max_atmosphering_speed": "310",
  "crew": "2",
  "passengers": "0",
  "cargo_capacity": "20",
  "consumables": "none",
  "vehicle_class": "air speeder",
  "pilots": [],
  "films": [
    "https://swapi.info/api/films/6"
  ],
  "created": "2014-12-20T20:21:55.648000Z",
  "edited": "2014-12-20T21:30:21.759000Z",
  "url": "https://swapi.info/api/vehicles/70"
}
eye-open
Good