Star Wars API website screenshot

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, Films, 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.

42.6/100 developing ▬ flat Agent 22/100 agent aware Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreeOpen⚡ Free to try
6 APIs
Star WarsScience FictionEntertainmentFilmsCharactersPlanetsStarshipsVehiclesSpeciesOpen Source

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 42.6/100 · developing
Contract Quality 16.7 / 25
Developer Ergonomics 3.0 / 20
Commercial Clarity 5.8 / 20
Operational Transparency 2.7 / 13
Governance 7.0 / 12
Discoverability 7.4 / 10
Agent readiness — 22/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 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
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/star-wars: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

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

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Star Wars Rate Limits

0 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

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

Star Wars Context

6 classes · 56 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Star Wars API API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 6

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

Film

14 properties

JSON SCHEMA

Person

16 properties

JSON SCHEMA

Planet

14 properties

JSON SCHEMA

Species

15 properties

JSON SCHEMA

Starship

18 properties

JSON SCHEMA

Vehicle

16 properties

JSON SCHEMA

Examples 6

Example request and response payloads for these APIs.

Film

14 fields

EXAMPLE

Person

16 fields

EXAMPLE

Planet

14 fields

EXAMPLE

Species

15 fields

EXAMPLE

Starship

18 fields

EXAMPLE

Vehicle

16 fields

EXAMPLE

Security Posture 1

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

Star Wars Domain Security

TLSv1.3 · HSTS · DNSSEC

SECURITY

Agentic Access 1

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

Star Wars Agentic Access

12 operations

12 operations · 0 acting

AGENTIC

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)

apis.yml Raw ↑
aid: star-wars
name: Star Wars API
description: '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.

  '
accessModel:
  pricing: free
  onboarding: open
  trial: false
  try_now: true
  public: true
  label: Free · Open access
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/star-wars.png
url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/apis.yml
created: '2026-06-13'
modified: '2026-06-13'
specificationVersion: '0.19'
tags:
- Star Wars
- Science Fiction
- Entertainment
- Films
- Characters
- Planets
- Starships
- Vehicles
- Species
- Open Source
apis:
- aid: star-wars:star-wars-films-api
  name: Star Wars API Films API
  description: Star Wars films
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - Films
  properties:
  - type: OpenAPI
    url: openapi/star-wars-films-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
- aid: star-wars:star-wars-people-api
  name: Star Wars API People API
  description: People and characters in the Star Wars universe
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - People
  properties:
  - type: OpenAPI
    url: openapi/star-wars-people-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
- aid: star-wars:star-wars-planets-api
  name: Star Wars API Planets API
  description: Planets in the Star Wars universe
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - Planets
  properties:
  - type: OpenAPI
    url: openapi/star-wars-planets-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
- aid: star-wars:star-wars-species-api
  name: Star Wars API Species API
  description: Species in the Star Wars universe
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - Species
  properties:
  - type: OpenAPI
    url: openapi/star-wars-species-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
- aid: star-wars:star-wars-starships-api
  name: Star Wars API Starships API
  description: Starships in the Star Wars universe
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - Starships
  properties:
  - type: OpenAPI
    url: openapi/star-wars-starships-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
- aid: star-wars:star-wars-vehicles-api
  name: Star Wars API Vehicles API
  description: Vehicles in the Star Wars universe
  humanURL: https://swapi.info
  baseURL: https://swapi.info/api
  tags:
  - Vehicles
  properties:
  - type: OpenAPI
    url: openapi/star-wars-vehicles-api-openapi.yml
  - type: Documentation
    url: https://swapi.info/documentation
  - type: Playground
    url: https://swapi.info/playground
  - type: Plans
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
  - type: RateLimits
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
  - type: FinOps
    url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
common:
- type: AgenticAccess
  url: agentic-access/star-wars-agentic-access.yml
- type: DomainSecurity
  url: security/star-wars-domain-security.yml
- type: Website
  url: https://swapi.info
- type: Documentation
  url: https://swapi.info/documentation
- type: GitHubOrg
  url: https://github.com/SivaramPg/swapi.info
- type: StatusPage
  url: https://status.swapi.info
- type: Playground
  url: https://swapi.info/playground
- type: Plans
  url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/plans/star-wars-plans-pricing.yml
- type: RateLimits
  url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/rate-limits/star-wars-rate-limits.yml
- type: FinOps
  url: https://raw.githubusercontent.com/api-evangelist/star-wars/refs/heads/main/finops/star-wars-finops.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com