Star Wars API
The Star Wars REST API (SWAPI / swapi.info) is the world's first quantified and programmatically-accessible data source for all the data from the Star Wars canon universe. It provides structured JSON access to films, characters (people), starships, vehicles, planets, and species from the Star Wars universe via a simple HTTP GET API. The API requires no authentication, has no rate limits, and is completely free and open source. Originally created by Paul Hallett as swapi.co and later swapi.dev, the current maintained iteration at swapi.info was rebuilt by Sivaram P as a CDN-powered, file-based API serving over one million daily requests with sub-50ms global response times via Vercel and Cloudflare.
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, Science Fiction, Entertainment, Film, and Characters.
The Star Wars API catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
Star Wars API’s developer surface includes documentation and 9 more developer resources.
Kin Score
APIs 6
Individual APIs this provider publishes, each with its own machine-readable definition.
Star Wars API Films API
Star Wars films
Star Wars API People API
People and characters in the Star Wars universe
Star Wars API Planets API
Planets in the Star Wars universe
Star Wars API Species API
Species in the Star Wars universe
Star Wars API Starships API
Starships in the Star Wars universe
Star Wars API Vehicles API
Vehicles in the Star Wars universe
Open Collections 7
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
API Collection
OPEN COLLECTIONStar Wars REST API (SWAPI) Films API
OPEN COLLECTIONStar Wars REST API (SWAPI) Films People API
OPEN COLLECTIONStar Wars REST API (SWAPI) Films Planets API
OPEN COLLECTIONStar Wars REST API (SWAPI) Films Species API
OPEN COLLECTIONStar Wars REST API (SWAPI) Films Starships API
OPEN COLLECTIONStar Wars REST API (SWAPI) Films Vehicles API
OPEN COLLECTIONScroll for all 7
Pricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
Star Wars Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Star Wars Finops
FINOPSSemantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
Star Wars Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
Star Wars API API Rules
SPECTRALJSON Schema 6
Standalone JSON Schema definitions for this provider's data models.
Film
JSON SCHEMAPerson
JSON SCHEMAPlanet
JSON SCHEMASpecies
JSON SCHEMAStarship
JSON SCHEMAVehicle
JSON SCHEMAExamples 6
Example request and response payloads for these APIs.
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
Build 1
SDKs, sample code, and the tooling you integrate with
Access & Security 1
Authentication, authorization, and security posture
Operate 2
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
Source (apis.yml)
Work with this as data
Every provider 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 providers
9 MCP tools reach this
find_providersBrowse and filter every provider in the catalog.get_provider_artifactsEvery artifact this provider publishes, grouped by type.get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.get_provider_toolsEvery MCP tool they ship, with the operation each wraps.get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.get_provider_ratingPRO — composite, band, trend and facet scores.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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/providers/star-wars"
curl "https://apis.io/api/v1/providers?limit=25"
curl "https://apis.io/api/v1/providers/star-wars/operations?limit=25"
curl "https://apis.io/api/v1/providers/star-wars/evidence"
Discovery needs no key. Ratings and market analysis are Pro.