RapidAPI logo

Sign Up

Log In

MakCorps - Hotel Price Comparison

FREEMIUM
By manthankool
Updated 3 months ago
6.9/10
Popularity Score
319ms
Latency
5%
Success Rate

MakCorps - Hotel Price Comparison API Documentation

This API lets you compare hotel room prices from more than 200 websites like agoda.com, booking.com , hotels.com,amoma.com,etc. Response will consist of top 3 vendors along with the best vendor. Address , reviews, ratings , features, etc are the part of JSON response. This API is simple to implement so you can keep smiling. Our database is regularly updated to reflect new changes in Hotel prices and availability. Our API quickly responds to your queries so your app doesn't lags. Using our API, you can just focus on your user experience. We take care of the backend.

View API Details
GETking
GETfree
POSTauth
GETking

This endpoint allows user to get hotel room prices from more than 200 websites like agoda.com,booking.com,hotels.com,etc. And compares them. Hotel prices are based on the check-in and check-out date.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationSTRING
OPTIONALJWT token is required
Required Parameters
locationSTRING
REQUIRED
check-in-dateSTRING
REQUIRED
check-out-dateSTRING
REQUIRED
Request Snippet
unirest.get("https://manthankool-makcorps-hotel-price-comparison-v1.p.rapidapi.com/king/v2/{jakarta}/{2018-05-25}/{2018-05-28}")
.header("X-RapidAPI-Host", "manthankool-makcorps-hotel-price-comparison-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "JWT {{jwt_token}}")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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.get("https://manthankool-makcorps-hotel-price-comparison-v1.p.rapidapi.com/king/v2/{jakarta}/{2018-05-25}/{2018-05-28}")
.header("X-RapidAPI-Host", "manthankool-makcorps-hotel-price-comparison-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "JWT {{jwt_token}}")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication