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.
| API | Pricing | Auth | Format | Free tier | Status |
|---|---|---|---|---|---|
Star Wars DatabankStar Wars character, species, droid, vehicle and location data pulled from the official Databank. Media & Entertainment › Movies & TV | Free | None | JSON | Unlimited | Live |
SWAPIStructured data on Star Wars people, planets, starships, vehicles, species and films. Media & Entertainment › Movies & TV | Free | None | JSON | Unlimited | Live |
SWAPI GraphQLStar Wars films, characters, planets, and starships from the classic SWAPI dataset via GraphQL. Media & Entertainment › Movies & TV | None | JSON | Unlimited | Live | |
SWAPI.techStar Wars reference data: people, planets, films, species, starships, and vehicles. Media & Entertainment › Movies & TV | None | JSON | Unlimited | Live |
Star Wars DatabankFreeLive
Star Wars character, species, droid, vehicle and location data pulled from the official Databank.
None · JSON
Unlimited
no machine-readable spec
SWAPIFreeLive
Structured data on Star Wars people, planets, starships, vehicles, species and films.
None · JSON
Unlimited
no machine-readable spec
SWAPI GraphQLLive
Star Wars films, characters, planets, and starships from the classic SWAPI dataset via GraphQL.
None · JSON
Unlimited
llms.txt
SWAPI.techLive
Star Wars reference data: people, planets, films, species, starships, and vehicles.
None · JSON
Unlimited
no machine-readable spec
Nothing matches that combination. Clear the filters and start from the category.
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