Star Wars Data Scraper (SWAPI) avatar

Star Wars Data Scraper (SWAPI)

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Star Wars Data Scraper (SWAPI)

Star Wars Data Scraper (SWAPI)

$0.5/1K πŸ”₯ Fast Star Wars scraper (SWAPI)! Characters, planets, films, starships & more. No key. JSON, CSV, Excel or API in seconds. Pick a resource & pull the full galaxy for apps, datasets & demos ⚑

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Star Wars Data Scraper (SWAPI) 🌌

Scrape the entire Star Wars universe as clean, structured JSON β€” characters, planets, films, starships, vehicles and species β€” with a single click. No API key, no login, no proxy required. Datacenter-friendly and fast.

This actor pulls from the maintained static SWAPI mirror, which returns the full array for every resource, so you always get the complete, de-duplicated dataset.

What you get

Pick a resource and the actor emits one clean, typed record per entity, with a type, a name, a canonical url, scraped_at, and the important fields for that resource (plus handy *_count roll-ups of related entities).

ResourceItemsExample fields
people82height, mass, birth_year, gender, homeworld, films_count
planets60climate, terrain, population, diameter, gravity
films6episode_id, director, producer, release_date, characters_count
starships36model, manufacturer, cost_in_credits, crew, starship_class
vehicles39model, manufacturer, cost_in_credits, crew, vehicle_class
species37classification, designation, language, average_height

Input

FieldTypeDescription
modeselectScraping mode. resource emits all items of one resource.
resourceselectpeople, planets, films, starships, vehicles, species.
maxItemsintegerCap on items pushed (1–1000, default 100).

Example input

{
"mode": "resource",
"resource": "people",
"maxItems": 100
}

Example output (people)

{
"type": "people",
"name": "Luke Skywalker",
"height": 172,
"mass": 77,
"birth_year": "19BBY",
"gender": "male",
"homeworld": "https://swapi.info/api/planets/1",
"films_count": 4,
"url": "https://swapi.info/api/people/1",
"scraped_at": "2026-07-18T08:00:00+00:00"
}

Pricing

Runs are tiny and cheap β€” the whole Star Wars dataset fits in one HTTP request per resource. Expect roughly ~$0.5 per 1,000 items on the Apify platform, so a full people/planets/films pull typically costs a fraction of a cent.

Use cases

  • Fan apps & bots β€” power a Star Wars trivia bot, Discord bot or wiki.
  • Datasets β€” ready-made, clean CSV/JSON for analysis or ML demos.
  • Demos & prototypes β€” a reliable, free-shaped API surface for testing.
  • Education β€” teach data pipelines, JSON, and APIs with familiar data.

Why this actor (comparison)

  • Full arrays, not paginated stubs β€” unlike the deprecated swapi.dev, the static mirror returns every item at once, so you never miss records.
  • Typed & cleaned β€” numeric fields are parsed to numbers and unknown/n/a placeholders become null, so downstream code stays simple.
  • No key, no proxy β€” works on the cheapest datacenter runs.
  • Fail-loudly β€” the run errors if zero items come back, so silent failures never sneak into your dataset.

Keywords

star wars, swapi, star wars api, characters, planets, films, starships, vehicles, species, dataset, json api, fan app, sci-fi data, no-key api.