Metro is an important form of public transport in Shanghai. Based on metro card data, this study firstly conducts cluster analysis of Shang-hai metro stations according to the pattern of passenger flow changing with time. Then the characteristics of travel time and surrounding land use are studied for different types of stations so as to explore the rela-tionship between urban spatial form and travel activities reflected by passenger flow at metro stations. It is found that the passenger flow pattern of metro stations is closely related to the location conditions of stations and its surrounding land use patterns. Based on various char-acteristics, 285 metro stations are classified into four types, including residential oriented stations, employment oriented stations, employ-ment-residence oriented stations and integrated functional oriented sta-tions, reflecting the interaction between spontaneous travel behaviour and urban land use pattern and providing reference for optimizing ur-ban functional structure and the spatial allocation of facilities.