Right now snowman magic is on sale under pins for 5k. The other magics have been released during the previous months. During October, Bat magic was on sale for 10K, during November, Flying Carpet was on sale for 10K. The invisibility magic was acquired on Halloween. There was a pumpkin quest where every time you clicked a pumpkin (they randomly spawned in public rooms) , you had a chance of winning the invisibility magic, gas mask, or a Halloween quest pin. Fireworks magic was given to the top three scorers in the Fireworks game back when Fireworks was new. A few lucky players have also received fireworks magic from Santa during the Meet Santa events.
Hope this helped!