Sign Up

Log In

Star Wars APIs

May the Force be with you.
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
Star Wars APIs

Check out these fun Star Wars APIs to gain access to various Star Wars mythos and awesome Star Wars language translations. Star Wars API, aka SWAPI, allows you to access data around all the films, people, planets, species, starships, vehicles, and much more. Learn how to speak Gungan, Sith, and even like Yoda with the Star Wars Translation APIs. Sign up today for free on RapidAPI to explore a galaxy far far away.

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.("https://")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard