/species

species

API Endpoint:

Request:

request.js
1fetch("https://swapi.info/api/species")
2 .then((res) => res.json()) // Parse the JSON content from the API to be consumed
3 .then((json) => console.log(json)) // Log the JSON response to your console
4 .catch((error) => console.error(error)) // Log the API error (if any) to your console

Result:

response.json
1[
2 {
3 "name": "Human",
4 "classification": "mammal",
5 "designation": "sentient",
6 "average_height": "180",
7 "skin_colors": "caucasian, black, asian, hispanic",
8 "hair_colors": "blonde, brown, black, red",
9 "eye_colors": "brown, blue, green, hazel, grey, amber",
10 "average_lifespan": "120",
11 "homeworld": "https://swapi.info/api/planets/9",
12 "language": "Galactic Basic",
13 "people": [
14 "https://swapi.info/api/people/66",
15 "https://swapi.info/api/people/67",
16 "https://swapi.info/api/people/68",
17 "https://swapi.info/api/people/74"
18 ],
19 "films": [
20 "https://swapi.info/api/films/1",
21 "https://swapi.info/api/films/2",
22 "https://swapi.info/api/films/3",
23 "https://swapi.info/api/films/4",
24 "https://swapi.info/api/films/5",
25 "https://swapi.info/api/films/6"
26 ],
27 "created": "2014-12-10T13:52:11.567000Z",
28 "edited": "2014-12-20T21:36:42.136000Z",
29 "url": "https://swapi.info/api/species/1"
30 },
31 {
32 "name": "Droid",
33 "classification": "artificial",
34 "designation": "sentient",
35 "average_height": "n/a",
36 "skin_colors": "n/a",
37 "hair_colors": "n/a",
38 "eye_colors": "n/a",
39 "average_lifespan": "indefinite",
40 "homeworld": null,
41 "language": "n/a",
42 "people": [
43 "https://swapi.info/api/people/2",
44 "https://swapi.info/api/people/3",
45 "https://swapi.info/api/people/8",
46 "https://swapi.info/api/people/23"
47 ],
48 "films": [
49 "https://swapi.info/api/films/1",
50 "https://swapi.info/api/films/2",
51 "https://swapi.info/api/films/3",
52 "https://swapi.info/api/films/4",
53 "https://swapi.info/api/films/5",
54 "https://swapi.info/api/films/6"
55 ],
56 "created": "2014-12-10T15:16:16.259000Z",
57 "edited": "2014-12-20T21:36:42.139000Z",
58 "url": "https://swapi.info/api/species/2"
59 },
60 {
61 "name": "Wookie",
62 "classification": "mammal",
63 "designation": "sentient",
64 "average_height": "210",
65 "skin_colors": "gray",
66 "hair_colors": "black, brown",
67 "eye_colors": "blue, green, yellow, brown, golden, red",
68 "average_lifespan": "400",
69 "homeworld": "https://swapi.info/api/planets/14",
70 "language": "Shyriiwook",
71 "people": [
72 "https://swapi.info/api/people/13",
73 "https://swapi.info/api/people/80"
74 ],
75 "films": [
76 "https://swapi.info/api/films/1",
77 "https://swapi.info/api/films/2",
78 "https://swapi.info/api/films/3",
79 "https://swapi.info/api/films/6"
80 ],
81 "created": "2014-12-10T16:44:31.486000Z",
82 "edited": "2014-12-20T21:36:42.142000Z",
83 "url": "https://swapi.info/api/species/3"
84 },
85 {
86 "name": "Rodian",
87 "classification": "sentient",
88 "designation": "reptilian",
89 "average_height": "170",
90 "skin_colors": "green, blue",
91 "hair_colors": "n/a",
92 "eye_colors": "black",
93 "average_lifespan": "unknown",
94 "homeworld": "https://swapi.info/api/planets/23",
95 "language": "Galatic Basic",
96 "people": [
97 "https://swapi.info/api/people/15"
98 ],
99 "films": [
100 "https://swapi.info/api/films/1"
101 ],
102 "created": "2014-12-10T17:05:26.471000Z",
103 "edited": "2014-12-20T21:36:42.144000Z",
104 "url": "https://swapi.info/api/species/4"
105 },
106 {
107 "name": "Hutt",
108 "classification": "gastropod",
109 "designation": "sentient",
110 "average_height": "300",
111 "skin_colors": "green, brown, tan",
112 "hair_colors": "n/a",
113 "eye_colors": "yellow, red",
114 "average_lifespan": "1000",
115 "homeworld": "https://swapi.info/api/planets/24",
116 "language": "Huttese",
117 "people": [
118 "https://swapi.info/api/people/16"
119 ],
120 "films": [
121 "https://swapi.info/api/films/1",
122 "https://swapi.info/api/films/3"
123 ],
124 "created": "2014-12-10T17:12:50.410000Z",
125 "edited": "2014-12-20T21:36:42.146000Z",
126 "url": "https://swapi.info/api/species/5"
127 },
128 {
129 "name": "Yoda's species",
130 "classification": "mammal",
131 "designation": "sentient",
132 "average_height": "66",
133 "skin_colors": "green, yellow",
134 "hair_colors": "brown, white",
135 "eye_colors": "brown, green, yellow",
136 "average_lifespan": "900",
137 "homeworld": "https://swapi.info/api/planets/28",
138 "language": "Galactic basic",
139 "people": [
140 "https://swapi.info/api/people/20"
141 ],
142 "films": [
143 "https://swapi.info/api/films/2",
144 "https://swapi.info/api/films/3",
145 "https://swapi.info/api/films/4",
146 "https://swapi.info/api/films/5",
147 "https://swapi.info/api/films/6"
148 ],
149 "created": "2014-12-15T12:27:22.877000Z",
150 "edited": "2014-12-20T21:36:42.148000Z",
151 "url": "https://swapi.info/api/species/6"
152 },
153 {
154 "name": "Trandoshan",
155 "classification": "reptile",
156 "designation": "sentient",
157 "average_height": "200",
158 "skin_colors": "brown, green",
159 "hair_colors": "none",
160 "eye_colors": "yellow, orange",
161 "average_lifespan": "unknown",
162 "homeworld": "https://swapi.info/api/planets/29",
163 "language": "Dosh",
164 "people": [
165 "https://swapi.info/api/people/24"
166 ],
167 "films": [
168 "https://swapi.info/api/films/2"
169 ],
170 "created": "2014-12-15T13:07:47.704000Z",
171 "edited": "2014-12-20T21:36:42.151000Z",
172 "url": "https://swapi.info/api/species/7"
173 },
174 {
175 "name": "Mon Calamari",
176 "classification": "amphibian",
177 "designation": "sentient",
178 "average_height": "160",
179 "skin_colors": "red, blue, brown, magenta",
180 "hair_colors": "none",
181 "eye_colors": "yellow",
182 "average_lifespan": "unknown",
183 "homeworld": "https://swapi.info/api/planets/31",
184 "language": "Mon Calamarian",
185 "people": [
186 "https://swapi.info/api/people/27"
187 ],
188 "films": [
189 "https://swapi.info/api/films/3"
190 ],
191 "created": "2014-12-18T11:09:52.263000Z",
192 "edited": "2014-12-20T21:36:42.153000Z",
193 "url": "https://swapi.info/api/species/8"
194 },
195 {
196 "name": "Ewok",
197 "classification": "mammal",
198 "designation": "sentient",
199 "average_height": "100",
200 "skin_colors": "brown",
201 "hair_colors": "white, brown, black",
202 "eye_colors": "orange, brown",
203 "average_lifespan": "unknown",
204 "homeworld": "https://swapi.info/api/planets/7",
205 "language": "Ewokese",
206 "people": [
207 "https://swapi.info/api/people/30"
208 ],
209 "films": [
210 "https://swapi.info/api/films/3"
211 ],
212 "created": "2014-12-18T11:22:00.285000Z",
213 "edited": "2014-12-20T21:36:42.155000Z",
214 "url": "https://swapi.info/api/species/9"
215 },
216 {
217 "name": "Sullustan",
218 "classification": "mammal",
219 "designation": "sentient",
220 "average_height": "180",
221 "skin_colors": "pale",
222 "hair_colors": "none",
223 "eye_colors": "black",
224 "average_lifespan": "unknown",
225 "homeworld": "https://swapi.info/api/planets/33",
226 "language": "Sullutese",
227 "people": [
228 "https://swapi.info/api/people/31"
229 ],
230 "films": [
231 "https://swapi.info/api/films/3"
232 ],
233 "created": "2014-12-18T11:26:20.103000Z",
234 "edited": "2014-12-20T21:36:42.157000Z",
235 "url": "https://swapi.info/api/species/10"
236 },
237 {
238 "name": "Neimodian",
239 "classification": "unknown",
240 "designation": "sentient",
241 "average_height": "180",
242 "skin_colors": "grey, green",
243 "hair_colors": "none",
244 "eye_colors": "red, pink",
245 "average_lifespan": "unknown",
246 "homeworld": "https://swapi.info/api/planets/18",
247 "language": "Neimoidia",
248 "people": [
249 "https://swapi.info/api/people/33"
250 ],
251 "films": [
252 "https://swapi.info/api/films/4"
253 ],
254 "created": "2014-12-19T17:07:31.319000Z",
255 "edited": "2014-12-20T21:36:42.160000Z",
256 "url": "https://swapi.info/api/species/11"
257 },
258 {
259 "name": "Gungan",
260 "classification": "amphibian",
261 "designation": "sentient",
262 "average_height": "190",
263 "skin_colors": "brown, green",
264 "hair_colors": "none",
265 "eye_colors": "orange",
266 "average_lifespan": "unknown",
267 "homeworld": "https://swapi.info/api/planets/8",
268 "language": "Gungan basic",
269 "people": [
270 "https://swapi.info/api/people/36",
271 "https://swapi.info/api/people/37",
272 "https://swapi.info/api/people/38"
273 ],
274 "films": [
275 "https://swapi.info/api/films/4",
276 "https://swapi.info/api/films/5"
277 ],
278 "created": "2014-12-19T17:30:37.341000Z",
279 "edited": "2014-12-20T21:36:42.163000Z",
280 "url": "https://swapi.info/api/species/12"
281 },
282 {
283 "name": "Toydarian",
284 "classification": "mammal",
285 "designation": "sentient",
286 "average_height": "120",
287 "skin_colors": "blue, green, grey",
288 "hair_colors": "none",
289 "eye_colors": "yellow",
290 "average_lifespan": "91",
291 "homeworld": "https://swapi.info/api/planets/34",
292 "language": "Toydarian",
293 "people": [
294 "https://swapi.info/api/people/40"
295 ],
296 "films": [
297 "https://swapi.info/api/films/4",
298 "https://swapi.info/api/films/5"
299 ],
300 "created": "2014-12-19T17:48:56.893000Z",
301 "edited": "2014-12-20T21:36:42.165000Z",
302 "url": "https://swapi.info/api/species/13"
303 },
304 {
305 "name": "Dug",
306 "classification": "mammal",
307 "designation": "sentient",
308 "average_height": "100",
309 "skin_colors": "brown, purple, grey, red",
310 "hair_colors": "none",
311 "eye_colors": "yellow, blue",
312 "average_lifespan": "unknown",
313 "homeworld": "https://swapi.info/api/planets/35",
314 "language": "Dugese",
315 "people": [
316 "https://swapi.info/api/people/41"
317 ],
318 "films": [
319 "https://swapi.info/api/films/4"
320 ],
321 "created": "2014-12-19T17:53:11.214000Z",
322 "edited": "2014-12-20T21:36:42.167000Z",
323 "url": "https://swapi.info/api/species/14"
324 },
325 {
326 "name": "Twi'lek",
327 "classification": "mammals",
328 "designation": "sentient",
329 "average_height": "200",
330 "skin_colors": "orange, yellow, blue, green, pink, purple, tan",
331 "hair_colors": "none",
332 "eye_colors": "blue, brown, orange, pink",
333 "average_lifespan": "unknown",
334 "homeworld": "https://swapi.info/api/planets/37",
335 "language": "Twi'leki",
336 "people": [
337 "https://swapi.info/api/people/45",
338 "https://swapi.info/api/people/46"
339 ],
340 "films": [
341 "https://swapi.info/api/films/3",
342 "https://swapi.info/api/films/4",
343 "https://swapi.info/api/films/5",
344 "https://swapi.info/api/films/6"
345 ],
346 "created": "2014-12-20T09:48:02.406000Z",
347 "edited": "2014-12-20T21:36:42.169000Z",
348 "url": "https://swapi.info/api/species/15"
349 },
350 {
351 "name": "Aleena",
352 "classification": "reptile",
353 "designation": "sentient",
354 "average_height": "80",
355 "skin_colors": "blue, gray",
356 "hair_colors": "none",
357 "eye_colors": "unknown",
358 "average_lifespan": "79",
359 "homeworld": "https://swapi.info/api/planets/38",
360 "language": "Aleena",
361 "people": [
362 "https://swapi.info/api/people/47"
363 ],
364 "films": [
365 "https://swapi.info/api/films/4"
366 ],
367 "created": "2014-12-20T09:53:16.481000Z",
368 "edited": "2014-12-20T21:36:42.171000Z",
369 "url": "https://swapi.info/api/species/16"
370 },
371 {
372 "name": "Vulptereen",
373 "classification": "unknown",
374 "designation": "sentient",
375 "average_height": "100",
376 "skin_colors": "grey",
377 "hair_colors": "none",
378 "eye_colors": "yellow",
379 "average_lifespan": "unknown",
380 "homeworld": "https://swapi.info/api/planets/39",
381 "language": "vulpterish",
382 "people": [
383 "https://swapi.info/api/people/48"
384 ],
385 "films": [
386 "https://swapi.info/api/films/4"
387 ],
388 "created": "2014-12-20T09:57:33.128000Z",
389 "edited": "2014-12-20T21:36:42.173000Z",
390 "url": "https://swapi.info/api/species/17"
391 },
392 {
393 "name": "Xexto",
394 "classification": "unknown",
395 "designation": "sentient",
396 "average_height": "125",
397 "skin_colors": "grey, yellow, purple",
398 "hair_colors": "none",
399 "eye_colors": "black",
400 "average_lifespan": "unknown",
401 "homeworld": "https://swapi.info/api/planets/40",
402 "language": "Xextese",
403 "people": [
404 "https://swapi.info/api/people/49"
405 ],
406 "films": [
407 "https://swapi.info/api/films/4"
408 ],
409 "created": "2014-12-20T10:02:13.915000Z",
410 "edited": "2014-12-20T21:36:42.175000Z",
411 "url": "https://swapi.info/api/species/18"
412 },
413 {
414 "name": "Toong",
415 "classification": "unknown",
416 "designation": "sentient",
417 "average_height": "200",
418 "skin_colors": "grey, green, yellow",
419 "hair_colors": "none",
420 "eye_colors": "orange",
421 "average_lifespan": "unknown",
422 "homeworld": "https://swapi.info/api/planets/41",
423 "language": "Tundan",
424 "people": [
425 "https://swapi.info/api/people/50"
426 ],
427 "films": [
428 "https://swapi.info/api/films/4",
429 "https://swapi.info/api/films/6"
430 ],
431 "created": "2014-12-20T10:08:36.795000Z",
432 "edited": "2014-12-20T21:36:42.177000Z",
433 "url": "https://swapi.info/api/species/19"
434 },
435 {
436 "name": "Cerean",
437 "classification": "mammal",
438 "designation": "sentient",
439 "average_height": "200",
440 "skin_colors": "pale pink",
441 "hair_colors": "red, blond, black, white",
442 "eye_colors": "hazel",
443 "average_lifespan": "unknown",
444 "homeworld": "https://swapi.info/api/planets/43",
445 "language": "Cerean",
446 "people": [
447 "https://swapi.info/api/people/52"
448 ],
449 "films": [
450 "https://swapi.info/api/films/4",
451 "https://swapi.info/api/films/6"
452 ],
453 "created": "2014-12-20T10:15:33.765000Z",
454 "edited": "2014-12-20T21:36:42.179000Z",
455 "url": "https://swapi.info/api/species/20"
456 },
457 {
458 "name": "Nautolan",
459 "classification": "amphibian",
460 "designation": "sentient",
461 "average_height": "180",
462 "skin_colors": "green, blue, brown, red",
463 "hair_colors": "none",
464 "eye_colors": "black",
465 "average_lifespan": "70",
466 "homeworld": "https://swapi.info/api/planets/44",
467 "language": "Nautila",
468 "people": [
469 "https://swapi.info/api/people/53"
470 ],
471 "films": [
472 "https://swapi.info/api/films/4"
473 ],
474 "created": "2014-12-20T10:18:58.610000Z",
475 "edited": "2014-12-20T21:36:42.181000Z",
476 "url": "https://swapi.info/api/species/21"
477 },
478 {
479 "name": "Zabrak",
480 "classification": "mammal",
481 "designation": "sentient",
482 "average_height": "180",
483 "skin_colors": "pale, brown, red, orange, yellow",
484 "hair_colors": "black",
485 "eye_colors": "brown, orange",
486 "average_lifespan": "unknown",
487 "homeworld": "https://swapi.info/api/planets/45",
488 "language": "Zabraki",
489 "people": [
490 "https://swapi.info/api/people/44",
491 "https://swapi.info/api/people/54"
492 ],
493 "films": [
494 "https://swapi.info/api/films/4"
495 ],
496 "created": "2014-12-20T10:26:59.894000Z",
497 "edited": "2014-12-20T21:36:42.183000Z",
498 "url": "https://swapi.info/api/species/22"
499 },
500 {
501 "name": "Tholothian",
502 "classification": "mammal",
503 "designation": "sentient",
504 "average_height": "unknown",
505 "skin_colors": "dark",
506 "hair_colors": "unknown",
507 "eye_colors": "blue, indigo",
508 "average_lifespan": "unknown",
509 "homeworld": "https://swapi.info/api/planets/46",
510 "language": "unknown",
511 "people": [
512 "https://swapi.info/api/people/55"
513 ],
514 "films": [
515 "https://swapi.info/api/films/4",
516 "https://swapi.info/api/films/6"
517 ],
518 "created": "2014-12-20T10:29:13.798000Z",
519 "edited": "2014-12-20T21:36:42.186000Z",
520 "url": "https://swapi.info/api/species/23"
521 },
522 {
523 "name": "Iktotchi",
524 "classification": "unknown",
525 "designation": "sentient",
526 "average_height": "180",
527 "skin_colors": "pink",
528 "hair_colors": "none",
529 "eye_colors": "orange",
530 "average_lifespan": "unknown",
531 "homeworld": "https://swapi.info/api/planets/47",
532 "language": "Iktotchese",
533 "people": [
534 "https://swapi.info/api/people/56"
535 ],
536 "films": [
537 "https://swapi.info/api/films/4",
538 "https://swapi.info/api/films/6"
539 ],
540 "created": "2014-12-20T10:32:13.046000Z",
541 "edited": "2014-12-20T21:36:42.188000Z",
542 "url": "https://swapi.info/api/species/24"
543 },
544 {
545 "name": "Quermian",
546 "classification": "mammal",
547 "designation": "sentient",
548 "average_height": "240",
549 "skin_colors": "white",
550 "hair_colors": "none",
551 "eye_colors": "yellow",
552 "average_lifespan": "86",
553 "homeworld": "https://swapi.info/api/planets/48",
554 "language": "Quermian",
555 "people": [
556 "https://swapi.info/api/people/57"
557 ],
558 "films": [
559 "https://swapi.info/api/films/4",
560 "https://swapi.info/api/films/6"
561 ],
562 "created": "2014-12-20T10:34:50.827000Z",
563 "edited": "2014-12-20T21:36:42.189000Z",
564 "url": "https://swapi.info/api/species/25"
565 },
566 {
567 "name": "Kel Dor",
568 "classification": "unknown",
569 "designation": "sentient",
570 "average_height": "180",
571 "skin_colors": "peach, orange, red",
572 "hair_colors": "none",
573 "eye_colors": "black, silver",
574 "average_lifespan": "70",
575 "homeworld": "https://swapi.info/api/planets/49",
576 "language": "Kel Dor",
577 "people": [
578 "https://swapi.info/api/people/58"
579 ],
580 "films": [
581 "https://swapi.info/api/films/4",
582 "https://swapi.info/api/films/6"
583 ],
584 "created": "2014-12-20T10:49:21.692000Z",
585 "edited": "2014-12-20T21:36:42.191000Z",
586 "url": "https://swapi.info/api/species/26"
587 },
588 {
589 "name": "Chagrian",
590 "classification": "amphibian",
591 "designation": "sentient",
592 "average_height": "190",
593 "skin_colors": "blue",
594 "hair_colors": "none",
595 "eye_colors": "blue",
596 "average_lifespan": "unknown",
597 "homeworld": "https://swapi.info/api/planets/50",
598 "language": "Chagria",
599 "people": [
600 "https://swapi.info/api/people/59"
601 ],
602 "films": [
603 "https://swapi.info/api/films/4",
604 "https://swapi.info/api/films/6"
605 ],
606 "created": "2014-12-20T10:53:28.795000Z",
607 "edited": "2014-12-20T21:36:42.193000Z",
608 "url": "https://swapi.info/api/species/27"
609 },
610 {
611 "name": "Geonosian",
612 "classification": "insectoid",
613 "designation": "sentient",
614 "average_height": "178",
615 "skin_colors": "green, brown",
616 "hair_colors": "none",
617 "eye_colors": "green, hazel",
618 "average_lifespan": "unknown",
619 "homeworld": "https://swapi.info/api/planets/11",
620 "language": "Geonosian",
621 "people": [
622 "https://swapi.info/api/people/63"
623 ],
624 "films": [
625 "https://swapi.info/api/films/5",
626 "https://swapi.info/api/films/6"
627 ],
628 "created": "2014-12-20T16:40:45.618000Z",
629 "edited": "2014-12-20T21:36:42.195000Z",
630 "url": "https://swapi.info/api/species/28"
631 },
632 {
633 "name": "Mirialan",
634 "classification": "mammal",
635 "designation": "sentient",
636 "average_height": "180",
637 "skin_colors": "yellow, green",
638 "hair_colors": "black, brown",
639 "eye_colors": "blue, green, red, yellow, brown, orange",
640 "average_lifespan": "unknown",
641 "homeworld": "https://swapi.info/api/planets/51",
642 "language": "Mirialan",
643 "people": [
644 "https://swapi.info/api/people/64",
645 "https://swapi.info/api/people/65"
646 ],
647 "films": [
648 "https://swapi.info/api/films/5",
649 "https://swapi.info/api/films/6"
650 ],
651 "created": "2014-12-20T16:46:48.290000Z",
652 "edited": "2014-12-20T21:36:42.197000Z",
653 "url": "https://swapi.info/api/species/29"
654 },
655 {
656 "name": "Clawdite",
657 "classification": "reptilian",
658 "designation": "sentient",
659 "average_height": "180",
660 "skin_colors": "green, yellow",
661 "hair_colors": "none",
662 "eye_colors": "yellow",
663 "average_lifespan": "70",
664 "homeworld": "https://swapi.info/api/planets/54",
665 "language": "Clawdite",
666 "people": [
667 "https://swapi.info/api/people/70"
668 ],
669 "films": [
670 "https://swapi.info/api/films/5",
671 "https://swapi.info/api/films/6"
672 ],
673 "created": "2014-12-20T16:57:46.171000Z",
674 "edited": "2014-12-20T21:36:42.199000Z",
675 "url": "https://swapi.info/api/species/30"
676 },
677 {
678 "name": "Besalisk",
679 "classification": "amphibian",
680 "designation": "sentient",
681 "average_height": "178",
682 "skin_colors": "brown",
683 "hair_colors": "none",
684 "eye_colors": "yellow",
685 "average_lifespan": "75",
686 "homeworld": "https://swapi.info/api/planets/55",
687 "language": "besalisk",
688 "people": [
689 "https://swapi.info/api/people/71"
690 ],
691 "films": [
692 "https://swapi.info/api/films/5"
693 ],
694 "created": "2014-12-20T17:28:28.821000Z",
695 "edited": "2014-12-20T21:36:42.200000Z",
696 "url": "https://swapi.info/api/species/31"
697 },
698 {
699 "name": "Kaminoan",
700 "classification": "amphibian",
701 "designation": "sentient",
702 "average_height": "220",
703 "skin_colors": "grey, blue",
704 "hair_colors": "none",
705 "eye_colors": "black",
706 "average_lifespan": "80",
707 "homeworld": "https://swapi.info/api/planets/10",
708 "language": "Kaminoan",
709 "people": [
710 "https://swapi.info/api/people/72",
711 "https://swapi.info/api/people/73"
712 ],
713 "films": [
714 "https://swapi.info/api/films/5"
715 ],
716 "created": "2014-12-20T17:31:24.838000Z",
717 "edited": "2014-12-20T21:36:42.202000Z",
718 "url": "https://swapi.info/api/species/32"
719 },
720 {
721 "name": "Skakoan",
722 "classification": "mammal",
723 "designation": "sentient",
724 "average_height": "unknown",
725 "skin_colors": "grey, green",
726 "hair_colors": "none",
727 "eye_colors": "unknown",
728 "average_lifespan": "unknown",
729 "homeworld": "https://swapi.info/api/planets/56",
730 "language": "Skakoan",
731 "people": [
732 "https://swapi.info/api/people/76"
733 ],
734 "films": [
735 "https://swapi.info/api/films/5",
736 "https://swapi.info/api/films/6"
737 ],
738 "created": "2014-12-20T17:53:54.515000Z",
739 "edited": "2014-12-20T21:36:42.204000Z",
740 "url": "https://swapi.info/api/species/33"
741 },
742 {
743 "name": "Muun",
744 "classification": "mammal",
745 "designation": "sentient",
746 "average_height": "190",
747 "skin_colors": "grey, white",
748 "hair_colors": "none",
749 "eye_colors": "black",
750 "average_lifespan": "100",
751 "homeworld": "https://swapi.info/api/planets/57",
752 "language": "Muun",
753 "people": [
754 "https://swapi.info/api/people/77"
755 ],
756 "films": [
757 "https://swapi.info/api/films/5",
758 "https://swapi.info/api/films/6"
759 ],
760 "created": "2014-12-20T17:58:19.088000Z",
761 "edited": "2014-12-20T21:36:42.207000Z",
762 "url": "https://swapi.info/api/species/34"
763 },
764 {
765 "name": "Togruta",
766 "classification": "mammal",
767 "designation": "sentient",
768 "average_height": "180",
769 "skin_colors": "red, white, orange, yellow, green, blue",
770 "hair_colors": "none",
771 "eye_colors": "red, orange, yellow, green, blue, black",
772 "average_lifespan": "94",
773 "homeworld": "https://swapi.info/api/planets/58",
774 "language": "Togruti",
775 "people": [
776 "https://swapi.info/api/people/78"
777 ],
778 "films": [
779 "https://swapi.info/api/films/5",
780 "https://swapi.info/api/films/6"
781 ],
782 "created": "2014-12-20T18:44:03.246000Z",
783 "edited": "2014-12-20T21:36:42.209000Z",
784 "url": "https://swapi.info/api/species/35"
785 },
786 {
787 "name": "Kaleesh",
788 "classification": "reptile",
789 "designation": "sentient",
790 "average_height": "170",
791 "skin_colors": "brown, orange, tan",
792 "hair_colors": "none",
793 "eye_colors": "yellow",
794 "average_lifespan": "80",
795 "homeworld": "https://swapi.info/api/planets/59",
796 "language": "Kaleesh",
797 "people": [
798 "https://swapi.info/api/people/79"
799 ],
800 "films": [
801 "https://swapi.info/api/films/6"
802 ],
803 "created": "2014-12-20T19:45:42.537000Z",
804 "edited": "2014-12-20T21:36:42.210000Z",
805 "url": "https://swapi.info/api/species/36"
806 },
807 {
808 "name": "Pau'an",
809 "classification": "mammal",
810 "designation": "sentient",
811 "average_height": "190",
812 "skin_colors": "grey",
813 "hair_colors": "none",
814 "eye_colors": "black",
815 "average_lifespan": "700",
816 "homeworld": "https://swapi.info/api/planets/12",
817 "language": "Utapese",
818 "people": [
819 "https://swapi.info/api/people/83"
820 ],
821 "films": [
822 "https://swapi.info/api/films/6"
823 ],
824 "created": "2014-12-20T20:35:06.777000Z",
825 "edited": "2014-12-20T21:36:42.212000Z",
826 "url": "https://swapi.info/api/species/37"
827 }
828]
What is this ?

The Star Wars API, or "swapi" (Swah-pee) is the world‘s first quantified and programmatically-accessible data source for all the data from the Star Wars canon universe!

We‘ve taken all the rich contextual stuff from the universe and formatted into something easier to consume with software. Then we went and stuck an API on the front so you can access it all!

How can I use it ?

All the data is accessible through our HTTP web API. Consult our explorer pages if you‘d like to get started.

Promise of longevity

Swapi.info is here to stay!. Created as service which runs solely via static files, this service does not require database or expensive hosting to run. Currently hosted on the generosity of Cloudflare Pages, the only barrier to utilization is a public facing domain. No other costs associated with running this project yourself as well. Created as a self-owned alternative to keep my older projects alive, now publicly available and Open Source allows it to be perpetually available to the community.