DEV Community

Chris Frewin
Chris Frewin

Posted on

Public Service Announcement: The Star Wars API (swapi.co) Is Down!

As the title says, this is more an alert than a full-fledged post.

As a lot of us know, this was a great tool to quickly test some async / API behavior! (Not to mention it's used in hundreds (maybe thousands?!) of existing tutorials and in examples of repositories!

Does anybody know the maintainer or what happened? Or if it will come back anytime soon? That thing's been around as long as I've been a dev...

Top comments (7)

Collapse
 
nwpointer profile image
Nathan Pointer

Checking out the github page (github.com/phalt/swapi) it looks like swapi is no longer actively maintained and is not guaranteed to be up. Looks like PokeApi is currently up though.

phalt.github.io/pokeapi-and-swapi-...

Collapse
 
fullstackchris profile image
Chris Frewin • Edited

Nice, I'll have to check out PokeApi as an alternative.

Someone replied to the same information I had posted on twitter, apparently, swapi.dev is trying to be the successor to the original swapi.

Collapse
 
sonylnagale profile image
Sonyl Nagale

It seems that swapi.dev is using a puma-dev cert, which is no longer accepted by macOS... interesting. Also, from the linked article, it sounds like PokéAPI may die any moment also.

I'm seriously considering standing up my own of both. Anyone have thoughts?

Thread Thread
 
semperry profile image
Ryan Curtis

If you're still looking, swapi.tech is available

Collapse
 
sivarampg profile image
Sivaram Pandariganthan

Given the current outage on swapi.dev, I would like to bring to attention my own Open Source swapi.info. A partially feature-parity take on SWAPI which solely utilizes Cloudflare & Cloudflare Pages infrastructure to provide blazing fast, non rate-limited, JSON-only APIs with excellent uptime guarentees and status monitoring to rapid reactions.

Built as a giveback to the community to provide an data explorer and API service for the new enterents in our community and for teachers to have a visual aid always available at their disposal.

Collapse
 
ardc_overflow profile image
Rodolpho Alves • Edited

Hey, just to add my two cents:

While studying Deno and some of its REST Frameworks I've actually created a "port" of the SWApi.

It's not the same thing (mostly because I find the way they envelope data not hepful for the amount of data being transmited) but it still might be helpful for quickly getting a hang of doing http calls with any programming language.

The source code is available on this GitHub repo and it's currently published on swapi-deno.azurewebsites.net/

GitHub logo rodolphocastro / deno-swapi

A StarWars API written with Deno and powered by Oak and Svelte!

🚀 SWApi Deno

A RESTful API containing Star Wars data!

🏆 Acknowledgements

Thanks to @phalt for his work on the original Swapi and to @juriy for his work on the current Swapi.dev.

💻 Endpoints

Currently we support the following endpoints.

🎥 Films / Movies

  • All (GET api/films)
  • Single (GET api/films/{id})

🧬 Species

  • All (GET api/species/)
  • Single (GET api/species/{id})

🚗 Vehicles

  • All (GET api/vehicles/)
  • Single (GET api/vehicles/{id})

🚀 Starships

  • All (GET api/starships/)
  • Single (GET api/starships/{id})

🌍 Planets

  • All (GET api/planets/)
  • Single (GET api/planets/{id})

🤼 People

  • All (GET api/people/)
  • Single (GET api/people/{id})

🌌 Portal

Currently we have a portal that presents some information about the API.

This portal is powered by Svelte and its code can be found on the /portal subdirectory!

Running

Using in

There's also a post published here about my motivation behind rewriting it and how it's currently deploy, however I wrote that post in Portuguese 😅

Collapse
 
yusufkolawole profile image
Yusuf Kolawole

Thanks alot, you just saved me