In the United Kingdom, town centres face significant economic and social challenges, with amenities playing a crucial role in their vitality. However, no existing study has thoroughly investigated the relationship between amenities and footfall, a key measure of place vitality. This research addresses this gap by examining which amenities drive footfall in UK town centres. The study employs the random forest modelling, to analyse data from OpenStreetMap (OSM) and footfall data from 960 counters across the United Kingdom. Our findings reveal that OSM data can effectively predict footfall, highlighting the importance of diverse amenities. Key amenities identified include hotels, pedestrian ways, and retail establishments. Furthermore, the study identifies critical inflection points where the presence of certain amenities significantly boosts urban vitality. These insights offer valuable guidance for urban planning and development, suggesting that a mix of diverse amenities at appropriate levels can enhance the attractiveness and vitality of town centres.