---
title: "Query RoomTypes"
method: GET
path: "/room_types"
tags: ["Room Type"]
---

# Query RoomTypes

`GET /room_types`

You can query room types by making a request to this endpoint.

## Query parameters

- `offset` integer
- `limit` integer
- `id` integer
- `tag_id` integer

## Response `200`

A list of room types with their details

- object
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.
  - `data` object, required
    - `room_types` object[], required — List of the room types
      - `id` integer, required — Unique identifier for the property
      - `title` string, required — Title of the property
      - `properties` object[], required — A list of properties associated with the room type. The number of properties represents the maximum inventory quantity for the room type.
        - `id` integer, required — Unique identifier for the property
        - `title` string, required — The title of the property
      - `channels` object[], required — List of channels associated with the room type
        - `channel_type` 'airbnb' | 'booking.com' | 'agoda' | 'expedia' | 'vrbo' | 'trip.com' | 'booking_site' | 'tujia_intl' | 'hostex_direct' | 'tujia' | 'xiaozhu' | 'meituan_bnb' | 'meituan_hotel' | 'muniao' | 'fliggy' | 'zhukeyun' | 'tiktok' | 'xiaohongshu' | 'ctrip' | 'houfy', required — The type of the channel. See [Supported Channels](/reference/supported-channels) for more information.
        - `listing_id` string, required — The unique identifier for different channels. <br>For example, the listing id for Airbnb is the Airbnb listing id, and the listing id for Booking.com is the Booking.com room id - rateplan id.
        - `currency` string — The currency code for the reservation amounts. See [Supported Currencies](/reference/supported-currencies) for more information.
      - `tags` object[] — List of tags attached to the room type
        - `id` integer, required — Unique identifier for the tag
        - `name` string, required — Name of the tag
        - `color` string — Color of the tag, in hex format (e.g. #FD587B).
    - `total` integer, required — Total number of room types.

---

[API](https://skmtc.net/hostex/apis/hostex-api.md) · [All operations](https://skmtc.net/hostex/apis/hostex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostex/hostex-api/versions/a3fa555dee66/schema)
