SWAPI Scraper: Star Wars Characters, Planets & Ships
Pricing
Pay per usage
Go to Apify Store

SWAPI Scraper: Star Wars Characters, Planets & Ships
Pull Star Wars characters, planets, starships and species via the public SWAPI mirror. No login, no proxy, no browser.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Naimur Hasan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
SWAPI Scraper
Pulls Star Wars characters, planets, starships, vehicles, species and films through the public SWAPI mirror. No login, no proxy, no browser.
Input
| Field | Type | Notes |
|---|---|---|
resource | string | people | planets | starships | vehicles | species | films. Default people. |
nameContains | string | Case-insensitive substring filter. Omit for everything. |
maxItems | integer | Cap on records returned. Default 50. |
Output
One row per record, with the fields relevant to its resource: resource,
name, filmCount, heightCm, massKg, birthYear, gender, climate,
terrain, population, model, manufacturer, costInCredits,
episodeId, releaseDate, url.
Notes
- Films are titled, everything else is named.
recordNamefalls back fromnametotitle, which is what lets one mapper and one filter serve all six resources. - Numbers are strings upstream and come in three unhelpful flavours: plain
(
"172"), comma-grouped ("1,000,000") and the literal"unknown". All three are normalised, with"unknown"becomingnullrather thanNaN. - This uses swapi.info rather than the original swapi.dev, which has been unreliable. It serves whole collections in one response, so filtering and capping happen client-side.