freeapis

SWAPI GraphQL

Star Wars GraphQL API

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Video
Data source
public-apis + marcelscruz

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

APIAuthHTTPSCORS
An API of Ice And Fire

Game Of Thrones API

No authYesUnknown↗
Bob's Burgers

Bob's Burgers API

No authYesYes↗
Bob's Burgers API

The Bob's Burgers API contains data for hundreds of characters, episodes, running gags, and images from the show

No authYesUnknown↗
Breaking Bad

Breaking Bad API

No authYesUnknown↗
Breaking Bad Quotes

Some Breaking Bad quotes

No authYesUnknown↗