TORONTO — DeMarre Carroll scored 21 points, Jonas Valanciunas had 15 points and 12 rebounds, and the Toronto Raptors beat the Miami Heat, 96-92, in overtime on Thursday night to even the Eastern Conference semifinals at one game apiece.
Valanciunas had 11 points and seven rebounds in the fourth quarter and overtime as the Raptors avoided losing consecutive games for the first time this postseason.
‘‘He came through big,’’ Raptors guard DeMar DeRozan said. ‘‘He’s definitely the reason we won this game.’’
DeRozan scored 20 points, Kyle Lowry had 18 and Terrence Ross 10 for Toronto, which battled back late in the fourth quarter to force the second overtime of the series.
Goran Dragic scored 20, and Dwyane Wade and Joe Johnson each had 17 for the Heat. Hassan Whiteside delivered 13 points and 13 rebounds, and Luol Deng had 12 points.
Game 3 is Saturday in Miami.
‘‘There’s a lot of different ways to win a game,’’ Raptors coach Dwane Casey said. ‘‘Fortunately our guys found a way.’’
The Heat led, 77-70, midway through the fourth, but back-to-back baskets by Valanciunas shaved the gap to 80-78 with 3:18 remaining. Ross tied it with a jumper at 2:01.
DeRozan missed a pair of free throws with 1:22 remaining but Valanciunas grabbed the rebound on the second and tipped it home to give Toronto an 82-80 lead. After a missed shot by Wade, Lowry hit a pull-up jumper with 45 seconds left, giving the Raptors a 4-point cushion.
Wade cut it to 1 with a 3 but Lowry replied with another jumper with 14.9 seconds to go, putting Toronto up 86-83. After a Miami timeout, Dragic tied with a 3 with 10.5 seconds left.
The Heat went cold in overtime, missing their first five field goal attempts, including three misses by Johnson. DeRozan and Valanciunas connected and Carroll made a pair at the line before Miami’s first basket, a driving dunk by Deng with 23 seconds left.
‘‘We were conscious of how the last overtime went,’’ DeRozan said. ‘‘We told all the guys, ‘We know what not to do and what we have to do this time around in overtime to get a win,’ and that’s what we did.’’
Miami matched a franchise postseason record with 11 turnovers in the first quarter, leading to 14 Toronto points. Miami finished with 21 turnovers.
‘‘I didn’t think we did a good job at all executing [in overtime],’’ Wade said. ‘‘If we don’t turn the ball over 20-something times, we'll be fine.’’
Miami matched a franchise postseason record with 11 turnovers in the first.