John E. Sokolowski-USA TODAY Sports

O.G. Anunoby scored 32 points and grabbed 10 rebounds as the Toronto Raptors defeated the visiting Miami Heat 112-104 Wednesday night.

Fred VanVleet added 23 points, 13 of them in the third quarter, to help the Raptors win their second game in a row.

Scottie Barnes had 19 points, six rebounds and six assists for the Raptors, who were coming off a 1-2 road trip. Chris Boucher logged 15 points and 10 rebounds, and Thaddeus Young contributed 12 points.

Max Strus had 20 points for the Heat, whose three-game winning streak ended. Kyle Lowry added 19 points, Gabe Vincent had 16 points, Caleb Martin had 14 points and nine rebounds, and Nikola Jovic and Jimmy Butler each had 13 points.

The Raptors used a 21-0 run in a 30-19 third quarter to turn an 11-point deficit into a 10-point lead. Toronto take a five-point edge into the fourth quarter.

After Miami cut the lead to two, Toronto moved the margin to 10 on two free throws by Anunoby with 7:48 to play.

Butler made two free throws with 4:41 to go, pulling Miami within 100-9, but Boucher's 3-pointer with 1:29 left increased the lead to eight. Vincent countered with a layup with 1:06 to play. After Strus missed a shot, Anunoby made two free throws with 23.9 seconds to play.

The Heat led 31-27 after one quarter.

Anunoby's layup with 5:08 left in the second quarter cut the lead to one, but Miami scored the next six points. The lead reached 10 on Martin's two free throws with 1:21 remaining. Anunoby's tap-in cut the deficit to 60-54 at halftime.

Butler's running dunk put Miami up 70-59 with 8:52 left in the third quarter. Toronto responded with a 21-0 run capped by VanVleet's 3-pointer to take an 80-70 lead with 2:04 left in the period. Miami's Dewayne Demon completed the third-quarter scoring to cut the lead to 84-79.

The Raptors lost Dalano Banton, who had five points, to a sprained ankle in the third quarter.

Miami was without Bam Adebayo (left knee contusion) and Tyler Herro (left ankle sprain).

Toronto was without Precious Achiuwa (right ankle sprain), Otto Porter Jr. (dislocated toe), Pascal Siakam (right adductor strain) and Gary Trent Jr. (sore right hip).

More must-reads:

TODAY'S BEST
Watch: Aaron Judge blasts 13th home run in Yankees' seventh straight win
Knicks' Jalen Brunson suffers serious injury in Game 7 vs. Pacers
Phil Foden lifts Manchester City to fourth consecutive English Premier League title
Dodgers add recently acquired left-hander to active roster
Report: 2023 No. 7 pick expected to terminate KHL contract, join Flyers
Mavericks advance to Western Conference Finals aided by controversial call late
Connor McDavid, Oilers hammer Canucks to force Game 7
Tyson Fury-Oleksandr Usyk epic increases excitement for potential rematch
Seize the Grey wins in muddy Preakness
Even Mike Budenholzer admits the Suns need a point guard
Watch: Juan Soto's first multi-homer game as a Yankee
Xander Schauffele, Collin Morikawa lead at PGA Championship
Knicks could get major boost for Game 7 showdown with Pacers
Giants All-Star pitcher suffers setback in recovery from injury
Panthers star named winner of 2024 Selke Trophy
WNBA to investigate $100,000 sponsorship deals for Aces players
Tiger Woods blames one big factor for missing the cut at PGA Championship
'Ain't good enough': Draymond Green claims Celtics must 'win it all' or it's a 'failure'
Blue Jays GM wants struggling club to feel 'massive sense of urgency'
Raptors expected to flip former NBA champion during the offseason

Want more Raptors news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.