In 2017 Zhang won the individual All-Around silver medal of the National Youth Championship at the Sichuan Provincial Championship.[2] In May 2019 she won the first place overall in the preliminary round of the 2nd Youth Games, and in August of the same year she won three gold medals in the competition.[3][4]
In May 2024 she was the runner-up of the National Championship with the national reserve group.[5] In 2025 she entered the main group making her debut at the World Cup in Baku, where China won gold with 5 ribbons and silver with 3 balls & 2 hoops.[6][7] At the stage in Tashkent they took bronze in the All-Around, silver with 3 balls & 2 hoops and gold with 5 ribbons.[8][9] In Milan they were 4th with 5 ribbons and won gold in the mixed event.[10][11] In August she was selected for the World Championships in Rio de Janeiro along Ding Xinyi, Liu Miaoting, Pu Yanzhu, Wang Lanjing and Wanzhu Zhao. There they were 4th in the All-Around and won bronze with 3 balls & 2 hoops as well as gold with 5 ribbons.[12][13][14][15]
In 2026, Xinyi and her teammates (Pu Yanzhu, Zhao Wanzhu, Liu Miaoting, Ding Xinyi, Wang Lanjing) started competition season in late March at Sofia World Cup. They took 4th place in all-around and won gold in 5 Balls final.[16] On April 10-12, they won gold medal in all-around at Tashkent World Cup. They also won gold medals in both apparatus finals.