Wild APIs

Star Wars APIs

Star Wars data comes from a handful of keyless reference APIs. SWAPI is the classic source for people, planets, starships and films, SWAPI GraphQL serves that same dataset through GraphQL, and SWAPI.tech offers its own version of the reference data. Star Wars Databank goes further into droids, species and locations pulled from the official Databank.
4 listings
APIPricingAuthFormatFree tierStatus
Star Wars DatabankStar Wars character, species, droid, vehicle and location data pulled from the official Databank.
Media & Entertainment › Movies & TV
FreeNoneJSONUnlimitedLive
SWAPIStructured data on Star Wars people, planets, starships, vehicles, species and films.
Media & Entertainment › Movies & TV
FreeNoneJSONUnlimitedLive
SWAPI GraphQLStar Wars films, characters, planets, and starships from the classic SWAPI dataset via GraphQL.
Media & Entertainment › Movies & TV
NoneJSONUnlimitedLive
SWAPI.techStar Wars reference data: people, planets, films, species, starships, and vehicles.
Media & Entertainment › Movies & TV
NoneJSONUnlimitedLive

Choosing a Star Wars API

Is there a free Star Wars API?

Yes. SWAPI and Star Wars Databank are free to use.

Which Star Wars APIs work without an API key?

SWAPI, Star Wars Databank, SWAPI GraphQL and SWAPI.tech need no key or sign-up, so you can try them with a plain request.

Can I call a Star Wars API from front-end JavaScript?

SWAPI, Star Wars Databank, SWAPI GraphQL and SWAPI.tech allow cross-origin requests and need no key, so they work straight from the browser. For the others, call them from your server so your key stays private.

Broader: Movies & TV APIs · Media & Entertainment APIs