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 reviews for is not configured with the hotel, please send the request using POST /sourcemaprequest endpoint. We will make efforts to add the hotel to our database within 24 to 48 business hours.
POST/hotelinfo

Mandatory Fields

  • hotelCode or hotelCodes

Optional Fields

  • body

Parameter Details

NameInTypeRequiredDescription
bodybodyhotelinfoOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKSuccesshotelinforesp
400Bad RequestBad RequestNone
401UnauthorizedAuthorization FailedNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X POST /hotelinfo \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Body parameter

{
  "hotelCode": 2005,
  "hotelCodes": [
    0
  ]
}

Example responses

200 Response
{
  "hotelCode": 0,
  "hotelName": "string",
  "address": "string",
  "city": "string",
  "state": "string",
  "country": "string",
  "starRating": "string",
  "zip": "string",
  "lat": 0,
  "long": 0,
  "sources": {
    "websiteCode": 0,
    "websiteName": "string",
    "url": "string"
  }
}

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.