*Club domestic league appearances and goals, correct as of 21:20, 11 April 2024 (UTC) ‡ National team caps and goals, correct as of 07:43, 18 January 2024 (UTC)
In March 2021, Ayni was called up to the Tajikistan national team for the first time, as a replacement for Iskandar Dzhalilov who'd suffered a dislocated foot and fracture lower leg.[6] Ayni subsequently made his senior team debut on 25 March 2021 against Mongolia, coming on as an 85th-minute substitute for Parvizdzhon Umarbayev.[7][8]