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

# hotel-details

> Fetch rich metadata (gallery, facilities, policies, per-room details) for a single hotel

Pull the full marketing and operational profile of a single property after a search result catches the user's attention. Useful for questions like "what amenities does this hotel have", "is there a pool on site", or "what is the cancellation policy on the deluxe room". Returns the gallery, facilities, room metadata, and policies in one payload.


## OpenAPI

````yaml api-reference/public-api.yaml GET /v1/hotel_details/{hotel_id}
openapi: 3.0.0
info:
  title: Jinko Public API
  version: 0.1.0
  description: >-
    Curated public REST surface for Jinko. Authenticated with jnk_ API keys. See
    https://docs.gojinko.com for guides.
servers: []
security: []
paths:
  /v1/hotel_details/{hotel_id}:
    get:
      tags:
        - Hotels
      summary: >-
        Fetch rich metadata (gallery, facilities, policies, per-room details)
        for a single hotel
      parameters:
        - schema:
            type: string
          required: true
          name: hotel_id
          in: path
        - schema:
            type: string
          required: false
          name: checkin
          in: query
        - schema:
            type: string
          required: false
          name: checkout
          in: query
      responses:
        '200':
          description: Hotel detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HotelDetailsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: Malformed JSON in request body.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: AUTH_REQUIRED
                  message: Invalid or expired API key.
                  doc_url: https://docs.gojinko.com/api-reference/authentication
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: >-
                    origins: origins is required; trip_type: trip_type is
                    required
                  doc_url: https://docs.gojinko.com/concepts/errors
        '429':
          description: Rate limit or quota exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: RATE_LIMITED
                  message: Rate limit or quota exceeded.
                  doc_url: https://docs.gojinko.com/concepts/errors
        '502':
          description: Upstream service error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: UPSTREAM_ERROR
                  message: Upstream travel provider returned an error. Please retry.
                  doc_url: https://docs.gojinko.com/concepts/errors
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    HotelDetailsResponse:
      type: object
      properties:
        hotel:
          type: object
          properties:
            id:
              type: string
              example: htl_8f21a9c0
            name:
              type: string
              example: Hôtel Le Marais
            description:
              type: string
              example: A boutique 4-star hotel in the heart of the Marais district.
            star_rating:
              type: number
              example: 4
            address:
              type: string
              example: 12 Rue de Rivoli
            city:
              type: string
              example: Paris
            country_code:
              type: string
              example: FR
            coordinates:
              type: object
              properties:
                latitude:
                  type: number
                longitude:
                  type: number
              example:
                latitude: 48.8566
                longitude: 2.3522
            images:
              type: array
              items:
                type: string
              example:
                - https://images.gojinko.com/hotels/htl_8f21a9c0/1.jpg
            facilities:
              type: array
              items:
                type: string
              example:
                - Free WiFi
                - Air conditioning
                - 24-hour front desk
            policies:
              type: array
              items:
                nullable: true
            checkin_time:
              type: string
              example: '15:00'
            checkout_time:
              type: string
              example: '11:00'
        rooms:
          type: array
          items:
            nullable: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````