SWAPI GraphQL
Star Wars GraphQL API
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Video
- Documentation / URL
- https://graphql.org/swapi-graphql
Overview
SWAPI GraphQL exposes Star Wars data as a GraphQL API — keyless.
Note (verified 2026-08): the URL 308-redirects to
/swapi-graphql/(HTTP 200) — follow redirects (curl -L).
Quick Start
GraphQL query (follow the redirect):
curl -L -X POST "https://graphql.org/swapi-graphql/" \
-H "Content-Type: application/json" \
-d '{"query": "{ allPeople { people { name } } }"}'
{ "data": { "allPeople": { "people": [ { "name": "Luke Skywalker" } ] } } }
Authentication
None — keyless.
Rate Limits & Notes
- Free; be polite — no hard published limit.
- GraphQL schema over the SWAPI dataset.
FAQ
Is SWAPI GraphQL free? Yes — free and keyless.
Why 308?
The URL redirects to the trailing-slash path (verified) — use curl -L.
What’s the format? GraphQL.
More in Video
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| An API of Ice And Fire Game Of Thrones API | No auth | Yes | Unknown | ↗ |
| Bob's Burgers Bob's Burgers API | No auth | Yes | Yes | ↗ |
| Breaking Bad Breaking Bad API | No auth | Yes | Unknown | ↗ |
| Breaking Bad Quotes Some Breaking Bad quotes | No auth | Yes | Unknown | ↗ |
| Catalogopolis Doctor Who API | No auth | Yes | Unknown | ↗ |