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

# Get a hotel search item

> Returns the full detail of one hotel of a hotel search: the hotel record and its room combinations.

Open a hotel of the search results to see what the list only summarizes: the full `hotel` record and the `roomGroups` available for the requested occupancy, each with its rooms and rates. To book it, create a trip with the item's `id` as `searchItemId` and each chosen room's `id` as `roomId`. Amounts are integers in cents: `98700` is R\$ 987,00. The item lives as long as its search (see `ttl`). An error the travel provider reports about the request is returned with its own status, `code` and `message`.


## OpenAPI

````yaml /api-reference/travel.openapi.json get /realms/{realmId}/organizations/{organizationId}/hotel/searches/{searchId}/items/{itemId}
openapi: 3.0.3
info:
  title: Travel
  version: 1.0.0
  description: >-
    Portão 3 travel API. Every endpoint requires a bearer token in the
    Authorization header (Authorization: Bearer <token>) unless its page states
    otherwise; see the Authentication guide. That requirement is not repeated
    per endpoint. Generated by tools/openapi from code (routes + security) and
    the hand-written spec (request/response bodies). Passenger directory, trips
    and the search proxy (air/hotel/bus/vehicle). Every route validates path,
    query and body through a zod Input class (`travel/src/domain/*/input`),
    which documents its parameters and body; responses are the named interfaces
    in `travel/src/domain/*/response.ts`. Confidence tiers: generated:typed=53
    copied:manual=0 unknown=0.
servers:
  - url: https://api.travel.v2.portao3.com.br/
    description: production
  - url: https://api.travel.dev.3pers.com.br/
    description: development
security: []
tags:
  - name: Passengers
  - name: Trips
  - name: Air search
  - name: Hotel search
  - name: Bus search
  - name: Vehicle search
