> ## Documentation Index
> Fetch the complete documentation index at: https://developer.tripedge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get hotel details



## OpenAPI

````yaml get /hotel/{sessionId}/{hotelId}
openapi: 3.0.0
info:
  title: Hotel Booking API
  version: 1.0.0
servers:
  - url: /api
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /hotel/{sessionId}/{hotelId}:
    get:
      summary: Get hotel details
      operationId: getHotelDetails
      parameters:
        - in: path
          name: sessionId
          schema:
            type: string
            format: uuid
          required: true
        - in: path
          name: hotelId
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Hotel details
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the request was successful
                  message:
                    type: string
                    nullable: true
                    description: Response message, null if successful
                  data:
                    type: object
                    properties:
                      hotel:
                        type: object
                        properties:
                          id:
                            type: number
                          name:
                            type: string
                          stars:
                            type: number
                            minimum: 1
                            maximum: 5
                          coordinates:
                            type: array
                            items:
                              type: number
                            minItems: 2
                            maxItems: 2
                          address:
                            type: object
                            properties:
                              address:
                                type: string
                              city:
                                type: string
                              country:
                                type: string
                              countryCode:
                                type: string
                          rating:
                            type: number
                            minimum: 0
                            maximum: 5
                          reviews:
                            type: number
                            minimum: 0
                          pricePerNight:
                            type: string
                          priceChargeable:
                            type: string
                          pricePerRoom:
                            type: string
                          pricePerRoomPerNight:
                            type: string
                          priceBeforeFees:
                            type: string
                          priceFees:
                            type: string
                          priceDueAtHotel:
                            type: string
                          priceInclusive:
                            type: string
                          amenities:
                            type: array
                            items:
                              type: string
                          location:
                            type: string
                          images:
                            type: array
                            items:
                              type: string
                              format: uri
                          exclusive:
                            type: boolean
                          type:
                            type: string
                        required:
                          - id
                          - name
                          - stars
                          - address
                          - rating
                          - reviews
                          - pricePerNight
                          - priceChargeable
                          - pricePerRoom
                          - pricePerRoomPerNight
                          - priceBeforeFees
                          - priceFees
                          - priceDueAtHotel
                          - priceInclusive
                          - amenities
                          - location
                          - images
                          - exclusive
                          - type
                      rates:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            roomType:
                              type: string
                            board:
                              type: string
                            pricePerNight:
                              type: string
                            pricePerRoom:
                              type: string
                            pricePerRoomPerNight:
                              type: string
                            priceBeforeFees:
                              type: string
                            priceFees:
                              type: string
                            priceChargeable:
                              type: string
                            priceDueAtHotel:
                              type: string
                            priceInclusive:
                              type: string
                            currency:
                              type: string
                            cancellationPolicy:
                              type: string
                            cancellationPolicyDate:
                              type: string
                          required:
                            - id
                            - roomType
                            - board
                            - pricePerNight
                            - pricePerRoom
                            - pricePerRoomPerNight
                            - priceBeforeFees
                            - priceFees
                            - priceChargeable
                            - priceDueAtHotel
                            - priceInclusive
                            - currency
                            - cancellationPolicy
                            - cancellationPolicyDate
                      metadata:
                        type: object
                        properties:
                          nights:
                            type: number
                        required:
                          - nights
                    required:
                      - hotel
                      - rates
                      - metadata
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key for authentication

````