SWAPI Star Wars Scraper
Pricing
from $6.00 / 1,000 result items
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 hours ago
Last modified
Categories
Share

๐ช 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 pagination | Build classroom datasets for data-analysis homework |
| Indie devs prototyping fan apps and bots | Seed a Star Wars Trivia API, Discord bot, or quiz app |
| AI/ML engineers building demo corpora | Fine-tune small models or RAG demos on a famous public dataset |
| Data analysts and visualization tinkerers | Produce timelines, heatmaps, and character network graphs |
| Workshop organizers and tutorial authors | Ship a reproducible example dataset alongside your blog post |
| Researchers on pop-culture and narrative data | Quantitative 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
- ๐ Sign up. Create a free Apify account at console.apify.com/sign-up. No credit card required for the free tier.
- ๐ Open the Actor. Visit the SWAPI Star Wars Scraper on Apify Store and click Try for free.
- ๐ช Pick categories. Tick people, planets, starships, vehicles, species, or films. Pick one for a focused pull or all six for a full snapshot.
- โถ๏ธ Run. Hit Start. Most runs finish in under a minute even with
resolveReferencesenabled. - ๐ฅ 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.
๐ Recommended Actors
- ๐ Semantic Scholar Scraper - export academic-paper records from a free, open API the same way.
- ๐ USAspending Scraper - another canonical public dataset with clean, well-documented fields.
- ๐ Y Combinator Companies Scraper - structured catalog data in flat, joinable records.
- ๐ SEC Form D Scraper - free public filings with reference-style schema.
- ๐ Broken Link Checker - utility Actor handy for validating links in any SWAPI-driven app.
๐ก 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.