POST/hotelinfo

Search by Hotel Code

This API call utilizes the hotelcode obtained from the POST/hotels endpoint to retrieve a list of sources available for a specific hotel. If a source you wish to retrieve rates for is not configured with the hotel, please send the request using POST /sourcemaprequest endpoint. We will make efforts to add the source to our database within 24 to 72 business hours.

POST/hotelinfo

Mandatory Fields

  • hotelcode or hotelcodes

Optional Fields

  • body

Parameter Details

NameInTypeRequiredDescription
bodybodyhotelinfoOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKSuccessschemahotelinforesp
400Bad RequestBad Request
401UnauthorizedAuthentication Failed or Account validity expired
500Internal Server ErrorInternal server error

Example Request

# You can also use wget
curl -X POST /hotelinfo \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Body parameter

{
  "hotelcode": 2005,
  "hotelcodes": [0]
}

Example responses

200 Response
{
  "hotelcode": 0,
  "hotelname": "string",
  "address": "string",
  "city": "string",
  "state": "string",
  "zip": "string",
  "country": "string",
  "starrating": "string",
  "lat": 0,
  "long": 0,
  "sources": {
    "websitecode": 0,
    "websitename": "string",
    "url": "string",
    "channeltype": "string",
    "snapshotavailable": true
  }
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.