Traveloapi
  • Introduction of Traveloapi
  • Contact Us
  • Terms & Condition
  • Faq
  • BBPS API
    • Bharat Bill Payments System (BBPS)
    • Provider Lists
    • Fetch Bill Details
    • Transaction
    • Get Transaction Status
  • MONEY TRANSFER API
    • Money Transfer API (IMPS & NEFT)
    • Get Bank Name & Bankcode
    • Get Customer
    • Add/Create Customer
    • Verify /Validate Customer
    • Fetch Auto Account Holder Name
    • Add Recipient/Create Beneficiary
    • Resend Otp
    • Recipient / Beneficiary Verification
    • Get Beneficiary Detail
    • Delete Beneficiary
    • Delete Beneficiary Confirm By Otp
    • Is Bank Down or Perfect?
    • Transaction / Send Money
    • Check Transaction Status
  • FLIGHT API
    • Introduction Flight Booking Api
    • Flight Search
    • Flight Reprice
    • Flight Book
  • HOTEL API
    • Introduction Hotel Booking API
    • Get All Hotel City Name
    • Hotel Search
    • Hotel Details
    • Hotel Recheck Price
    • Book Hotel
    • Hotel Cancel
    • Cancellation Charges
  • BUS API
    • Introduction: Bus Booking Api
    • Bus citylist
    • Bus Availablity
    • Bus Seat Layout
    • Bus Block Ticket
    • Bus Seat Booking
    • Get Booked Ticket
    • Cancel Ticket Confirmation
  • CAR API
    • Introduction Car Booking Api
    • Car Search Api
    • Car Booking Request
    • Car Book Confirm
    • Car Booking Cancel
  • RECHARGE API
    • Introduction
    • Check Your Current Balance
    • Get All Operators/Providers
    • Get Mobile Auto Operator Fetch
    • Mobile Premium Tariff Plan
    • Mobile Tariff With Auto Update
    • Bill Name & Amount Fetch API
    • DTH AUTOSELECT OPERATOR API
    • DTH MONTHLY PLAN API
    • Prepaid Recharge & Mobile Postpaid Bill
    • DTH Recharge & Datacard Recharge
  • DIGITAL GOLD API
    • DIGITAL GOLD API
    • Digital Gold Live buyPrice
    • Digital Gold Live Sell Price
    • New Customer Registration
    • Customer Login
    • Customer Login Verify
    • Buy Digital Gold
  • GIFTCARD | BRAND VOUCHER API
    • Introduction
    • Get Gift Card Lists
    • Gift Card Details
    • Gift Card Buy / Purchase
    • Check Transaction Status
  • Commission Structure
    • Flight Booking Commission
    • Recharge Commission
    • Electricity Bill Pay Commission
    • Gas
    • BROADBAND
    • DTH
    • LANDLINE
    • INSURANCE
    • WATER
    • Giftcard | Brand Voucher Commission
  • PAN CARD API
    • Untitled
    • Untitled
    • Untitled
  • ADVENTURE API
    • Untitled
  • HOMESTAYS API
    • Untitled
  • HOLIDAYS API
    • Untitled
    • Untitled
    • Untitled
  • BUSINESS PARTNER
    • White Label Solution
    • Untitled
Powered by GitBook
On this page
  • Hotel Search Request & Response
  • Request Example :

Was this helpful?

  1. HOTEL API

Hotel Search

Hotel Search Request & Response

POST https://traveloapi.com/yourapi/hotelapi/hotel_search

Path Parameters

Name
Type
Description

gatkey

string

gatkey (provided by traveloapi)

City

string

This value represents source city name.

CityName

string

City name to search for hotel.

CheckInDate

string

It represents Check in date. This value should be entered as string not less than and more than 10 characters in date format 'yyyy-MM-dd'.

CheckOutDate

string

It represents the Check-out date and should be entered as string not less than and more than 10 characters in date format 'yyyy-MM-dd'. It cannot be greater than CheckInDate.

country

string

Two letter ISO country code.

rooms

string

It represents the information about the no. of rooms, room characteristic and information about the customer.

Room

string

It represents contains the information about the no. of rooms, room characteristic, and information of persons.

NumberOfAdults

string

It represents the value of total number of adults. Domain for this field contains values from 1-4.

Child

string

Total number of children. Domain for this field contains values from 1-4.

NumberOfChild

string

It represents the value of total number of children

childAge

string

It represents the age of the children. This is optional, but recommended if this parameter is passed, child's age is taken as 11 by default.

Count

string

It represents the value of number of rooms.

currency

string

It represents the currency code for different countries.

Nights

string

It represents the value of total number of nights.

engine

string

{
    "name": "Cake's name",
    "recipe": "Cake's recipe name",
    "cake": "Binary cake"
}
{
    "message": "Invalid Request",
    "status": "error",
    
}

Request Example :

{
  "City": "Agra",
  "CityName": "Agra , India",
  "CheckInDate": "2018-10-29",
  "CheckOutDate": "2018-10-30",
  "Nights": "1",
  "isFareRecheck": false,
  "rooms": {
    "Count": "1",
    "Room": [
      {
        "NumberOfAdults": "2",
        "Child": {
          "NumberOfChild": "0"
        }
      }
    ]
  }
}
PreviousGet All Hotel City NameNextHotel Details

Last updated 6 years ago

Was this helpful?