Video — entry 025 of 37

SWAPI

Verified Jul 2026

SWAPI (swapi.dev) is the original Star Wars REST API — a community-run continuation of the classic swapi.co dataset covering people, films, planets, species, starships, and vehicles as static, frozen-in-time JSON. It predates and is distinct from both the actively developed swapi.tech rebuild and the GraphQL wrapper at graphql.org/swapi-graphql, which layer on top of similar data.

fandomstar-warscharacters
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score74out of 100
Authentication25/25No authentication required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 74 on greatapis.com
<a href="https://greatapis.com/api/swapi/"><img src="https://greatapis.com/badge/swapi.svg" alt="Scored 74 on greatapis.com"></a>

Auth quickstart

  1. No key needed — call it now.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.

Try it

Developer reference

Base URLhttps://swapi.dev/api
Key endpoints
  • GET/people/{id}
  • GET/films
  • GET/planets