Endpoint: species

GEThttps://swapi.mimo.dev/api/species/Mirialan

Request

GETspecies
1fetch("https://swapi.mimo.dev/api/species/Mirialan")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "name": "Mirialan",
3 "classification": "mammal",
4 "designation": "sentient",
5 "average_height": "180",
6 "skin_colors": "yellow, green",
7 "hair_colors": "black, brown",
8 "eye_colors": "blue, green, red, yellow, brown, orange",
9 "average_lifespan": "unknown",
10 "homeworld": "https://swapi.mimo.dev/api/planets/51/",
11 "language": "Mirialan",
12 "people": [
13 "https://swapi.mimo.dev/api/people/64/",
14 "https://swapi.mimo.dev/api/people/65/"
15 ],
16 "films": [
17 "https://swapi.mimo.dev/api/films/5/",
18 "https://swapi.mimo.dev/api/films/6/"
19 ],
20 "created": "2014-12-20T16:46:48.290000Z",
21 "edited": "2014-12-20T21:36:42.197000Z",
22 "url": "https://swapi.mimo.dev/api/species/29/"
23}