This study employs spatial analysis to thoroughly examine the spatial distribution of shared accommodations within urban locales and their impact on the housing market. Specifically, it explores the multifaceted influence of shared accommodations on three distinct segments of the lodging market: long-term rentals, residential housing, and star hotels. The results unveil a noteworthy and affirmative correlation between shared accommodations and housing prices. In contrast, the discernible effect on star hotel room prices is minimal, though spatially varied patterns emerge. Furthermore, this inquiry illuminates salient geographical determinants that influence the supply of shared accommodations. These findings offer valuable insights into the intricate interplay between shared accommodations and urban housing markets, underscoring the critical role of geographical heterogeneity in shaping these dynamics.