A SWAPI alternative with writes, auth and errors

SWAPI, the Star Wars API, is a long-standing free REST API with data about the films' people, planets, starships, vehicles, species and films, linked to one another by URL. It is a classic teaching API for fetching JSON and following links between resources, and several community mirrors keep it available.

At a glance

SWAPI compared with this playground, checked 2026-09.
 SWAPIFun API Playground
DataFilm data about people, planets, starships and moreSmall, invented, fan-made data
MethodsGET onlyGET, POST, PUT, DELETE
AuthNoneBearer tokens with roles
Failure modesMostly 404400, 401, 403, 404, 412 and more
Best forLearning to read and follow an APILearning to test one

Where it stops

It is read-only, so there is nothing to create, edit or delete and no failure mode beyond a 404 for a missing id. That makes it good for learning to read an API and limited for learning to test one — auth, conflicts and validation never come up.

What is different here

The Star Wars API here is unofficial, fan-made and smaller, with invented data, and it supports the full set of operations: add and update characters (with If-Match), delete them as an admin, page and filter by affiliation, with a sandbox per caller so your changes are yours alone.

What SWAPI does better

What this playground does better

Which to use

Use SWAPI to learn to read an API with data from the films. Use this to practise testing one — it is unofficial, and its data is invented on purpose.

Checked against SWAPI as of 2026-09.

Other comparisons

All 39 mock REST APIs · Getting started guide · About this playground

Last updated