Born in Niš, Stojiljković spent his formatting years at Partizan and Rad. He made his Serbian SuperLiga debut with Rad on 30 May 2009, coming on as a substitute and providing a vital injury time assist in a 2–2 home draw with Vojvodina. During his tenure at Banjica, Stojiljković scored five goals in 26 league appearances, all of them in the 2011–12 season.
Čukarički
In the 2013 winter transfer window, Stojiljković moved to Serbian First League club Čukarički, scoring seven goals in 15 league appearances until the end of the 2012–13 season,[1] thus helping them win promotion back to the top flight. With seven goals in the 2013–14 Serbian SuperLiga, Stojiljković was one of the most deserving for the team's success, finishing in fifth place in the competition, eventually securing them a spot in the 2014–15 UEFA Europa League. He scored two goals in the qualifying phase, including the winning goal against SV Grödig. Stojiljković finished the season as the club's top scorer with 14 goals in all competitions, helping them win the 2014–15 Serbian Cup, the club's first ever major title.[2]
Braga
On 8 August 2015, Stojiljković was transferred to Portuguese club Braga, on a five-year deal.[3] He made his debut for the club eight days later, coming on as a 61st-minute substitute for Rodrigo Pinho in a 2–1 home win over Nacional in the first game of the Primeira Ligaseason. Stojiljković scored his first goals as an Arsenalista on 21 September, a brace in a 5–1 win over Marítimo also at the Estádio Municipal de Braga.[4]
In September 2017, Stojiljković moved on loan to the Turkish side Kayserispor.[5] After the end of 2017–18 campaign, he returned to Serbia in June 2018, joining Red Star Belgrade on a one-year loan deal.[6]
Stojiljković signed on loan for Spanish Segunda División club RCD Mallorca in late January 2019.[7] He made only four substitute appearances as they won promotion, having a two-month injury lay-off with muscular injury.[8]
On 12 August 2019, Stojiljković was loaned to fellow Primeira Liga club Boavista F.C. for the season.[9]
Farense
On 24 August 2020, Stojiljković transferred to Primeira Liga newcomers S.C. Farense, who purchased 50% of his economic rights.[10]
Piast Gliwice
On 20 August 2021, Stojiljković was transferred to Polish Ekstraklasa team Piast Gliwice, on a two-year contract.[11]
Al-Riyadh
On 20 August 2022, Stojiljković joined Saudi Arabian club Al-Riyadh.[12]
In March 2016, Stojiljković received his first call-up for the senior team for friendlies against Poland and Estonia.[16] He made his debut in the former on the 23rd, starting in a 1–0 defeat at the Stadion Miejski in Poznań and being substituted for Filip Đuričić after 56 minutes.[17]
^Several websites made confusion with statistics of a player. He recorded 15 league appearances and scored 7 goals for the season. During the season, other player with the same surname, Aleksandar Stojiljković, also played for Čukarički, scoring 3 goals in 17 matches.[1]