/species/33

homecaret-rightspeciescaret-right

33

API Endpoint:

Request:

fetch("https://swapi.info/api/species/33")
    .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": "Skakoan",
  "classification": "mammal",
  "designation": "sentient",
  "average_height": "unknown",
  "skin_colors": "grey, green",
  "hair_colors": "none",
  "eye_colors": "unknown",
  "average_lifespan": "unknown",
  "homeworld": "https://swapi.info/api/planets/56",
  "language": "Skakoan",
  "people": [
    "https://swapi.info/api/people/76"
  ],
  "films": [
    "https://swapi.info/api/films/5",
    "https://swapi.info/api/films/6"
  ],
  "created": "2014-12-20T17:53:54.515000Z",
  "edited": "2014-12-20T21:36:42.204000Z",
  "url": "https://swapi.info/api/species/33"
}
eye-open
Good