paths:
  /realms/{realmId}/organizations/{organizationId}/hotel/searches/{searchId}/items/{itemId}:
    get:
      tags:
        - Hotel search
      summary: Get a hotel search item
      description: >-
        Returns the full detail of one hotel of a hotel search: the hotel record
        and its room combinations.
      operationId: >-
        getRealmsByRealmIdOrganizationsByOrganizationIdHotelSearchesBySearchIdItemsByItemId
      parameters:
        - name: realmId
          in: path
          required: true
          description: |-
            ID of your realm.

            Format: `UUID`
          schema:
            type: string
            format: uuid
          example: f495ff0c-ab54-4f99-8e92-ca8682e4de9b
        - name: organizationId
          in: path
          required: true
          description: |-
            ID of your organization.

            Format: `UUID`
          schema:
            type: string
            format: uuid
          example: c4bd3f21-dfbd-44e8-8055-68ba15bed410
        - name: searchId
          in: path
          required: true
          description: ID of the search, as returned when it was created.
          schema:
            type: string
            pattern: ^srch_[0-9A-Za-z]{21}$
          example: srch_V1StGXR8Z5jdHi6BmyT2k
        - name: itemId
          in: path
          required: true
          description: >-
            ID of the item to load, as listed in the `items` of the search
            results.
          schema:
            type: string
            pattern: ^srch_item_[0-9A-Za-z]{21}$
          example: srch_item_V1StGXR8Z5jdHi6BmyT2k
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: >-
                      ID of the item. Send it as `searchItemId` when you create
                      a trip.
                    example: srch_item_Zt5Hk2NwQe8Lr3VcXb1Ya
                  searchId:
                    type: string
                    description: ID of the search the item belongs to.
                    example: srch_Qm8Zt3LwXc1Ry7NvB0kHd
                  hotel:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          ID of the hotel; the same property keeps it across
                          searches.
                        example: htl_Pd4Mx9TgUa6Rj1WnKc3Sv
                      name:
                        type: string
                        description: Name of the hotel.
                        example: Hotel Paulista Plaza
                      address:
                        type: object
                        properties:
                          shortAddress:
                            type: string
                            nullable: true
                            description: The address in a single line. `null` when unknown.
                            example: Guarulhos, SP, Brazil
                          adressLines:
                            type: array
                            items:
                              type: string
                              example: Rod. Hélio Smidt, s/n
                            description: >-
                              The address in postal lines. Empty when unknown.
                              The field name is spelled `adressLines`.


                              ---


                              Example: `["Rod. Hélio Smidt, s/n"]`
                          locality:
                            type: string
                            nullable: true
                            description: City. `null` when unknown.
                            example: Guarulhos
                          administrativeArea:
                            type: string
                            nullable: true
                            description: State or province code. `null` when unknown.
                            example: SP
                          administrativeAreaName:
                            type: string
                            nullable: true
                            description: State or province name. `null` when unknown.
                            example: São Paulo
                          postalCode:
                            type: string
                            nullable: true
                            description: Postal code. `null` when unknown.
                            example: 07190-100
                          country:
                            type: string
                            description: Country (ISO 3166-1 alpha-2).
                            example: BR
                          timezone:
                            type: string
                            description: IANA time zone of the place, or `Unknown`.
                            example: America/Sao_Paulo
                          coordinates:
                            description: Position of the place. `null` when unknown.
                            type: object
                            properties:
                              lat:
                                type: number
                                description: Latitude, in decimal degrees.
                                example: -23.4356
                              lng:
                                type: number
                                description: Longitude, in decimal degrees.
                                example: -46.4731
                            required:
                              - lat
                              - lng
                            nullable: true
                          localityId:
                            type: string
                            nullable: true
                            description: >-
                              ID of the locality the bus station belongs to. Bus
                              stations only; `null` when the station is not
                              grouped under a locality.
                        required:
                          - shortAddress
                          - adressLines
                          - locality
                          - administrativeArea
                          - administrativeAreaName
                          - postalCode
                          - country
                          - timezone
                          - coordinates
                        description: Address and position of the hotel.
                      phoneNumbers:
                        type: array
                        items:
                          type: string
                          example: '+551133334444'
                        description: |-
                          Contact phone numbers. Empty when none is registered.

                          ---

                          Example: `["+551133334444"]`
                      emails:
                        type: array
                        items:
                          type: string
                          example: reservas@paulistaplaza.example.com
                        description: |-
                          Contact e-mails. Empty when none is registered.

                          ---

                          Example: `["reservas@paulistaplaza.example.com"]`
                      website:
                        type: string
                        nullable: true
                        description: Website. `null` when none is registered.
                        example: https://example.com/paulista-plaza
                      amenities:
                        type: array
                        items:
                          type: string
                          example: RESTAURANT
                        description: |-
                          Amenities of the hotel, as codes.

                          ---

                          Example: `["RESTAURANT","EXERCISE_GYM"]`
                      description:
                        type: string
                        description: Description of the hotel.
                        example: >-
                          Four-star hotel on Avenida Paulista, close to the
                          subway.
                      chain:
                        type: object
                        properties:
                          brandName:
                            type: string
                            nullable: true
                            description: Brand within the chain. `null` when unknown.
                            example: Aurora Express
                          chainName:
                            type: string
                            nullable: true
                            description: Chain. `null` for an independent hotel.
                            example: Grupo Aurora
                          logo:
                            type: string
                            nullable: true
                            description: >-
                              URL of the chain's logo. `null` when there is
                              none.
                            example: https://example.com/logos/aurora.svg
                        required:
                          - brandName
                          - chainName
                          - logo
                        description: Chain and brand of the hotel.
                      starRating:
                        type: string
                        enum:
                          - '0'
                          - '1'
                          - '2'
                          - '3'
                          - '4'
                          - '5'
                        description: Star rating, `0` to `5`.
                        example: '4'
                      publicRating:
                        type: number
                        description: Public rating score, typically 0 to 10.
                        example: 8.6
                      propertyType:
                        type: string
                        description: >-
                          Kind of property, as a code (`HOTEL`, `RESORT`,
                          `HOSTEL`…).
                        example: HOTEL
                      mainImage:
                        type: object
                        properties:
                          category:
                            type: string
                            description: What the image shows, as a code.
                            example: EXTERIOR_VIEW
                          uri:
                            type: string
                            description: URL of the image.
                            example: >-
                              https://example.com/hotels/paulista-plaza/exterior.jpg
                          blurHash:
                            type: string
                            description: >-
                              BlurHash placeholder for previews. Omitted when
                              unavailable.
                            example: LEHV6nWB2yk8pyo0adR*.7kCMdnj
                          dominantColor:
                            type: string
                            description: Dominant color, as hex. Omitted when unavailable.
                            example: '#8a9fb3'
                        required:
                          - category
                          - uri
                        description: Cover image.
                      images:
                        type: array
                        items:
                          type: object
                          properties:
                            category:
                              type: string
                              description: What the image shows, as a code.
                              example: EXTERIOR_VIEW
                            uri:
                              type: string
                              description: URL of the image.
                              example: >-
                                https://example.com/hotels/paulista-plaza/exterior.jpg
                            blurHash:
                              type: string
                              description: >-
                                BlurHash placeholder for previews. Omitted when
                                unavailable.
                              example: LEHV6nWB2yk8pyo0adR*.7kCMdnj
                            dominantColor:
                              type: string
                              description: >-
                                Dominant color, as hex. Omitted when
                                unavailable.
                              example: '#8a9fb3'
                          required:
                            - category
                            - uri
                          description: An image of a hotel or room.
                        description: More images. Empty when none.
                      checkInTime:
                        type: string
                        nullable: true
                        description: >-
                          Standard check-in time (`HH:mm`). `null` when not
                          informed.
                        example: '14:00'
                      checkOutTime:
                        type: string
                        nullable: true
                        description: >-
                          Standard check-out time (`HH:mm`). `null` when not
                          informed.
                        example: '12:00'
                      rooms:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                              description: Name of the room.
                              example: Standard Double
                            description:
                              type: string
                              description: Description of the room.
                              example: Double room with city view, 28 m².
                            amenities:
                              type: array
                              items:
                                type: string
                                example: AIR_CONDITIONING
                              description: |-
                                Amenities of the room, as codes.

                                ---

                                Example: `["AIR_CONDITIONING","MINIBAR"]`
                            images:
                              type: array
                              items:
                                type: object
                                properties:
                                  category:
                                    type: string
                                    description: What the image shows, as a code.
                                    example: EXTERIOR_VIEW
                                  uri:
                                    type: string
                                    description: URL of the image.
                                    example: >-
                                      https://example.com/hotels/paulista-plaza/exterior.jpg
                                  blurHash:
                                    type: string
                                    description: >-
                                      BlurHash placeholder for previews. Omitted
                                      when unavailable.
                                    example: LEHV6nWB2yk8pyo0adR*.7kCMdnj
                                  dominantColor:
                                    type: string
                                    description: >-
                                      Dominant color, as hex. Omitted when
                                      unavailable.
                                    example: '#8a9fb3'
                                required:
                                  - category
                                  - uri
                                description: An image of a hotel or room.
                              description: Images of the room. Empty when none.
                          required:
                            - name
                            - description
                            - amenities
                            - images
                          description: A room type in the hotel's catalogue.
                        description: The room types the hotel offers.
                      status:
                        type: string
                        enum:
                          - ACTIVE
                          - INACTIVE
                        description: '`ACTIVE` or `INACTIVE`.'
                        example: ACTIVE
                    required:
                      - id
                      - name
                      - address
                      - phoneNumbers
                      - emails
                      - website
                      - amenities
                      - description
                      - chain
                      - starRating
                      - publicRating
                      - propertyType
                      - mainImage
                      - images
                      - checkInTime
                      - checkOutTime
                      - rooms
                      - status
                    description: The full record of the hotel.
                  checkIn:
                    type: string
                    description: Check-in date (`YYYY-MM-DD`).
                    example: '2026-11-02'
                  checkOut:
                    type: string
                    description: Check-out date (`YYYY-MM-DD`).
                    example: '2026-11-05'
                  roomGroups:
                    type: array
                    items:
                      type: object
                      properties:
                        rooms:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                description: >-
                                  ID of the room offer. Send it as `roomId` when
                                  you create a trip.
                                example: room_Gt6Ws1KeYb4Nc8PqLr2Xd
                              passengers:
                                type: object
                                properties:
                                  adult:
                                    type: number
                                    description: Adults.
                                    example: 2
                                  child:
                                    type: number
                                    description: Children.
                                    example: 0
                                  infant:
                                    type: number
                                    description: Infants.
                                    example: 0
                                  senior:
                                    type: number
                                    description: Seniors.
                                    example: 0
                                required:
                                  - adult
                                  - child
                                  - infant
                                  - senior
                                description: Who the offer is for.
                              quantity:
                                type: number
                                nullable: true
                                description: >-
                                  Number of rooms available at this rate. `null`
                                  when not informed.
                                example: 3
                              roomName:
                                type: string
                                description: Name of the room.
                                example: Standard Double
                              fare:
                                type: object
                                properties:
                                  originalAmount:
                                    type: number
                                    description: Price before discounts and fees, in cents.
                                    example: 135000
                                  discountAmount:
                                    type: number
                                    description: >-
                                      Discount applied to the original amount,
                                      in cents.
                                    example: 15000
                                  feeAmount:
                                    type: number
                                    description: Fees added to the rate, in cents.
                                    example: 5000
                                  amount:
                                    type: number
                                    description: >-
                                      Total rate charged: `originalAmount -
                                      discountAmount + feeAmount`, in cents
                                      (`125000` is R$ 1.250,00).
                                    example: 125000
                                  currency:
                                    type: string
                                    description: Currency of the amounts (ISO 4217).
                                    example: BRL
                                  boardType:
                                    type: string
                                    enum:
                                      - ONLY_ROOM
                                      - BREAKFAST
                                      - HALF_BOARD
                                      - FULL_BOARD
                                      - ALL_INCLUSIVE
                                    description: >-
                                      Meal plan: `ONLY_ROOM`, `BREAKFAST`,
                                      `HALF_BOARD`, `FULL_BOARD` or
                                      `ALL_INCLUSIVE`.
                                    example: BREAKFAST
                                  cancellationPolicies:
                                    type: object
                                    properties:
                                      refundable:
                                        type: boolean
                                        description: >-
                                          Whether the fare allows any refund at
                                          all.
                                        example: true
                                      immediateFine:
                                        type: boolean
                                        description: >-
                                          Whether a fine is charged for cancelling
                                          right after booking.
                                        example: false
                                      penalties:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            from:
                                              type: string
                                              description: >-
                                                Date (`YYYY-MM-DD`) from which this tier
                                                applies.
                                              example: '2026-10-30'
                                            currency:
                                              type: string
                                              description: Currency of the penalty (ISO 4217).
                                              example: BRL
                                            fineAmount:
                                              type: number
                                              description: >-
                                                Penalty charged when cancelling or
                                                changing from `from` onward, in cents.
                                              example: 15000
                                          required:
                                            - from
                                            - currency
                                            - fineAmount
                                          description: >-
                                            One tier of a cancellation or change
                                            penalty schedule.
                                        description: >-
                                          Penalty schedule, in effect from each
                                          tier's date. Empty or omitted when no
                                          scheduled penalty applies.
                                    required:
                                      - refundable
                                      - immediateFine
                                    description: >-
                                      Cancellation rules of the rate. Only in
                                      the item detail, not in the search
                                      results.
                                required:
                                  - originalAmount
                                  - discountAmount
                                  - feeAmount
                                  - amount
                                  - currency
                                  - boardType
                                description: Rate of the room, with its cancellation rules.
                            required:
                              - id
                              - passengers
                              - quantity
                              - roomName
                              - fare
                            description: A bookable room with its rate.
                          description: The bookable rooms of the combination.
                      required:
                        - rooms
                      description: >-
                        The rooms offered together to fulfil the requested
                        occupancy: one per room of the search.
                    description: >-
                      The room combinations available for the requested
                      occupancy, each with its rooms and rates — send a room's
                      `id` as `roomId` when you create a trip.
                required:
                  - id
                  - searchId
                  - hotel
                  - checkIn
                  - checkOut
                  - roomGroups
                description: >-
                  The detail of one hotel of a hotel search: the full hotel
                  record and its room combinations.
        '404':
          description: >-
            `SEARCH_NOT_FOUND` — The search doesn't exist, has expired, was
            created by another organization or is not a hotel search.


            `HOTEL_SEARCH_ITEM_NOT_FOUND` — The hotel search has no item with
            this ID, or it expired.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - SEARCH_NOT_FOUND
                      - HOTEL_SEARCH_ITEM_NOT_FOUND
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: SEARCH_NOT_FOUND
                origin: TRAVEL
                message: Search not found
        '422':
          description: >-
            `BAD_REQUEST` — A path parameter is not a valid ID; `fields` lists
            each one.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - BAD_REQUEST
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                  fields:
                    type: array
                    description: >-
                      One entry per invalid request field (validation errors
                      only).
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: >-
                            Path of the invalid field, e.g. `label` or
                            `values[0].value`.
                          example: label
                        message:
                          type: string
                          description: Why the field was rejected.
                          example: label is required
                        code:
                          type: string
                          description: >-
                            `<FIELD>_<REASON>` — e.g. `LABEL_REQUIRED`,
                            `TYPE_ONE_OF`, `VALUES_VALUE_TYPE_ERROR`.
                          example: LABEL_REQUIRED
                        values:
                          type: array
                          items:
                            type: string
                          description: >-
                            The accepted values, when the field is an
                            enumeration.
                      required:
                        - field
                        - message
                        - code
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: BAD_REQUEST
                origin: TRAVEL
                message: >-
                  Bad Request: Your request is invalid or incomplete. Please
                  make sure you are requesting with the right fields.
                fields:
                  - field: organizationId
                    message: Invalid UUID
                    code: ORGANIZATIONID_UUID
        '503':
          description: >-
            `PROVIDER_UNAVAILABLE` — The travel provider could not be reached.
            Retry later.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - PROVIDER_UNAVAILABLE
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: PROVIDER_UNAVAILABLE
                origin: TRAVEL
                message: Travel provider temporarily unavailable, please retry.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.