SWAPI.INFO

Star Wars APIs & Explorer

All the Star Wars data you‘ve ever wanted:
Planets, Spaceships, Vehicles, People, Films and Species

JSON-only, CDN-powered, Wicked-fast, Unrestricted Star Wars data GET API endpoint service. All data sourced from our beloved swapi.dev  

View Source Code

Request:

request.js
1fetch("https://swapi.info/api/")
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 "films": "https://swapi.info/api/films",
3 "people": "https://swapi.info/api/people",
4 "planets": "https://swapi.info/api/planets",
5 "species": "https://swapi.info/api/species",
6 "vehicles": "https://swapi.info/api/vehicles",
7 "starships": "https://swapi.info/api/starships"
8}
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.