RapidAPI logo

Sign Up

Log In

Top Hotel APIs

List of Hotel Bookings and Hotel-related APIs.
Looking Out for The Best Travel API? Here’s Comprehensive GuideRapidAPI blog
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
Top Hotel APIs

Best Hotel APIs for Developers

Check out this collection of hotel-related APIs.

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", "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