Zumata

FREE
By zumata
Updated 5 months ago
Travel
1.9/10
Popularity Score
358ms
Latency
-
Success Rate

Zumata API Documentation

ZUMATA is a new approach in B2B travel API's. In a few simple steps, you can be getting real-time travel pricing, availability and booking worldwide via simple API calls.

View API Details
Hotels Minimal
GET/hotels_minimal
Payment Gateway
POST/pa_enroll
POST/pa_enroll/acs/term_url
Cancellation
POST/cancel
Booking
POST/book
POST/booking
PUT/book/:id/cancel
POST/booking/cancellation_policy
Hotels Dynamic
GET/hotels_dynamic
Hotel Search
GET/hotels
Healthcheck
GET/healthcheck
GET/hotels_minimal
Authorization:
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
api_keyQUERY
REQUIREDdescription
Optional Parameters
checkOutDateTimeSTRING
OPTIONAL
langSTRING
OPTIONAL
destinationIdSTRING
OPTIONAL
checkInDateTimeSTRING
OPTIONAL
stateOrProvinceCodeSTRING
OPTIONAL
countryCodeSTRING
OPTIONAL
productionSTRING
OPTIONAL
hotelIdSTRING
OPTIONAL
sessionIdSTRING
OPTIONAL
citySTRING
OPTIONAL
roomCountSTRING
OPTIONAL
adultCountSTRING
OPTIONAL
gzipSTRING
OPTIONAL
Code Snippet
unirest.get("https://community-zumata.p.rapidapi.com/hotels_minimal")
.header("X-RapidAPI-Host", "community-zumata.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://community-zumata.p.rapidapi.com/hotels_minimal
Request Method: GET
Response Headers
Response Body

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://community-zumata.p.rapidapi.com/hotels_minimal")
.header("X-RapidAPI-Host", "community-zumata.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication