The 24-year-old was named as Mario Garcia Montealegre from the town of Talavera de la Reina in Toledo province on Wednesday.
He was identified by police after a videoclip of the assault was posted on social networks "for a laugh".
In it, Montealegre can be seen counting down on with his fingers before he runs up and kicks the ankle of an unsuspected woman as she waits at a pedestrian crossing on Barcelona's Avenida Diagonal
The woman, who is wearing heels and has her back to the camera, drops to the pavement as her foot is kicked out from beneath her. The sound of giggling can be heard from behind the camera.
The woman, who has not been named but is said by the Catalan regional police force to be 48-years-old, reported the incident to police and they launched a public campaign to trace the culprit.
"Help us catch this son a bitch who thinks it is funny to attack innocent people," said the spokesman for the Mossos d'Esquadra in YouTube clip urging people to come forward and identify the prankster.
Montealegre turned himself into his local police station on Wednesday and is facing charges for assault.