SWAPI (swapi.tech)
- Status
- Working
- API key
- Not needed
- Browser calls
- Runs in the browser
- Latency
- 418 ms
- Docs
- www.swapi.tech ↗
Build snapshot, not live. One verifier run on , from the machine that built this site. How we check
Example request
GEThttps://www.swapi.tech/api/people/1
Sent from your browser straight to www.swapi.tech. No proxy: this site never sees the request or the answer.
Copy the request
curl -s 'https://www.swapi.tech/api/people/1'const res = await fetch("https://www.swapi.tech/api/people/1");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://www.swapi.tech/api/people/1", timeout=10)
res.raise_for_status()
print(res.json())Response stored by the verifier
This is what www.swapi.tech answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.
{
"message": "ok",
"result": {
"properties": {
"created": "2026-11-26T00:27:52.293Z",
"edited": "2026-11-26T00:27:52.293Z",
"name": "Luke Skywalker",
"gender": "male",
"skin_color": "fair",
"hair_color": "blond",
"height": "172",
"eye_color": "blue",
"mass": "77",
"homeworld": "https://www.swapi.tech/api/planets/1",
"birth_year": "19BBY",
"vehicles": [
"https://www.swapi.tech/api/vehicles/14",
"https://www.swapi.tech/api/vehicles/30"
],
"starships": [
"https://www.swapi.tech/api/starships/12",
"https://www.swapi.tech/api/starships/22"
],
"films": [
"https://www.swapi.tech/api/films/1",
"https://www.swapi.tech/api/films/2"
]
},
"_id": "5f63a36eee9fd7000499be42",
"description": "A person within the Star Wars universe",
"uid": "1",
"__v": 4
},
"apiVersion": "1.0",
"timestamp": "2026-11-26T07:11:31.709Z",
"support": {
"contact": "admin@swapi.tech"
}
}Availability
Up 1 of 1 day checked · 30-day window
What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "result".
Last check: — passed, HTTP 200 in 418 ms.
The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.
Badge for your README
If you maintain this API, you can show its last check in your README. The image is made when the site is built, so it shows that check and its date; it is not live, and it can be older than the status page until the site is published again. The link goes back to this page.
[](https://freeapi.today/apis/swapi-tech/)Questions
Does the SWAPI (swapi.tech) need an API key?
No. The sample request on this page was answered without a key, token or account.
Can I call the SWAPI (swapi.tech) from the browser?
Yes. www.swapi.tech answered our verifier with an Access-Control-Allow-Origin header on Nov 26, 2026, so a fetch call from a web page can read the response.
Is the SWAPI (swapi.tech) working?
At the check on Nov 26, 2026 it returned HTTP 200 with the expected data in 418 ms. The status at the top of this page shows the most recent result we have.