💻Free Hotel API
This is the free hotel API that anyone can access. Using this Hotel API you will get JSON data with hotel pricing from multiple vendors for any random future date.
This is the free hotel API that anyone can access. Using this Hotel API you will get JSON data with hotel pricing from multiple vendors for any random future date.
API endpoint for this API is: https://api.makcorps.com/free
You can pass the name of any city from any country to this API and our API will respond results according to that.
This API has some limitations which has been discussed at the bottom of this page.
Here is the list of parameters you have to pass to this API:
Parameters | Description |
---|---|
You have to send a GET request to https://api.makcorps.com/auth along with the name of the city and the JWT token you might have received from the JWT Token API.
The sample response of the API will look somewhat like this.
Since this is the free version of our API therefore this API has some limitations.
You will get rates for any random future dates because users will not be able to pass check-in and check-out dates to this API.
You will only get 30 hotels for any city.
You cannot pass pax count like the number of adults or the number of rooms in this API.
If you want to bypass these limitations then you have to gain access to our premium APIs. You can sign up for our premium APIs or if you want to test those APIs before signing up then you can contact us here. Remember we provide access to companies only.
Properties | Description |
---|---|
city
Name of the city
price
Price offered by the vendor
vendor
Name of the vendor
tax
Tax you will be charged at the booking
hotelName
Name of the hotel
hoteId
Id of the hotel in our system