MIAMI (AP) -- Martin Prado's fifth hit of the game was a two-out double in the 11th inning that scored Christian Yelich from first base and gave the Miami Marlins a 6-5 victory over the New York Mets on Friday night.
The Mets tied the seesaw game with a run in the ninth but they stranded 13 runners, including three in the eighth and three more in the ninth.
Mets starter Jacob deGrom allowed nine hits and three runs in six innings. His ERA has climbed to 2.40 from 1.98 on Aug. 24, but he was in line for his 13th win before an uncharacteristically shaky showing by the bullpen in the seventh.
Rookie Michael Conforto, batting cleanup for the first time because injuries left the Mets short-handed, went 0 for 6 with an RBI. David Wright went 0 for 5.
Cole Gillespie singled to open the 11th against Mets reliever Erik Goeddel (0-1). Yelich hit into a fielder's choice against left-hander Eric O'Flaherty, and scored without a play when Prado lined a ball into the right-field corner.
Prado's five hits were a career high. The Marlins totaled 17 hits in their fourth consecutive victory.
The Mets trailed 5-4 with two outs in the ninth when Travis d'Arnaud singled off closer A.J. Ramos. D'Arnaud took third on a single by Juan Uribe, and Kelly Johnson's single up the middle tied the game and handed Ramos his sixth blown save in 29 chances.
Kirk Nieuwenhuis tapped out with the bases loaded to end the inning.
Yoenis Cespedes tripled and homered to help the Mets overcome a 3-0 deficit, but the Marlins regained the lead with two runs in the seventh.
The Mets took a 4-3 lead into the bottom of the seventh, but Sean Gilmartin faced two batters and both scored. Addison Reed walked Marcell Ozuna on a 3-2 pitch with the bases loaded to force in Miami's go-ahead run.
Miami's Bryan Morris retired Wright on a grounder with the bases loaded to end the eighth.
Brian Ellington (1-0) pitched around a single in the 11th for his first career win.
Tom Koehler, who had lost his past seven starts, pitched six innings and left with a 3-2 lead. But Mike Dunn quickly gave it away.
Curtis Granderson walked to lead off the seventh and Cespedes homered on a 3-2 pitch. It was his 29th homer this season, including 11 in 31 games for the NL East leaders.
Mets: OF Michael Cuddyer (right wrist) was unavailable. He said the injury has become progressively worse over the past few days, and he was scheduled to see a doctor. ... INF Daniel Murphy (quad) will be sidelined until at least Sunday, manager Terry Collins said. ... 1B Lucas Duda (back) is expected to play two or three games at Double-A Binghamton in a rehab stint beginning Saturday. ... INF Wilmer Flores rejoined the Mets on Friday after missing Wednesday's game to be with his ailing grandfather in Venezuela.
Marlins: RF Giancarlo Stanton still has soreness in his left hand, which required surgery in June, and he'll likely play in a simulated game before being activated, manager Dan Jennings said. ... RHP Jarred Cosart (vertigo) was recalled from Single-A Jupiter and might make his first start since July 4 on Sunday, Jennings said. ... SS Adeiny Hechavarria (hamstring) was scratched from the starting lineup but expected to miss only a game or two, Jennings said.
Mets RHP Bartolo Colon (12-11, 4.42), who hasn't allowed a run in his past two starts, is scheduled to take the mound Saturday against LHP Brad Hand (4-4, 4.54.)