SWAPI
A maintained Star Wars API with wrapped, ID-based records
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.
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"
}
}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())/people/1PROBEDA maintained Star Wars API with wrapped, ID-based records
/peoplePeople or cast records.
/people?limit=10People or cast records.
/people/search?q=testSearch by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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 unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.