Kyle Lowry had 24 points and six assists, Fred VanVleet added 18 points and Toronto used a 3-point shooting burst in the fourth quarter to beat Memphis.
VanVleet made all six shots on the night, including three from outside the arc in the fourth, when Toronto was 7 of 12 from 3-point range. Lowry was 5 of 8 on 3-pointers.
Kawhi Leonard finished with 17 points and 10 rebounds, and Serge Ibaka scored 16 points as the Raptors won their sixth straight.
Marc Gasol led Memphis with 27 points, making 10 of his 14 shots. Mike Conley added 20 points and six assists.
at Detroit 115, New York 108: Blake Griffin scored 30 points and Stanley Johnson added 21 to lift Detroit over New York.
Reggie Jackson contributed 21 points for Detroit. The Pistons held New York to 40 percent shooting from the field and led throughout the final three quarters.
Allonzo Trier scored 24 points for the Knicks, who had won a season-high three in a row.
The Pistons (11-7) are off to a solid start under new coach Dwane Casey, although nine of their victories have been against teams that currently have losing records.
Indiana 109, at Phoenix 104: Bojan Bogdanovic sank the go-ahead 3-pointer with 31 seconds to play and Indiana with a victory over Phoenix.
The Pacers, coming off a 33-point victory at Utah the previous night, had their hands full in a tight fourth quarter.
After Bogdanovic's long-range basket, Devin Booker's attempt at a game-tying 3 barely rimmed out. Darren Collison's two free throws wrapped up the scoring.
Doug McDermott and Domantas Sabonis scored 21 points apiece for Indiana. Myles Turner added 16 and Bogdanovic 15.
T.J. Warren scored 25 for the Suns. Booker was just 7-of-21 shooting but scored 20 points and had eight assists. Deandre Ayton had 18 points and 12 rebounds.
Atlanta 115, at Miami 113: Taurean Prince scored 18 points, Trae Young finished with 17 points and 10 assists and the Atlanta Hawks held off the Miami Heat 115-113 on Tuesday night to snap a seven-game road slide.
John Collins scored 16 points, Omari Spellman had 14 and Kent Bazemore finished with 12 for the Hawks, who are 2-0 against Miami this season and 3-16 against everyone else.