Purpose This study aims to investigate the relationships between service quality, perceived value and hotel guest satisfaction, drawing upon data from TripAdvisor – an online travel agent (OTA) platform. The study also investigates the mediating role of perceived value on the relationship between service quality and satisfaction, as well as the moderating role of hotel star ratings on all direct and indirect relationships. Design/methodology/approach Data for this study were collected via Web scraping from August–October 2018. Data were collected from 192 three- to five star-rated hotels in Kuala Lumpur, Malaysia. Partial least squares – structural equation modeling was used for data analysis. Furthermore, importance-performance map analysis (IPMA) was performed to identify the most important items of service quality and perceived value in improving customer satisfaction. Findings The findings of this study provide support for all direct and indirect relationships for three-star and four- and five-star hotels. Moreover, the results indicate that perceived value mediates the relationship between service quality and customer satisfaction. These results support the moderating role of hotel star ratings for the relationship between service quality and perceived value. The results also show that after perceived value, three-star hotels looking to improve customer satisfaction should prioritize improving the quality of their services, sleep quality, cleanliness and rooms. Four- and five-star hotels, on the other hand, should prioritize service, cleanliness, room and sleep quality. Originality/value OTA platforms collect a wealth of data pertaining to large number of hotels; nevertheless, few studies to date have drawn on this data to examine a pre-determined conceptual framework developed based on the literature. As such, this study makes a valuable methodological contribution to the tourism and hospitality literature. In terms of theoretical contributions, this study examines the mediating role of perceived value between service quality and satisfaction using OTA data. In addition, this study assesses the moderating role of hotel star ratings for the direct and indirect effects of service quality on satisfaction. Using IPMA, this study compares the importance and performance of service quality indicators to generate satisfaction between three-star and four- and five-star hotels.