MIAMI -- Martin Prado looked to be at full strength in his first game in three weeks.
"It was huge personally and for the team," Prado said. "I think every time you get to contribute to win a game at this level is a good feeling."
Prado, who had been on the disabled list for the third time this season, doubled off the wall in left-center field in the fifth inning to give the Marlins a 6-1 lead. He didn't assume the long flyball would clear the fence.
"You never know with this field," Prado said. "There's days where the ball just carries more than other days. I was just glad I hit it in the air because I didn't want to hit a ground ball for a double play."
Chen (6-9) allowed one run on three hits. He struck out seven without walking a batter.
"When he's locating, he's got enough weapons to get people out and he's a guy who can really pitch," Marlins manager Don Mattingly said. "It's nice to see the guy we thought we had when he's healthy."
Toronto's Justin Smoak hit a two-run homer, his 23rd of the season, in the ninth. It was Smoak's fourth consecutive game with a home run.
Anderson's sacrifice fly and Realmuto's homer gave Miami an early 2-0 lead.
Randal Grichuk got the Blue Jays on the board with a sacrifice fly in the fourth.
Anderson drew a bases-loaded walk for a 3-1 lead right before Prado's double.
"Our starting pitching has been getting hit around pretty good the last week to 10 days, putting us behind the eight ball," Blue Jays manager John Gibbons said. "It's hard to come back each night."
Marco Estrada (7-11) allowed eight hits and six runs in 4 1/3 innings.
"I'm trying to give these guys innings and obviously I'm not doing my job right now," Estrada said. "But I'm going to keep working hard and get this thing right. Hopefully for the next one I'll feel a lot better and pitch better for these guys."
The Marlins also welcomed back center fielder Lewis Brinson from the disabled list. Brinson went 1 for 4 after missing the last 48 games with a hip injury.
"It's just good to get guys back out there," Mattingly said.
Dan Straily and Chen pitched eight innings in consecutive games, becoming the first Marlins to do so since May 6-7, 2014, when Henderson Alvarez tossed a shutout and Tom Koehler went eight innings in games against the New York Mets.
Blue Jays: RHP Marcus Stroman (blister) is looking to return from the disabled list and start Monday's game against Tampa Bay. "Stro threw a side today and he felt really good," Gibbons said. ... IF Yangervis Solarte (oblique) is progressing toward a return. "Solarte is doing everything," Gibbons said. "He's been swinging it, running, doing all of that stuff, he's coming along pretty quick."
Marlins: RHP Pablo Lopez (shoulder) was placed on the 10-day disabled list and is out for the rest of the season finishing his rookie year with a 2-4 record and 4.14 ERA in 10 starts. ... RHPs Elieser Hernandez (blister) and Jarlin Garcia (shin) will begin their rehab assignments on Sunday with Triple-A New Orleans.
Blue Jays: RHP Sean Reid-Foley (0-2, 8.68 ERA) will start Sunday's series finale.
Marlins: RHP Jeff Brigham will make his major league debut.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Veteran catcher Jeff Mathis agrees to two-year deal with Rangers
Jeff Mathis, one of the top defensive catchers in the majors, has agreed to a two-year deal with the Rangers, according to The Athletic.
Yelich: 'Unbelievable feeling' being named NL MVP
Christian Yelich joins SportsCenter after being named the National League MVP and receiving 29 of 30 first-place votes.
Newly crowned MVP Mookie Betts staking a claim as MLB's best player
Winning baseball's biggest award adds an exclamation point: There might be nothing that Boston's right-field star can't do on the diamond.
Yankees GM: Hustling 'always a prerequisite,' but won't discuss Manny Machado
While saying that hustling "is always a prerequisite" when signing players, Yankees GM Brian Cashman doesn't want any part of a debate about free agent Manny Machado
Brewers' Christian Yelich beats out Nolan Arenado, Javier Baez for NL MVP award
Brewers slugger Christian Yelich topped fellow finalists Nolan Arenado of the Rockies and Javier Baez of the Cubs for the National League MVP award Thursday.
Mookie Betts beats Mike Trout, Jose Ramirez to win American League MVP
Mookie Betts couldn't draw up a dream season much more perfect than this: a batting title, a 30/30 campaign, a World Series championship and now the American League MVP award.