💻Hotel API - Search by hotel ID
This API can help you get more than 15 cheapest vendors per hotel. In this API you have to pass the hotel ID. We have our own hotel IDs which you have to map during integration.
The API endpoint for this API is: https://api.makcorps.com/hotelsearch
Guide
This API does not require a JWT token because you need your own personal API key to access this API. You can contact us if you need API keys to this API.
Here is the list of default parameters you have to use with this API:
hotel_name required
Name of the hotel. API will still work even if the name is not perfect.
hotel_id required
This is the unique hotel ID provided by our system.
num_of_adults required
It is the number of adults.
num_of_rooms required
It is the number of rooms.
check_in_date required
It is the check-in date. Format - YYYY-MM-DD
check_out_date required
It is the check-out date. Format - YYYY-MM-DD
Response
The sample response of the API will look somewhat like this.
Understand the Response
vendor
Name of the vendor
price
Price offered by the vendor
tax
Tax one has to pay while booking this hotel
This one single API call will be counted as 1 API request.