The victory, one night after a draining triple-overtime loss to the Los Angeles Lakers, was the fourth in three games for the Suns.
Andrea Bargnani led the Raptors with 27 points and DeMar DeRozan scored 19. Toronto has lost four of their last six and was officially eliminated from playoff contention.
Phoenix remained three games behind the Memphis Grizzlies in the hunt for the final playoff berth in the Western Conference.
UPI horse racing weekend preview
Bo Jackson: I can't help Jameis Winston anymore