Building Blocks to Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
Discover APIs
Test from the browser
Connect using code snippets
Manage from one dashboard

Popular APIs

View all

Recommended APIs

View all

Twilio and other SMS APIs

View all

Top Image Processing and Facial Recognition APIs

View all

Essential Ecommerce APIs

View all

Food-Related APIs

View all

Machine Learning API

View all

Explore API Collections

Install SDK for NodeJS


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

.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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