SWAPI GraphQL

Star Wars films, people, and planets over GraphQL

🎬 MediaHEALTHYchecked 11h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

A GraphQL wrapper around SWAPI covering Star Wars films, characters, planets, and starships. Send the query as a URL parameter on a GET request and it answers with exactly the fields you asked for, no key required. Useful for learning GraphQL against familiar data.

87HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 87 · healthy
Uptime history
100%90 days
100%30 days
853P50 · ms
3083P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 316 ms, slowest 1367 ms, most recent 641 ms.
Live response samplecaptured by our last successful check
GET https://swapi-graphql.netlify.app/.netlify/functions/index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7D

{
  "data": {
    "allFilms": {
      "films": [
        {
          "title": "A New Hope",
          "releaseDate": "1977-05-25"
        },
        {
          "title": "The Empire Strikes Back",
          "releaseDate": "1980-05-17"
        }
      ]
    }
  }
}
Call itcurl · fetch · python
curl "https://swapi-graphql.netlify.app/.netlify/functions/index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7D"
const res = await fetch("https://swapi-graphql.netlify.app/.netlify/functions/index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7D");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://swapi-graphql.netlify.app/.netlify/functions/index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7D")
print(res.json())
Endpoints · 3HealthyFULL DOCS ↗
Monitored path responding — GET /index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7D853 mschecked 11h ago
GET/index?query=%7BallFilms%7Bfilms%7Btitle%2CreleaseDate%7D%7D%7DPROBED

Star Wars films, people, and planets over GraphQL

GET/index?limit=5

Index — documented GET route.

GET/index?page=1

Index — documented GET route.

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 GraphQL: common questions

Is SWAPI GraphQL free to use?

Yes — SWAPI GraphQL is a free media API. Free tier: Free, no key. Whether the free tier allows commercial use is unclear — check the provider docs.

Does SWAPI GraphQL need an API key?

No — SWAPI GraphQL needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call SWAPI GraphQL from the browser?

Yes — SWAPI GraphQL 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 GraphQL up right now?

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