TORONTO (AP) -- Anthony Parker scored 21 points and the Toronto Raptors moved closer to clinching home-court advantage in the first round of the playoffs with an 87-84 victory over the Detroit Pistons on Friday night.
Chris Bosh added 18 points and 16 rebounds for the Raptors, who could capture the third seed in the Eastern Conference if Miami lost to Indiana on Friday night.
Parker's off-balance 3-pointer banked off the glass and went in just before the shot clock expired, giving Toronto the lead for good with 1:44 left.
Toronto trailed by as many as 15 in the third quarter, but outscored Detroit's second unit 29-15 in the fourth.
Richard Hamilton had 24 points for the Pistons, who clinched the No. 1 seed in the Eastern Conference on Wednesday. Chauncey Billups didn't play Friday, but the rest of the Pistons didn't take the Raptors lightly in the first three quarters. Detroit held Toronto to 34 percent shooting through three quarters and led 69-58.
Toronto outscored Detroit 16-8 in the first eight minutes of the fourth.
After Parker's 3-pointer, Bosh made a finger roll layup to make it 83-79 with 1:11 left.
Lindsey Hunter followed with a 3-pointer to cut the lead to one with 56 seconds remaining, but T.J. Ford made a layup before making two free throws with 5.6 seconds left to clinch the victory.
Toronto's Kris Humphries grabbed a career-high 18 rebounds for the Raptors, who have already clinched their first Atlantic Division title in team history.