The invention discloses a parking recommendation algorithm based on parking data, and relates to the technical field of traffic coordination. The method comprises the following steps: S1, parking data acquisition; comprising the steps of obtaining static data and dynamic data; s2, analyzing visual parking data based on a statistical method, and processing non-visual parking data based on a machine learning method; s3, integrating the parking data processed in the step S2, and expressing the parking data in a unified format; s4, preference priority strategy recommendation; the results are sorted according to the factors such as the geographical location of the parking lot, the charging standard and the number of idle parking spaces, a user can select different sorting results according to own requirements, and when a specific factor is not selected, the results are sorted automatically according to the average value of the factors; s5, result feedback; and feeding back the result information in the step S4 to the user according to the demand of the customer. According to the invention, the parking data is acquired, analyzed and processed, so that dynamic parking space recommendation is realized.