Skip to content

Tourmind AI APIs ​

AI Room Matching & Mapping ​

AI Room Map ​

The Room Map API aggregates and categorizes comparable rooms from various suppliers for a specific property. It processes room data and organizes rooms with similar attributes into unified groups.

If you do not have a self-maintained standardized room type list, the RoomMap API can be employed to derive a set of recommended standard room types based on historical data analysis, serving as an effective way for room type classification.

room_map

API Call Schema

NameValue
Request URLhttp://developers.tourmind.cn/v2/RoomMap
Request methodPOST
Request Fields
PropertyId: string
Unique identifier for the hotel property
PropertyName: string
The name of the hotel property
Response Fields
PropertyId: string
A unique identifier for the property.
PropertyName: string
The name of the property (hotel) being referenced.
Unmapped[]: any
A list of unmapped rooms or groups, if any.
json
{
  "SupplierList": [
    {
      "SupplierRooms": [
        {}
      ]
    }
  ]
}
json
{
  "Aggregation": [
    {
      "GroupRooms": [
        {}
      ]
    }
  ],
  "Unmapped": []
}

AI Room Match ​

The Room Match API provides an intelligent room matching service that establishes relationships between reference hotel rooms and supplier room listings. By AI algorithm, it automatically matches standard room types from reference hotels with room information provided by different suppliers.

If you already maintained your own standardized room types, it is recommended to utilize the Room Match feature to directly leverage their curated data for accurate room type matching.

room_match

API Call Schema

NameValue
Request URLhttp://developers.tourmind.cn/v2/RoomMatch
Request methodPOST
Request Fields
AppKey: string
EnableDeepThinking: boolean
Response Fields
Code: integer
Success: boolean
json
{
  "MasterRoomList": [
    {}
  ],
  "PropertyInfo": {},
  "RequestHeader": {
    "AgentCode": "tms_test",
    "Password": "tms_test",
    "RequestTime": "2018-07-26T09:51:32.123Z",
    "TransactionID": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
    "UserName": "tms_test"
  },
  "SupplierRoomList": [
    {
      "SupplierRoomInfo": [
        {}
      ]
    }
  ]
}
json
{
  "Data": {
    "MatchedRooms": [
      {
        "MatchedRooms": [
          {}
        ]
      }
    ]
  },
  "Error": {
    "ErrorCode": "101",
    "ErrorMessage": "invaild param"
  },
  "ResponseHeader": {
    "ResponseTime": "2018-07-26 09:51:32",
    "TransactionID": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  },
  "UnmatchedRooms": [
    {}
  ]
}

AI Rate Prediction ​

AI Rate Prediction ​

The Price Prediction API provides a robust solution for forecasting future pricing trends for hotel room types. This API is designed to help users and businesses in the hospitality sector make informed decisions regarding pricing strategies by offering insights into expected low and high price ranges for various hotel room types over specified time periods.

rate_prediction

API Call Schema

NameValue
Request URLhttp://developers.tourmind.cn/v2/RatePrediction
Request methodPOST
Request Fields
CheckIn: string
Check-in date (ISO 8601 format)
CheckOut: string
Check-out date (ISO 8601 format)
CurrencyCode: string
Preferred currency code
Response Fields
json
{
  "Hotels": [
    {
      "City": "Shanghai",
      "Country": "China",
      "HotelName": "Hilton Shanghai"
    }
  ],
  "PaxRooms": [
    {
      "Adults": 2,
      "ChildrenAges": []
    }
  ]
}
json
{
  "PricePredictions": [
    {
      "HotelInfo": {},
      "RoomTypes": [
        {
          "HighPricePeriods": [
            {
              "DateRange": {},
              "HighPriceRange": {}
            }
          ],
          "LowPricePeriods": [
            {
              "DateRange": {},
              "LowPriceRange": {}
            }
          ]
        }
      ]
    }
  ]
}