Free APIs › Games & Anime › SWAPI — Star Wars API
No keyCORS ✓A · 90

SWAPI — Star Wars API

People, planets, starships and films from a galaxy far, far away.

StatusLive · verified 23 Oct 2026 · 788 ms
AuthenticationNone — call it right now
Browser CORSYes — works from front-end code
Free limitsFree, no key
Official docs ↗ ▶ Open the playground

▶ Live playground

This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.

Press Run to call SWAPI — Star Wars API live.

📸 Real response, captured by us

Not a mockup — this is what SWAPI — Star Wars API actually returned when we verified it on 23 Oct 2026 (in 788 ms).

{
  "name": "Luke Skywalker",
  "height": "172",
  "mass": "77",
  "hair_color": "blond",
  "skin_color": "fair",
  "eye_color": "blue",
  "birth_year": "19BBY",
  "gender": "male",
  "homeworld": "https://swapi.dev/api/planets/1/",
  "films": [
    "https://swapi.dev/api/films/1/",
    "https://swapi.dev/api/films/2/",
    "https://swapi.dev/api/films/3/",
    "https://swapi.dev/api/films/6/"
  ],
  "species": [],
  "vehicles": [
    "https://swapi.dev/api/vehicles/14/",
    "https://swapi.dev/api/vehicles/30/"
  ],
  "starships": [
    "https://swapi.dev/api/starships/12/",
    "https://swapi.dev/api/starships/22/"
  ],
  "created": "2014-12-09T13:50:51.644000Z",
  "edited": "2014-12-20T21

💻 Copy-paste code

Three ways to call SWAPI — Star Wars API — pick your weapon.

// SWAPI — Star Wars API — no build step, no library. Just fetch.
const res = await fetch("https://swapi.dev/api/people/1/");
const data = await res.json();
console.log(data);

🏅 Own this API?

Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.

<a href="https://freeapis.akclnt.com/api/swapi-star-wars-api/"><img src="https://freeapis.akclnt.com/badge/swapi-star-wars-api.svg" alt="SWAPI — Star Wars API — live-verified free API on AKCLNT Free APIs"></a>

📜 Full check history & uptime · Status as JSON · Health score: A · 90/100

🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works

Similar free APIs

PokeAPI

No keyCORS ✓A · 90

Every Pokémon, move, berry and ability ever — the most complete free game API in existence.

Live · verified 23 Oct 2026 · 780 ms📁 Games & Anime · Free, cached, fair use
Done