SWAPI - Star Wars API
SWAPI (Star Wars API) is a free, open Star Wars REST API exposing canonical Star Wars data — films, people, planets, species, starships, and vehicles. Originally built by Paul Hallett (@phalt) at swapi.co, it is now maintained as community mirrors at swapi.dev (Python/Django, @juriy) and www.swapi.tech (Node/MongoDB, @semperry). SWAPI is one of the most widely cited "teaching APIs" in the developer ecosystem.
SWAPI - Star Wars API publishes 6 APIs on the APIs.io network, including Films API, People API, Planets API, and 3 more. Tagged areas include Star Wars, Open Source, Teaching API, Public API, and REST.
The SWAPI - Star Wars API catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.
SWAPI - Star Wars API’s developer surface includes tooling, code examples, and 18 more developer resources.
Kin Score
APIs 7
Individual APIs this provider publishes, each with its own machine-readable definition.
SWAPI REST API (swapi.tech)
The Node/MongoDB community rebuild of SWAPI, maintained by @semperry at swapi.tech. Wraps the canonical SWAPI payloads inside `result.properties` envelopes and adds Discord/Redd...
SWAPI - Star Wars API Films API
The Star Wars films (theatrical episodes I-VII supported by the canonical dataset).
SWAPI - Star Wars API People API
Characters from the Star Wars universe (Luke Skywalker, Darth Vader, etc.).
SWAPI - Star Wars API Planets API
Planets featured across the Star Wars films.
SWAPI - Star Wars API Species API
Sentient and non-sentient species of the Star Wars universe.
SWAPI - Star Wars API Starships API
Hyperdrive-capable starships (X-wings, Star Destroyers, Death Stars).
SWAPI - Star Wars API Vehicles API
Non-hyperdrive vehicles (AT-ATs, snowspeeders, sand crawlers).
Scroll for all 7
Open Collections 1
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
SWAPI - Star Wars API
OPEN COLLECTIONGraphQL 1
GraphQL schemas published by this provider.
Pricing Plans 1
Published pricing tiers and plan structures.
Swapi Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Swapi Rate Limits
RATE LIMITSSemantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Swapi Context
JSON-LDSpectral Rules 2
Spectral governance rulesets for linting and validating these APIs.
SWAPI - Star Wars API API Rules
SPECTRALSWAPI - Star Wars API API Rules
SPECTRALJSON Schema 6
Standalone JSON Schema definitions for this provider's data models.
SWAPI Film
JSON SCHEMASWAPI Person
JSON SCHEMASWAPI Planet
JSON SCHEMASWAPI Species
JSON SCHEMASWAPI Starship
JSON SCHEMASWAPI Vehicle
JSON SCHEMAJSON Structure 6
JSON Structure definitions describing this provider's data shapes.
Swapi Film Structure
JSON STRUCTURESwapi Person Structure
JSON STRUCTURESwapi Planet Structure
JSON STRUCTURESwapi Species Structure
JSON STRUCTURESwapi Starship Structure
JSON STRUCTURESwapi Vehicle Structure
JSON STRUCTUREExamples 8
Example request and response payloads for these APIs.
Swapi Getfilm Example
EXAMPLESwapi Getperson Example
EXAMPLESwapi Getplanet Example
EXAMPLESwapi Getspecies Example
EXAMPLESwapi Getstarship Example
EXAMPLESwapi Getvehicle Example
EXAMPLESwapi Listfilms Example
EXAMPLESwapi Listpeople Example
EXAMPLEScroll for all 8
Security Posture 1
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Documentation 1
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 2
Pagination, idempotency, versioning, errors, and events
Build 10
SDKs, sample code, and the tooling you integrate with
Scroll for all 10
Access & Security 1
Authentication, authorization, and security posture
Operate 1
Status, limits, changes, and where to get help
Commercial 2
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 1
Properties that don't map to a standard resource type