Hajdari first played for local club FC Aesch and moved to Basel's youth academy in 2014.
[1][2] Hajdari played his professional debut for the club in the away game on 27 September as Basel were defeated 1–0 by Servette.
[5] During his time with Basel's first team, Hajdari played a total of 24 games for them scoring one goal.
He scored his only goal during the test game on 12 January 2022 as Basel beat Lugano 2–1.
[6] During his time on loan to Basel, Hajdari also had five appearances in their U-21 team in the third tier of Swiss football.