SWAPI Star Wars Scraper avatar

SWAPI Star Wars Scraper

Pricing

from $6.00 / 1,000 result items

Go to Apify Store
SWAPI Star Wars Scraper

SWAPI Star Wars Scraper

Extract Star Wars characters, planets, starships, vehicles, species and films from the SWAPI public API. Flat JSON output with optional reference resolution.

Pricing

from $6.00 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 hours ago

Last modified

Share

ParseForge Banner

๐Ÿช SWAPI Star Wars Scraper

๐Ÿš€ Export the entire Star Wars universe in seconds. Pull every character, planet, starship, vehicle, species, and film from SWAPI as clean JSON, CSV, Excel, or XML. No API key, no rate-limit math, no manual paging.

The SWAPI Star Wars Scraper turns the Star Wars REST API into a one-click dataset export. Pick the categories you want, hit Run, and download a flat, well-named table covering 82 characters, 60 planets, 36 starships, 39 vehicles, 37 species, and the 6 saga films. Every record carries the original SWAPI identifiers, all canonical attributes (height, mass, climate, hyperdrive rating, episode number, opening crawl, the works), and the cross-reference URLs that tie the universe together. You skip building pagination loops, retry logic, and TLS workarounds, and you get the dataset in the format your downstream tool actually consumes.

The dataset is ideal for fan apps, tutorials, conference demos, and AI-assistant training corpora. Every column maps 1:1 to a documented SWAPI field, so anything you build is portable and reproducible. The actor handles the upstream's expired-certificate quirk on your behalf, supports optional URL-to-name resolution so you do not have to chase reference links yourself, and works equally well as a one-shot pull or a scheduled re-snapshot. Whether you are building a Star Wars Trivia API, generating a teaching dataset for a Python workshop, or seeding a vector database for a fandom chatbot, this Actor gives you the canonical answer with a single run.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
Educators teaching REST, JSON, and paginationBuild classroom datasets for data-analysis homework
Indie devs prototyping fan apps and botsSeed a Star Wars Trivia API, Discord bot, or quiz app
AI/ML engineers building demo corporaFine-tune small models or RAG demos on a famous public dataset
Data analysts and visualization tinkerersProduce timelines, heatmaps, and character network graphs
Workshop organizers and tutorial authorsShip a reproducible example dataset alongside your blog post
Researchers on pop-culture and narrative dataQuantitative studies on franchise expansion, character demographics, ship classes

๐Ÿ“‹ What the SWAPI Star Wars Scraper does

  • ๐Ÿช Six categories, one Run. Toggle any combination of people, planets, starships, vehicles, species, and films and the Actor handles per-endpoint pagination for you.
  • ๐Ÿ” Every canonical field. Heights, masses, hyperdrive ratings, orbital periods, opening crawls, episode IDs, residents, pilots, characters - all of it, never trimmed.
  • ๐Ÿ”— Optional reference resolution. Flip a checkbox and every URL reference (homeworld, films, residents, pilots) is enriched with the linked record's name, ready to drop into a UI.
  • ๐Ÿงฑ Stable, flat schema. Records share a common header (category, uid, name, url, summary) so downstream joins, filters, and group-bys work out of the box.
  • ๐Ÿ›ฐ TLS-quirk-proof. Transparently handles the upstream's expired certificate so your runs never break on a TLS error you cannot fix yourself.
  • โฑ Quick exports. Most full-universe pulls finish in under a minute, well below typical timeout budgets in classroom and CI contexts.

Each record is a single, deeply attributed row: a person carries height, mass, hair color, skin color, eye color, birth year, gender, homeworld, and the films, species, vehicles, and starships they appear in. A planet carries rotation period, orbital period, diameter, climate, gravity, terrain, surface water, population, residents, and films. A film carries episode_id, opening crawl, director, producer, release date, and the full cast and ship roster. Every record also has category, uid, summary, scrapedAt, and error columns so you can sort, group, and audit without a second pass.

๐Ÿ’ก Why it matters: SWAPI is the canonical free Star Wars dataset, but the upstream API ships expired TLS, no built-in CSV/Excel export, and per-endpoint pagination. This Actor turns those rough edges into a single Run that ends with a clean spreadsheet, JSON file, or piped API response your app or notebook can consume directly.

๐Ÿ“Š Data fields

Each record includes: category, name, results, scrapedAt, summary, uid, url. These field names come straight from the actor's dataset schema, so what you see here is what lands in your dataset.

๐Ÿš€ How to use

  1. ๐Ÿ†• Sign up. Create a free Apify account at console.apify.com/sign-up. No credit card required for the free tier.
  2. ๐Ÿ›’ Open the Actor. Visit the SWAPI Star Wars Scraper on Apify Store and click Try for free.
  3. ๐Ÿช Pick categories. Tick people, planets, starships, vehicles, species, or films. Pick one for a focused pull or all six for a full snapshot.
  4. โ–ถ๏ธ Run. Hit Start. Most runs finish in under a minute even with resolveReferences enabled.
  5. ๐Ÿ“ฅ Download. Export the dataset as JSON, CSV, Excel, or XML, or call the Apify API to pipe it directly into your downstream system.

โฑ๏ธ Total time: about 2 minutes from sign-up to a downloadable Star Wars dataset on your machine.

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more free, well-documented public-data scrapers.

โš ๏ธ Disclaimer: This Actor is an independent tool, not affiliated with Lucasfilm, Disney, or SWAPI. Only publicly available data is collected. Star Wars and all related names are trademarks of their respective owners.

๐Ÿ†˜ Need Help?

If you hit a bug, have questions about setup, or need a scraper we haven't built yet, open our contact form or write to parseforge@protonmail.com. We also take on paid custom data projects.

For faster answers, join our Discord. It's the best place to get support and suggest new actors.