/starships
Request:
1fetch("https://swapi.info/api/starships")
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:
1[
2 {
3 "name": "CR90 corvette",
4 "model": "CR90 corvette",
5 "manufacturer": "Corellian Engineering Corporation",
6 "cost_in_credits": "3500000",
7 "length": "150",
8 "max_atmosphering_speed": "950",
9 "crew": "30-165",
10 "passengers": "600",
11 "cargo_capacity": "3000000",
12 "consumables": "1 year",
13 "hyperdrive_rating": "2.0",
14 "MGLT": "60",
15 "starship_class": "corvette",
16 "pilots": [],
17 "films": [
18 "https://swapi.info/api/films/1",
19 "https://swapi.info/api/films/3",
20 "https://swapi.info/api/films/6"
21 ],
22 "created": "2014-12-10T14:20:33.369000Z",
23 "edited": "2014-12-20T21:23:49.867000Z",
24 "url": "https://swapi.info/api/starships/2"
25 },
26 {
27 "name": "Star Destroyer",
28 "model": "Imperial I-class Star Destroyer",
29 "manufacturer": "Kuat Drive Yards",
30 "cost_in_credits": "150000000",
31 "length": "1,600",
32 "max_atmosphering_speed": "975",
33 "crew": "47,060",
34 "passengers": "n/a",
35 "cargo_capacity": "36000000",
36 "consumables": "2 years",
37 "hyperdrive_rating": "2.0",
38 "MGLT": "60",
39 "starship_class": "Star Destroyer",
40 "pilots": [],
41 "films": [
42 "https://swapi.info/api/films/1",
43 "https://swapi.info/api/films/2",
44 "https://swapi.info/api/films/3"
45 ],
46 "created": "2014-12-10T15:08:19.848000Z",
47 "edited": "2014-12-20T21:23:49.870000Z",
48 "url": "https://swapi.info/api/starships/3"
49 },
50 {
51 "name": "Sentinel-class landing craft",
52 "model": "Sentinel-class landing craft",
53 "manufacturer": "Sienar Fleet Systems, Cyngus Spaceworks",
54 "cost_in_credits": "240000",
55 "length": "38",
56 "max_atmosphering_speed": "1000",
57 "crew": "5",
58 "passengers": "75",
59 "cargo_capacity": "180000",
60 "consumables": "1 month",
61 "hyperdrive_rating": "1.0",
62 "MGLT": "70",
63 "starship_class": "landing craft",
64 "pilots": [],
65 "films": [
66 "https://swapi.info/api/films/1"
67 ],
68 "created": "2014-12-10T15:48:00.586000Z",
69 "edited": "2014-12-20T21:23:49.873000Z",
70 "url": "https://swapi.info/api/starships/5"
71 },
72 {
73 "name": "Death Star",
74 "model": "DS-1 Orbital Battle Station",
75 "manufacturer": "Imperial Department of Military Research, Sienar Fleet Systems",
76 "cost_in_credits": "1000000000000",
77 "length": "120000",
78 "max_atmosphering_speed": "n/a",
79 "crew": "342,953",
80 "passengers": "843,342",
81 "cargo_capacity": "1000000000000",
82 "consumables": "3 years",
83 "hyperdrive_rating": "4.0",
84 "MGLT": "10",
85 "starship_class": "Deep Space Mobile Battlestation",
86 "pilots": [],
87 "films": [
88 "https://swapi.info/api/films/1"
89 ],
90 "created": "2014-12-10T16:36:50.509000Z",
91 "edited": "2014-12-20T21:26:24.783000Z",
92 "url": "https://swapi.info/api/starships/9"
93 },
94 {
95 "name": "Millennium Falcon",
96 "model": "YT-1300 light freighter",
97 "manufacturer": "Corellian Engineering Corporation",
98 "cost_in_credits": "100000",
99 "length": "34.37",
100 "max_atmosphering_speed": "1050",
101 "crew": "4",
102 "passengers": "6",
103 "cargo_capacity": "100000",
104 "consumables": "2 months",
105 "hyperdrive_rating": "0.5",
106 "MGLT": "75",
107 "starship_class": "Light freighter",
108 "pilots": [
109 "https://swapi.info/api/people/13",
110 "https://swapi.info/api/people/14",
111 "https://swapi.info/api/people/25",
112 "https://swapi.info/api/people/31"
113 ],
114 "films": [
115 "https://swapi.info/api/films/1",
116 "https://swapi.info/api/films/2",
117 "https://swapi.info/api/films/3"
118 ],
119 "created": "2014-12-10T16:59:45.094000Z",
120 "edited": "2014-12-20T21:23:49.880000Z",
121 "url": "https://swapi.info/api/starships/10"
122 },
123 {
124 "name": "Y-wing",
125 "model": "BTL Y-wing",
126 "manufacturer": "Koensayr Manufacturing",
127 "cost_in_credits": "134999",
128 "length": "14",
129 "max_atmosphering_speed": "1000km",
130 "crew": "2",
131 "passengers": "0",
132 "cargo_capacity": "110",
133 "consumables": "1 week",
134 "hyperdrive_rating": "1.0",
135 "MGLT": "80",
136 "starship_class": "assault starfighter",
137 "pilots": [],
138 "films": [
139 "https://swapi.info/api/films/1",
140 "https://swapi.info/api/films/2",
141 "https://swapi.info/api/films/3"
142 ],
143 "created": "2014-12-12T11:00:39.817000Z",
144 "edited": "2014-12-20T21:23:49.883000Z",
145 "url": "https://swapi.info/api/starships/11"
146 },
147 {
148 "name": "X-wing",
149 "model": "T-65 X-wing",
150 "manufacturer": "Incom Corporation",
151 "cost_in_credits": "149999",
152 "length": "12.5",
153 "max_atmosphering_speed": "1050",
154 "crew": "1",
155 "passengers": "0",
156 "cargo_capacity": "110",
157 "consumables": "1 week",
158 "hyperdrive_rating": "1.0",
159 "MGLT": "100",
160 "starship_class": "Starfighter",
161 "pilots": [
162 "https://swapi.info/api/people/1",
163 "https://swapi.info/api/people/9",
164 "https://swapi.info/api/people/18",
165 "https://swapi.info/api/people/19"
166 ],
167 "films": [
168 "https://swapi.info/api/films/1",
169 "https://swapi.info/api/films/2",
170 "https://swapi.info/api/films/3"
171 ],
172 "created": "2014-12-12T11:19:05.340000Z",
173 "edited": "2014-12-20T21:23:49.886000Z",
174 "url": "https://swapi.info/api/starships/12"
175 },
176 {
177 "name": "TIE Advanced x1",
178 "model": "Twin Ion Engine Advanced x1",
179 "manufacturer": "Sienar Fleet Systems",
180 "cost_in_credits": "unknown",
181 "length": "9.2",
182 "max_atmosphering_speed": "1200",
183 "crew": "1",
184 "passengers": "0",
185 "cargo_capacity": "150",
186 "consumables": "5 days",
187 "hyperdrive_rating": "1.0",
188 "MGLT": "105",
189 "starship_class": "Starfighter",
190 "pilots": [
191 "https://swapi.info/api/people/4"
192 ],
193 "films": [
194 "https://swapi.info/api/films/1"
195 ],
196 "created": "2014-12-12T11:21:32.991000Z",
197 "edited": "2014-12-20T21:23:49.889000Z",
198 "url": "https://swapi.info/api/starships/13"
199 },
200 {
201 "name": "Executor",
202 "model": "Executor-class star dreadnought",
203 "manufacturer": "Kuat Drive Yards, Fondor Shipyards",
204 "cost_in_credits": "1143350000",
205 "length": "19000",
206 "max_atmosphering_speed": "n/a",
207 "crew": "279,144",
208 "passengers": "38000",
209 "cargo_capacity": "250000000",
210 "consumables": "6 years",
211 "hyperdrive_rating": "2.0",
212 "MGLT": "40",
213 "starship_class": "Star dreadnought",
214 "pilots": [],
215 "films": [
216 "https://swapi.info/api/films/2",
217 "https://swapi.info/api/films/3"
218 ],
219 "created": "2014-12-15T12:31:42.547000Z",
220 "edited": "2014-12-20T21:23:49.893000Z",
221 "url": "https://swapi.info/api/starships/15"
222 },
223 {
224 "name": "Rebel transport",
225 "model": "GR-75 medium transport",
226 "manufacturer": "Gallofree Yards, Inc.",
227 "cost_in_credits": "unknown",
228 "length": "90",
229 "max_atmosphering_speed": "650",
230 "crew": "6",
231 "passengers": "90",
232 "cargo_capacity": "19000000",
233 "consumables": "6 months",
234 "hyperdrive_rating": "4.0",
235 "MGLT": "20",
236 "starship_class": "Medium transport",
237 "pilots": [],
238 "films": [
239 "https://swapi.info/api/films/2",
240 "https://swapi.info/api/films/3"
241 ],
242 "created": "2014-12-15T12:34:52.264000Z",
243 "edited": "2014-12-20T21:23:49.895000Z",
244 "url": "https://swapi.info/api/starships/17"
245 },
246 {
247 "name": "Slave 1",
248 "model": "Firespray-31-class patrol and attack",
249 "manufacturer": "Kuat Systems Engineering",
250 "cost_in_credits": "unknown",
251 "length": "21.5",
252 "max_atmosphering_speed": "1000",
253 "crew": "1",
254 "passengers": "6",
255 "cargo_capacity": "70000",
256 "consumables": "1 month",
257 "hyperdrive_rating": "3.0",
258 "MGLT": "70",
259 "starship_class": "Patrol craft",
260 "pilots": [
261 "https://swapi.info/api/people/22"
262 ],
263 "films": [
264 "https://swapi.info/api/films/2",
265 "https://swapi.info/api/films/5"
266 ],
267 "created": "2014-12-15T13:00:56.332000Z",
268 "edited": "2014-12-20T21:23:49.897000Z",
269 "url": "https://swapi.info/api/starships/21"
270 },
271 {
272 "name": "Imperial shuttle",
273 "model": "Lambda-class T-4a shuttle",
274 "manufacturer": "Sienar Fleet Systems",
275 "cost_in_credits": "240000",
276 "length": "20",
277 "max_atmosphering_speed": "850",
278 "crew": "6",
279 "passengers": "20",
280 "cargo_capacity": "80000",
281 "consumables": "2 months",
282 "hyperdrive_rating": "1.0",
283 "MGLT": "50",
284 "starship_class": "Armed government transport",
285 "pilots": [
286 "https://swapi.info/api/people/1",
287 "https://swapi.info/api/people/13",
288 "https://swapi.info/api/people/14"
289 ],
290 "films": [
291 "https://swapi.info/api/films/2",
292 "https://swapi.info/api/films/3"
293 ],
294 "created": "2014-12-15T13:04:47.235000Z",
295 "edited": "2014-12-20T21:23:49.900000Z",
296 "url": "https://swapi.info/api/starships/22"
297 },
298 {
299 "name": "EF76 Nebulon-B escort frigate",
300 "model": "EF76 Nebulon-B escort frigate",
301 "manufacturer": "Kuat Drive Yards",
302 "cost_in_credits": "8500000",
303 "length": "300",
304 "max_atmosphering_speed": "800",
305 "crew": "854",
306 "passengers": "75",
307 "cargo_capacity": "6000000",
308 "consumables": "2 years",
309 "hyperdrive_rating": "2.0",
310 "MGLT": "40",
311 "starship_class": "Escort ship",
312 "pilots": [],
313 "films": [
314 "https://swapi.info/api/films/2",
315 "https://swapi.info/api/films/3"
316 ],
317 "created": "2014-12-15T13:06:30.813000Z",
318 "edited": "2014-12-20T21:23:49.902000Z",
319 "url": "https://swapi.info/api/starships/23"
320 },
321 {
322 "name": "Calamari Cruiser",
323 "model": "MC80 Liberty type Star Cruiser",
324 "manufacturer": "Mon Calamari shipyards",
325 "cost_in_credits": "104000000",
326 "length": "1200",
327 "max_atmosphering_speed": "n/a",
328 "crew": "5400",
329 "passengers": "1200",
330 "cargo_capacity": "unknown",
331 "consumables": "2 years",
332 "hyperdrive_rating": "1.0",
333 "MGLT": "60",
334 "starship_class": "Star Cruiser",
335 "pilots": [],
336 "films": [
337 "https://swapi.info/api/films/3"
338 ],
339 "created": "2014-12-18T10:54:57.804000Z",
340 "edited": "2014-12-20T21:23:49.904000Z",
341 "url": "https://swapi.info/api/starships/27"
342 },
343 {
344 "name": "A-wing",
345 "model": "RZ-1 A-wing Interceptor",
346 "manufacturer": "Alliance Underground Engineering, Incom Corporation",
347 "cost_in_credits": "175000",
348 "length": "9.6",
349 "max_atmosphering_speed": "1300",
350 "crew": "1",
351 "passengers": "0",
352 "cargo_capacity": "40",
353 "consumables": "1 week",
354 "hyperdrive_rating": "1.0",
355 "MGLT": "120",
356 "starship_class": "Starfighter",
357 "pilots": [
358 "https://swapi.info/api/people/29"
359 ],
360 "films": [
361 "https://swapi.info/api/films/3"
362 ],
363 "created": "2014-12-18T11:16:34.542000Z",
364 "edited": "2014-12-20T21:23:49.907000Z",
365 "url": "https://swapi.info/api/starships/28"
366 },
367 {
368 "name": "B-wing",
369 "model": "A/SF-01 B-wing starfighter",
370 "manufacturer": "Slayn & Korpil",
371 "cost_in_credits": "220000",
372 "length": "16.9",
373 "max_atmosphering_speed": "950",
374 "crew": "1",
375 "passengers": "0",
376 "cargo_capacity": "45",
377 "consumables": "1 week",
378 "hyperdrive_rating": "2.0",
379 "MGLT": "91",
380 "starship_class": "Assault Starfighter",
381 "pilots": [],
382 "films": [
383 "https://swapi.info/api/films/3"
384 ],
385 "created": "2014-12-18T11:18:04.763000Z",
386 "edited": "2014-12-20T21:23:49.909000Z",
387 "url": "https://swapi.info/api/starships/29"
388 },
389 {
390 "name": "Republic Cruiser",
391 "model": "Consular-class cruiser",
392 "manufacturer": "Corellian Engineering Corporation",
393 "cost_in_credits": "unknown",
394 "length": "115",
395 "max_atmosphering_speed": "900",
396 "crew": "9",
397 "passengers": "16",
398 "cargo_capacity": "unknown",
399 "consumables": "unknown",
400 "hyperdrive_rating": "2.0",
401 "MGLT": "unknown",
402 "starship_class": "Space cruiser",
403 "pilots": [],
404 "films": [
405 "https://swapi.info/api/films/4"
406 ],
407 "created": "2014-12-19T17:01:31.488000Z",
408 "edited": "2014-12-20T21:23:49.912000Z",
409 "url": "https://swapi.info/api/starships/31"
410 },
411 {
412 "name": "Droid control ship",
413 "model": "Lucrehulk-class Droid Control Ship",
414 "manufacturer": "Hoersch-Kessel Drive, Inc.",
415 "cost_in_credits": "unknown",
416 "length": "3170",
417 "max_atmosphering_speed": "n/a",
418 "crew": "175",
419 "passengers": "139000",
420 "cargo_capacity": "4000000000",
421 "consumables": "500 days",
422 "hyperdrive_rating": "2.0",
423 "MGLT": "unknown",
424 "starship_class": "Droid control ship",
425 "pilots": [],
426 "films": [
427 "https://swapi.info/api/films/4",
428 "https://swapi.info/api/films/5",
429 "https://swapi.info/api/films/6"
430 ],
431 "created": "2014-12-19T17:04:06.323000Z",
432 "edited": "2014-12-20T21:23:49.915000Z",
433 "url": "https://swapi.info/api/starships/32"
434 },
435 {
436 "name": "Naboo fighter",
437 "model": "N-1 starfighter",
438 "manufacturer": "Theed Palace Space Vessel Engineering Corps",
439 "cost_in_credits": "200000",
440 "length": "11",
441 "max_atmosphering_speed": "1100",
442 "crew": "1",
443 "passengers": "0",
444 "cargo_capacity": "65",
445 "consumables": "7 days",
446 "hyperdrive_rating": "1.0",
447 "MGLT": "unknown",
448 "starship_class": "Starfighter",
449 "pilots": [
450 "https://swapi.info/api/people/11",
451 "https://swapi.info/api/people/35",
452 "https://swapi.info/api/people/60"
453 ],
454 "films": [
455 "https://swapi.info/api/films/4",
456 "https://swapi.info/api/films/5"
457 ],
458 "created": "2014-12-19T17:39:17.582000Z",
459 "edited": "2014-12-20T21:23:49.917000Z",
460 "url": "https://swapi.info/api/starships/39"
461 },
462 {
463 "name": "Naboo Royal Starship",
464 "model": "J-type 327 Nubian royal starship",
465 "manufacturer": "Theed Palace Space Vessel Engineering Corps, Nubia Star Drives",
466 "cost_in_credits": "unknown",
467 "length": "76",
468 "max_atmosphering_speed": "920",
469 "crew": "8",
470 "passengers": "unknown",
471 "cargo_capacity": "unknown",
472 "consumables": "unknown",
473 "hyperdrive_rating": "1.8",
474 "MGLT": "unknown",
475 "starship_class": "yacht",
476 "pilots": [
477 "https://swapi.info/api/people/39"
478 ],
479 "films": [
480 "https://swapi.info/api/films/4"
481 ],
482 "created": "2014-12-19T17:45:03.506000Z",
483 "edited": "2014-12-20T21:23:49.919000Z",
484 "url": "https://swapi.info/api/starships/40"
485 },
486 {
487 "name": "Scimitar",
488 "model": "Star Courier",
489 "manufacturer": "Republic Sienar Systems",
490 "cost_in_credits": "55000000",
491 "length": "26.5",
492 "max_atmosphering_speed": "1180",
493 "crew": "1",
494 "passengers": "6",
495 "cargo_capacity": "2500000",
496 "consumables": "30 days",
497 "hyperdrive_rating": "1.5",
498 "MGLT": "unknown",
499 "starship_class": "Space Transport",
500 "pilots": [
501 "https://swapi.info/api/people/44"
502 ],
503 "films": [
504 "https://swapi.info/api/films/4"
505 ],
506 "created": "2014-12-20T09:39:56.116000Z",
507 "edited": "2014-12-20T21:23:49.922000Z",
508 "url": "https://swapi.info/api/starships/41"
509 },
510 {
511 "name": "J-type diplomatic barge",
512 "model": "J-type diplomatic barge",
513 "manufacturer": "Theed Palace Space Vessel Engineering Corps, Nubia Star Drives",
514 "cost_in_credits": "2000000",
515 "length": "39",
516 "max_atmosphering_speed": "2000",
517 "crew": "5",
518 "passengers": "10",
519 "cargo_capacity": "unknown",
520 "consumables": "1 year",
521 "hyperdrive_rating": "0.7",
522 "MGLT": "unknown",
523 "starship_class": "Diplomatic barge",
524 "pilots": [],
525 "films": [
526 "https://swapi.info/api/films/5"
527 ],
528 "created": "2014-12-20T11:05:51.237000Z",
529 "edited": "2014-12-20T21:23:49.925000Z",
530 "url": "https://swapi.info/api/starships/43"
531 },
532 {
533 "name": "AA-9 Coruscant freighter",
534 "model": "Botajef AA-9 Freighter-Liner",
535 "manufacturer": "Botajef Shipyards",
536 "cost_in_credits": "unknown",
537 "length": "390",
538 "max_atmosphering_speed": "unknown",
539 "crew": "unknown",
540 "passengers": "30000",
541 "cargo_capacity": "unknown",
542 "consumables": "unknown",
543 "hyperdrive_rating": "unknown",
544 "MGLT": "unknown",
545 "starship_class": "freighter",
546 "pilots": [],
547 "films": [
548 "https://swapi.info/api/films/5"
549 ],
550 "created": "2014-12-20T17:24:23.509000Z",
551 "edited": "2014-12-20T21:23:49.928000Z",
552 "url": "https://swapi.info/api/starships/47"
553 },
554 {
555 "name": "Jedi starfighter",
556 "model": "Delta-7 Aethersprite-class interceptor",
557 "manufacturer": "Kuat Systems Engineering",
558 "cost_in_credits": "180000",
559 "length": "8",
560 "max_atmosphering_speed": "1150",
561 "crew": "1",
562 "passengers": "0",
563 "cargo_capacity": "60",
564 "consumables": "7 days",
565 "hyperdrive_rating": "1.0",
566 "MGLT": "unknown",
567 "starship_class": "Starfighter",
568 "pilots": [
569 "https://swapi.info/api/people/10",
570 "https://swapi.info/api/people/58"
571 ],
572 "films": [
573 "https://swapi.info/api/films/5",
574 "https://swapi.info/api/films/6"
575 ],
576 "created": "2014-12-20T17:35:23.906000Z",
577 "edited": "2014-12-20T21:23:49.930000Z",
578 "url": "https://swapi.info/api/starships/48"
579 },
580 {
581 "name": "H-type Nubian yacht",
582 "model": "H-type Nubian yacht",
583 "manufacturer": "Theed Palace Space Vessel Engineering Corps",
584 "cost_in_credits": "unknown",
585 "length": "47.9",
586 "max_atmosphering_speed": "8000",
587 "crew": "4",
588 "passengers": "unknown",
589 "cargo_capacity": "unknown",
590 "consumables": "unknown",
591 "hyperdrive_rating": "0.9",
592 "MGLT": "unknown",
593 "starship_class": "yacht",
594 "pilots": [
595 "https://swapi.info/api/people/35"
596 ],
597 "films": [
598 "https://swapi.info/api/films/5"
599 ],
600 "created": "2014-12-20T17:46:46.847000Z",
601 "edited": "2014-12-20T21:23:49.932000Z",
602 "url": "https://swapi.info/api/starships/49"
603 },
604 {
605 "name": "Republic Assault ship",
606 "model": "Acclamator I-class assault ship",
607 "manufacturer": "Rothana Heavy Engineering",
608 "cost_in_credits": "unknown",
609 "length": "752",
610 "max_atmosphering_speed": "unknown",
611 "crew": "700",
612 "passengers": "16000",
613 "cargo_capacity": "11250000",
614 "consumables": "2 years",
615 "hyperdrive_rating": "0.6",
616 "MGLT": "unknown",
617 "starship_class": "assault ship",
618 "pilots": [],
619 "films": [
620 "https://swapi.info/api/films/5"
621 ],
622 "created": "2014-12-20T18:08:42.926000Z",
623 "edited": "2014-12-20T21:23:49.935000Z",
624 "url": "https://swapi.info/api/starships/52"
625 },
626 {
627 "name": "Solar Sailer",
628 "model": "Punworcca 116-class interstellar sloop",
629 "manufacturer": "Huppla Pasa Tisc Shipwrights Collective",
630 "cost_in_credits": "35700",
631 "length": "15.2",
632 "max_atmosphering_speed": "1600",
633 "crew": "3",
634 "passengers": "11",
635 "cargo_capacity": "240",
636 "consumables": "7 days",
637 "hyperdrive_rating": "1.5",
638 "MGLT": "unknown",
639 "starship_class": "yacht",
640 "pilots": [],
641 "films": [
642 "https://swapi.info/api/films/5"
643 ],
644 "created": "2014-12-20T18:37:56.969000Z",
645 "edited": "2014-12-20T21:23:49.937000Z",
646 "url": "https://swapi.info/api/starships/58"
647 },
648 {
649 "name": "Trade Federation cruiser",
650 "model": "Providence-class carrier/destroyer",
651 "manufacturer": "Rendili StarDrive, Free Dac Volunteers Engineering corps.",
652 "cost_in_credits": "125000000",
653 "length": "1088",
654 "max_atmosphering_speed": "1050",
655 "crew": "600",
656 "passengers": "48247",
657 "cargo_capacity": "50000000",
658 "consumables": "4 years",
659 "hyperdrive_rating": "1.5",
660 "MGLT": "unknown",
661 "starship_class": "capital ship",
662 "pilots": [
663 "https://swapi.info/api/people/10",
664 "https://swapi.info/api/people/11"
665 ],
666 "films": [
667 "https://swapi.info/api/films/6"
668 ],
669 "created": "2014-12-20T19:40:21.902000Z",
670 "edited": "2014-12-20T21:23:49.941000Z",
671 "url": "https://swapi.info/api/starships/59"
672 },
673 {
674 "name": "Theta-class T-2c shuttle",
675 "model": "Theta-class T-2c shuttle",
676 "manufacturer": "Cygnus Spaceworks",
677 "cost_in_credits": "1000000",
678 "length": "18.5",
679 "max_atmosphering_speed": "2000",
680 "crew": "5",
681 "passengers": "16",
682 "cargo_capacity": "50000",
683 "consumables": "56 days",
684 "hyperdrive_rating": "1.0",
685 "MGLT": "unknown",
686 "starship_class": "transport",
687 "pilots": [],
688 "films": [
689 "https://swapi.info/api/films/6"
690 ],
691 "created": "2014-12-20T19:48:40.409000Z",
692 "edited": "2014-12-20T21:23:49.944000Z",
693 "url": "https://swapi.info/api/starships/61"
694 },
695 {
696 "name": "Republic attack cruiser",
697 "model": "Senator-class Star Destroyer",
698 "manufacturer": "Kuat Drive Yards, Allanteen Six shipyards",
699 "cost_in_credits": "59000000",
700 "length": "1137",
701 "max_atmosphering_speed": "975",
702 "crew": "7400",
703 "passengers": "2000",
704 "cargo_capacity": "20000000",
705 "consumables": "2 years",
706 "hyperdrive_rating": "1.0",
707 "MGLT": "unknown",
708 "starship_class": "star destroyer",
709 "pilots": [],
710 "films": [
711 "https://swapi.info/api/films/6"
712 ],
713 "created": "2014-12-20T19:52:56.232000Z",
714 "edited": "2014-12-20T21:23:49.946000Z",
715 "url": "https://swapi.info/api/starships/63"
716 },
717 {
718 "name": "Naboo star skiff",
719 "model": "J-type star skiff",
720 "manufacturer": "Theed Palace Space Vessel Engineering Corps/Nubia Star Drives, Incorporated",
721 "cost_in_credits": "unknown",
722 "length": "29.2",
723 "max_atmosphering_speed": "1050",
724 "crew": "3",
725 "passengers": "3",
726 "cargo_capacity": "unknown",
727 "consumables": "unknown",
728 "hyperdrive_rating": "0.5",
729 "MGLT": "unknown",
730 "starship_class": "yacht",
731 "pilots": [
732 "https://swapi.info/api/people/10",
733 "https://swapi.info/api/people/35"
734 ],
735 "films": [
736 "https://swapi.info/api/films/6"
737 ],
738 "created": "2014-12-20T19:55:15.396000Z",
739 "edited": "2014-12-20T21:23:49.948000Z",
740 "url": "https://swapi.info/api/starships/64"
741 },
742 {
743 "name": "Jedi Interceptor",
744 "model": "Eta-2 Actis-class light interceptor",
745 "manufacturer": "Kuat Systems Engineering",
746 "cost_in_credits": "320000",
747 "length": "5.47",
748 "max_atmosphering_speed": "1500",
749 "crew": "1",
750 "passengers": "0",
751 "cargo_capacity": "60",
752 "consumables": "2 days",
753 "hyperdrive_rating": "1.0",
754 "MGLT": "unknown",
755 "starship_class": "starfighter",
756 "pilots": [
757 "https://swapi.info/api/people/10",
758 "https://swapi.info/api/people/11"
759 ],
760 "films": [
761 "https://swapi.info/api/films/6"
762 ],
763 "created": "2014-12-20T19:56:57.468000Z",
764 "edited": "2014-12-20T21:23:49.951000Z",
765 "url": "https://swapi.info/api/starships/65"
766 },
767 {
768 "name": "arc-170",
769 "model": "Aggressive Reconnaissance-170 starfighte",
770 "manufacturer": "Incom Corporation, Subpro Corporation",
771 "cost_in_credits": "155000",
772 "length": "14.5",
773 "max_atmosphering_speed": "1000",
774 "crew": "3",
775 "passengers": "0",
776 "cargo_capacity": "110",
777 "consumables": "5 days",
778 "hyperdrive_rating": "1.0",
779 "MGLT": "100",
780 "starship_class": "starfighter",
781 "pilots": [],
782 "films": [
783 "https://swapi.info/api/films/6"
784 ],
785 "created": "2014-12-20T20:03:48.603000Z",
786 "edited": "2014-12-20T21:23:49.953000Z",
787 "url": "https://swapi.info/api/starships/66"
788 },
789 {
790 "name": "Banking clan frigte",
791 "model": "Munificent-class star frigate",
792 "manufacturer": "Hoersch-Kessel Drive, Inc, Gwori Revolutionary Industries",
793 "cost_in_credits": "57000000",
794 "length": "825",
795 "max_atmosphering_speed": "unknown",
796 "crew": "200",
797 "passengers": "unknown",
798 "cargo_capacity": "40000000",
799 "consumables": "2 years",
800 "hyperdrive_rating": "1.0",
801 "MGLT": "unknown",
802 "starship_class": "cruiser",
803 "pilots": [],
804 "films": [
805 "https://swapi.info/api/films/6"
806 ],
807 "created": "2014-12-20T20:07:11.538000Z",
808 "edited": "2014-12-20T21:23:49.956000Z",
809 "url": "https://swapi.info/api/starships/68"
810 },
811 {
812 "name": "Belbullab-22 starfighter",
813 "model": "Belbullab-22 starfighter",
814 "manufacturer": "Feethan Ottraw Scalable Assemblies",
815 "cost_in_credits": "168000",
816 "length": "6.71",
817 "max_atmosphering_speed": "1100",
818 "crew": "1",
819 "passengers": "0",
820 "cargo_capacity": "140",
821 "consumables": "7 days",
822 "hyperdrive_rating": "6",
823 "MGLT": "unknown",
824 "starship_class": "starfighter",
825 "pilots": [
826 "https://swapi.info/api/people/10",
827 "https://swapi.info/api/people/79"
828 ],
829 "films": [
830 "https://swapi.info/api/films/6"
831 ],
832 "created": "2014-12-20T20:38:05.031000Z",
833 "edited": "2014-12-20T21:23:49.959000Z",
834 "url": "https://swapi.info/api/starships/74"
835 },
836 {
837 "name": "V-wing",
838 "model": "Alpha-3 Nimbus-class V-wing starfighter",
839 "manufacturer": "Kuat Systems Engineering",
840 "cost_in_credits": "102500",
841 "length": "7.9",
842 "max_atmosphering_speed": "1050",
843 "crew": "1",
844 "passengers": "0",
845 "cargo_capacity": "60",
846 "consumables": "15 hours",
847 "hyperdrive_rating": "1.0",
848 "MGLT": "unknown",
849 "starship_class": "starfighter",
850 "pilots": [],
851 "films": [
852 "https://swapi.info/api/films/6"
853 ],
854 "created": "2014-12-20T20:43:04.349000Z",
855 "edited": "2014-12-20T21:23:49.961000Z",
856 "url": "https://swapi.info/api/starships/75"
857 }
858]
View starships:
2. CR90 corvette
3. Star Destroyer
5. Sentinel-class landing craft
9. Death Star
10. Millennium Falcon
11. Y-wing
12. X-wing
13. TIE Advanced x1
15. Executor
17. Rebel transport
21. Slave 1
22. Imperial shuttle
23. EF76 Nebulon-B escort frigate
27. Calamari Cruiser
28. A-wing
29. B-wing
31. Republic Cruiser
32. Droid control ship
39. Naboo fighter
40. Naboo Royal Starship
41. Scimitar
43. J-type diplomatic barge
47. AA-9 Coruscant freighter
48. Jedi starfighter
49. H-type Nubian yacht
52. Republic Assault ship
58. Solar Sailer
59. Trade Federation cruiser
61. Theta-class T-2c shuttle
63. Republic attack cruiser
64. Naboo star skiff
65. Jedi Interceptor
66. arc-170
68. Banking clan frigte
74. Belbullab-22 starfighter
75. V-wing
Visit the API endpoint:
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.