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. 
API Call Schema
| Name | Value |
|---|---|
| Request URL | http://developers.tourmind.cn/v2/RoomMap |
| Request method | POST |
{
"SupplierList": [
{
"SupplierRooms": [
{}
]
}
]
}{
"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. 
API Call Schema
| Name | Value |
|---|---|
| Request URL | http://developers.tourmind.cn/v2/RoomMatch |
| Request method | POST |
{
"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": [
{}
]
}
]
}{
"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.

API Call Schema
| Name | Value |
|---|---|
| Request URL | http://developers.tourmind.cn/v2/RatePrediction |
| Request method | POST |
{
"Hotels": [
{
"City": "Shanghai",
"Country": "China",
"HotelName": "Hilton Shanghai"
}
],
"PaxRooms": [
{
"Adults": 2,
"ChildrenAges": []
}
]
}{
"PricePredictions": [
{
"HotelInfo": {},
"RoomTypes": [
{
"HighPricePeriods": [
{
"DateRange": {},
"HighPriceRange": {}
}
],
"LowPricePeriods": [
{
"DateRange": {},
"LowPriceRange": {}
}
]
}
]
}
]
}