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 is listed with 7 APIs on the APIs.io network, including Films API, People API, Planets API, and 4 more. Tagged areas include Star Wars, Open Source, Teaching API, Public APIs, 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 22 more developer resources.
Kin Score
Standards implemented 3
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
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 7
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
SWAPI - Star Wars Films API
OPEN COLLECTIONSWAPI - Star Wars Films People API
OPEN COLLECTIONSWAPI - Star Wars Films Planets API
OPEN COLLECTIONSWAPI - Star Wars Films Species API
OPEN COLLECTIONSWAPI - Star Wars Films Starships API
OPEN COLLECTIONSWAPI - Star Wars Films Vehicles API
OPEN COLLECTIONSWAPI - Star Wars API
OPEN COLLECTIONScroll for all 7
SWAPI - Star Wars API pricing
Not yet checked against SWAPI - Star Wars API's own pricing page. Compiled by API Evangelist on 2026-05-29; confirm before you rely on a figure. A free plan or tier is listed.
| Plan | Price |
|---|---|
| Free free | Free |
Plan details, limits and sources →
Rate limits
- Polite-Use Convention (Undocumented): requests per minute
Compiled by API Evangelist, not yet checked against SWAPI - Star Wars API's documentation. Rate-limit details →
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 LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
Semantic 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
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 2
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 3
Status, limits, changes, and where to get help
Commercial 3
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
Source (apis.yml)
SWAPI - Star Wars API — frequently asked questions
Does SWAPI - Star Wars API have an API?
Yes. APIs.io lists 7 APIs from SWAPI - Star Wars API, including SWAPI REST API (swapi.tech), SWAPI - Star Wars API Films API and SWAPI - Star Wars API People API, and 4 more.
Is there an OpenAPI specification for the SWAPI - Star Wars API?
Yes. APIs.io indexes 6 OpenAPI specifications for SWAPI - Star Wars API, each linked for download from this page.
How much does the SWAPI - Star Wars API cost?
APIs.io lists 1 pricing plan for SWAPI - Star Wars API, with each plan's price, limits and inclusions under Pricing on this page.
Is the SWAPI - Star Wars API ready for AI agents?
SWAPI - Star Wars API has a Kin Score of 22.3 out of 100 (emerging) and an Agent Readiness score of 21.2 (agent-aware), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.