At international level, Stojanović represented Montenegro at the 2008 European Championship in the nation's debut appearance in major tournaments. He later switched his allegiance to Qatar, winning the gold medal at the 2014 Asian Championship. Stojanović was a member of the team that finished as runners-up at the 2015 World Championship. He subsequently helped Qatar win the 2016 Asian Championship and later participated at the 2016 Summer Olympics. Stojanović also won two gold medals at the Asian Games (2014 and 2018).