Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC
SWAPI - Star Wars API website screenshot

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.

agent ready

Real signal across most facets with visible, nameable gaps — the contract exists but is thin, or the portal is good while governance and commercial terms are absent.

Kin Score

API Evangelist profiles SWAPI - Star Wars API the way a machine reads it — 36 machine-readable artifacts across 7 APIs, pulled from the provider's own public surface and indexed so a developer, an analyst, or an AI agent can evaluate it against every other provider on the network.

Every provider in the network is reduced to the same set of machine-readable artifacts — OpenAPI contracts, event specifications, GraphQL schemas, runnable collections, pricing and rate-limit signals, security posture, OAuth scopes, and the agent surfaces (MCP servers and skills) that let software drive the API on its own. We profile them because the interface is the part of a company you can actually inspect: it is a truer signal of what a provider does than any marketing page. From those artifacts we compute the Kin Score — SWAPI - Star Wars API scores 45.9/100 (developing), with a separate agent-readiness read of 45/100 (agent ready). The full breakdown is below, followed by every artifact we hold — each card links through to its machine-readable definition on apis.io.

Kin Score

This is the API Evangelist rating — a single, repeatable read computed from the artifacts on this page. Green fill is points earned; the red track is points possible, so every bar shows earned-versus-possible at a glance.

Kin Score Kin Score How this is scored →
scored 2026-07-27 · rubric v0.5
Composite quality — 45.9/100 · developing
Contract Quality 16.4 / 25
Developer Ergonomics 3.0 / 20
Commercial Clarity 4.2 / 20
Operational Transparency 3.4 / 13
Governance 8.8 / 12
Discoverability 10.0 / 10
Agent readiness — 45/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 15 / 15
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3

How we profile SWAPI - Star Wars API

Each block below is one kind of artifact we hold for SWAPI - Star Wars API. For each we say what it is and why it earns a place in the profile, then list every one we've indexed — capped at two rows, scroll within the panel for the rest.

APIs 7

Each API is captured as its own OpenAPI definition — every operation, parameter, and response. This is the single most useful machine-readable description of what an API does, and it's what lets us score, lint, mock, and generate against it without asking the provider for anything.

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 within the panel for all 7 ·

Open Collections 1

Open, tool-agnostic collections carry the same runnable value as Postman without locking you to one client — the portable, forkable form of the same exercise.

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

SWAPI - Star Wars API

OPEN COLLECTION

GraphQL 1

Where a provider ships GraphQL, the schema is the contract. We profile it alongside the REST surface so the whole interface is legible in one place.

GraphQL schemas published by this provider.

Pricing Plans 1

Pricing is part of the interface. Machine-readable plans tell you what a tier costs and includes before you commit — one of the six things the Kin Score reads for commercial clarity.

Published pricing tiers and plan structures.

Swapi Plans Pricing

1 plans

PLANS

Rate Limits 1

Rate limits are the difference between a demo that works and a production integration that doesn't fall over. Publishing them is an operational-transparency signal — and a hard requirement for any agent that plans its own throughput.

Documented rate limits and quota policies.

Swapi Rate Limits

1 limits

RATE LIMITS

Semantic Vocabularies 1

JSON-LD contexts give the data shared meaning across APIs. We profile them because semantics are what let a machine reconcile 'customer' here with 'customer' somewhere else.

JSON-LD contexts and semantic vocabularies used across these APIs.

Swapi Context

6 classes · 61 properties

JSON-LD

Spectral Rules 2

Governance rulesets we run against this provider's specs — the automated checks behind parts of the score. Profiling them makes the quality bar explicit and re-runnable, not a matter of opinion.

SWAPI - Star Wars API API Rules

5 rules · 4 warnings

SPECTRAL

SWAPI - Star Wars API API Rules

39 rules · 10 errors · 24 warnings

SPECTRAL

JSON Schema 6

Standalone JSON Schema definitions describe the data models behind the API. We profile them so the shapes are validatable on their own — useful long after a single request is forgotten.

Standalone JSON Schema definitions for this provider's data models.

SWAPI Film

14 properties

JSON SCHEMA

SWAPI Person

16 properties

JSON SCHEMA

SWAPI Planet

14 properties

JSON SCHEMA

SWAPI Species

15 properties

JSON SCHEMA

SWAPI Starship

18 properties

JSON SCHEMA

SWAPI Vehicle

16 properties

JSON SCHEMA

JSON Structure 6

JSON Structure captures the data shapes in a form built for tooling — a complement to JSON Schema that keeps the model machine-legible.

JSON Structure definitions describing this provider's data shapes.

Swapi Film Structure

0 properties

JSON STRUCTURE

Swapi Person Structure

0 properties

JSON STRUCTURE

Swapi Planet Structure

0 properties

JSON STRUCTURE

Swapi Species Structure

0 properties

JSON STRUCTURE

Swapi Starship Structure

0 properties

JSON STRUCTURE

Swapi Vehicle Structure

0 properties

JSON STRUCTURE

Examples 8

Real request and response payloads are what turn a spec from abstract into obvious — and they're one of the twelve things an agent needs to call an API correctly on the first try.

Example request and response payloads for these APIs.

Swapi Getfilm Example

5 fields

EXAMPLE

Swapi Getperson Example

5 fields

EXAMPLE

Swapi Getplanet Example

5 fields

EXAMPLE

Swapi Getspecies Example

5 fields

EXAMPLE

Swapi Getstarship Example

5 fields

EXAMPLE

Swapi Getvehicle Example

5 fields

EXAMPLE

Swapi Listfilms Example

5 fields

EXAMPLE

Swapi Listpeople Example

5 fields

EXAMPLE

Scroll within the panel for all 8 ·

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals — the evidence that a provider takes security seriously enough to document it. We profile it because you can't govern what you can't see.

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Swapi Domain Security

TLSv1.3 · HSTS

SECURITY

Agentic Access 1

An x-agentic-access contract marks which operations are safe for an agent to run on its own and which need a human in the loop. It is the difference between an API an agent can use and one it can use safely.

Recommended x-agentic-access execution contracts for AI agents.

Swapi Agentic Access

12 operations

12 operations · 0 acting

AGENTIC

Resources

Every other property we hold for SWAPI - Star Wars API — documentation, portals, status pages, policies, and corporate surface — grouped by the job it does, following the integrator's arc from getting started to running in production.

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

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

← All providers · Data indexed from github.com/api-evangelist/swapi · machine-readable index on apis.io