BOSTON -- Michael Chavis had a simple thought as he walked to the plate.
"A single scores him. Don't try to be a Superhero and hit a home run or anything like that. Just need one," Chavis said Wednesday night after his walk-off single in the 10th inning gave the Boston Red Sox a 6-5 victory over the Colorado Rockies.
J.D. Martinez homered in his third straight game and Boston recovered after blowing a five-run lead.
Martinez hit a two-run shot and Eduardo Rodriguez struck out 10 over six innings for the Red Sox, who won for the 12th time in 15 games. They split the two-game set to remain unbeaten (13-0-4) in their last 17 interleague series at Fenway Park.
Trevor Story had a two-run single but exited with a left knee injury after a collision with a Rockies teammate. Tony Wolters doubled twice for Colorado, which had won four of five.
Xander Bogaerts opened the 10th with a double on the first pitch from Chad Bettis (1-3). After Rafael Devers was intentionally walked, Chavis hit a grounder up the middle on the next pitch to win it.
"Pitches in the zone," Red Sox manager Alex Cora said of the two-pitch rally. "You don't get too many of those, especially late in the game."
Brandon Workman (3-1) struck out David Dahl with two runners on to end the top of the 10th.
A night after Boston ace Chris Sale became the first pitcher in major league history to strike out 17 batters in seven innings — and Colorado matched a franchise worst with 24 Ks — Rodriguez had the Rockies whiffing again. They ended up with 16 strikeouts in all.
But, as on Tuesday when they rallied for a 5-4 victory in 11 innings, the Rockies overcame an early deficit.
"Going up against the world champs toe-to-toe, beat them last night, took them to the last round tonight, and they strung a couple of hits together there at the end," Colorado manager Bud Black said.
The bigger concern is Story, who came out after colliding with outfielder Raimel Tapia chasing a shallow fly down the left field line in the ninth.
"I think the trainers right now are optimistic," Black said. "Our medical staff looked at some of the replays on television. It looked like there was a collision and a hard contact to the knee. But cross our fingers that he's going to be OK. . Right now, we're cautiously optimistic."
Boston built a 5-0 lead with two runs in the first and three in the third against German Márquez, who entered 5-0 with a 2.02 ERA in nine career interleague starts.
In the seventh, the Rockies loaded the bases with nobody out against Rodriguez. Ryan McMahon singled and Wolters doubled before Rodriguez plunked Charlie Blackmon with a pitch and was pulled. Matt Barnes gave up Story's two-run single and, with Story running from first on a 3-2 pitch with one out, pinch-hitter Daniel Murphy bounced to second, scoring Blackmon to tie it.
Dahl had a sacrifice fly and Wolters a run-scoring double in the fourth to make it 5-2.
Mookie Betts' RBI single made it 3-0 before Martinez, unlike his other three homers the past four days that went over the Green Monster in left field, drove a slider into Boston's bullpen in right.
FIVE AND DONE
Both starters gave up five runs and were pulled in the seventh.
Rodriguez allowed nine hits and walked one. Márquez went 6 1/3 innings, striking out six with 10 hits and a walk.
"I think overall I did well," Márquez said through a translator.
Rockies: Murphy, who entered batting just .200, started on the bench for the fifth time in seven games. Black said it had nothing to do with a fractured left index finger that caused Murphy to miss 3½ weeks.
Red Sox: Cora said LHP David Price (on the injured list with left elbow tendinitis since May 3) is scheduled to throw a bullpen Friday and if it goes well, he'll "probably" start next week in Toronto. ... 2B Dustin Pedroia took grounders with the other infielders before batting practice as he continues to try to work back to a rehab assignment from soreness in his surgically repaired left knee that's limited him to nine games over the past two seasons.
Rockies: After a day off Thursday, RHP Jon Gray (3-3, 4.25 ERA) is slated to start the opener of a three-game series in Philadelphia on Friday against LHP Cole Irvin (1-0, 1.29).
Red Sox: Off on Thursday before RHP Rick Porcello (3-3, 5.15) looks win his fourth straight decision Friday. Houston RHP Gerrit Cole (4-4, 3.88) is scheduled to start in the teams' first meeting since Boston defeated the Astros in the AL Championship Series last fall.
More AP baseball coverage: https://apnews.com/MLB and https://twitter.com/AP—Sports