SWAPI

A maintained Star Wars API with wrapped, ID-based records

🎬 MediaHEALTHYchecked 12h ago
AUTH NONECORS ✓AGENT ✓HTTPS ✓COMMERCIAL ?

An actively hosted Star Wars data API covering people, planets, films, starships and more. Responses wrap each entity in a result/properties envelope with a description and cross-links. No signup, open CORS, JSON only.

93HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 93 · healthy
Uptime history
100%90 days
100%30 days
338P50 · ms
1349P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 97 ms, slowest 849 ms, most recent 350 ms.
Live response samplecaptured by our last successful check
GET https://www.swapi.tech/api/people/1

{
  "message": "ok",
  "result": {
    "properties": {
      "name": "Luke Skywalker",
      "gender": "male",
      "height": "172",
      "birth_year": "19BBY",
      "homeworld": "https://www.swapi.tech/api/planets/1"
    },
    "uid": "1",
    "description": "A person within the Star Wars universe"
  }
}
Call itcurl · fetch · python
curl "https://www.swapi.tech/api/people/1"
const res = await fetch("https://www.swapi.tech/api/people/1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://www.swapi.tech/api/people/1")
print(res.json())
Endpoints · 4HealthyFULL DOCS ↗
Monitored path responding — GET /people/1338 mschecked 12h ago
GET/people/1PROBED

A maintained Star Wars API with wrapped, ID-based records

GET/people

People or cast records.

GET/people?limit=10

People or cast records.

GET/people/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

SWAPI: common questions

Is SWAPI free to use?

Yes — SWAPI is a free media API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does SWAPI need an API key?

No — SWAPI needs no API key or signup. You can call it straight away; rate limits still apply (100 req/window · 99 remaining · resets 1783512035).

Can I call SWAPI from the browser?

Yes — SWAPI returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is SWAPI up right now?

As of our last scheduled check, SWAPI is healthy with 100% uptime over 90 days and a 338 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.