SWAPI - Star Wars API · GraphQL Specification

SWAPI - Star Wars API GraphQL API

Documentation Endpoint View on GitHub Star WarsOpen-SourceTeaching APIPublic APIRESTGraphQLEntertainmentDatasetsGraphQL

Overview

SWAPI - Star Wars API GraphQL API is a GraphQL API specification published by SWAPI - Star Wars API on the APIs.io network.

Tagged areas include Star Wars, Open-Source, Teaching API, Public API, and REST.

Endpoint

Related API Specs

SWAPI - Star Wars API Films API (OpenAPI) SWAPI - Star Wars API People API (OpenAPI) SWAPI - Star Wars API Planets API (OpenAPI) SWAPI - Star Wars API Species API (OpenAPI) SWAPI - Star Wars API Starships API (OpenAPI) SWAPI - Star Wars API Vehicles API (OpenAPI)
Back to SWAPI - Star Wars API · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This GraphQL schema
curl "https://apis.io/api/v1/graphql/swapi-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.