LOS ANGELES — J.D. Martinez tied a major league record by slugging four of Arizona’s six home runs, and the Diamondbacks routed the NL West-leading Los Angeles Dodgers 13-0 on Monday night for their 11th straight victory.

Martinez is the 18th player to hit four homers in a game.

NATIONALS 7, MARLINS 2: Anthony Rendon drove in four runs, Daniel Murphy drove in three and Washington overcame a camera-denting home run by Giancarlo Stanton to win at Miami.

PIRATES 12, CUBS 0: Josh Bell broke the National League record for home runs by a rookie switch hitter, hitting his 24th of the season as Pittsburgh won at home.

Bell had three hits and four RBI, including a two-run shot off Jake Arrieta in the first inning. Arrieta was removed in the third inning because of an apparent right leg injury.

CARDINALS 2, PADRES 0: Carlos Martinez threw a three-hitter and struck out 10, and Yadier Molina hit a two-run single to help visiting St. Louis remain three games behind Colorado in the race for the NL’s second wild-card berth.

ROCKIES 4, GIANTS 3: Carlos Gonzalez drew a two-out, bases-loaded walk in the ninth, and Colorado halted a four-game skid by beating San Francisco at home.

REDS 5, BREWERS 4: Billy Hamilton hit a home run with two outs in the ninth inning, giving Cincinnati a win at home.

METS 11, PHILLIES 7: Jose Reyes and Asdrubal Cabrera homered and New York routed visiting Philadelphia.

AMERICAN LEAGUE

INDIANS 5, WHITE SOX 3: Trevor Bauer won his eighth decision in a row, and Cleveland beat Chicago for its 12th straight victory.

Bauer (15-8) gave up two runs on three hits with nine strikeouts and one walk over 61/3 innings. A day after tying the major league record with five extra-base hits, including two homers, Jose Ramirez homered again and Carlos Santana also homered for the AL Central-leading Indians, who are two shy of the team-record 14 consecutive wins set last season.

YANKEES 7, ORIOLES 4: Starlin Castro homered and drove in three runs, Didi Gregorius also went deep and New York continued its playoff push with a win at Baltimore.

The Yankees played without catcher Gary Sanchez, who began serving a suspension that was reduced from four to three games, stemming from an Aug. 24 brawl against Detroit.

RAYS 11, TWINS 4: Corey Dickerson hit his 26th home run and also doubled twice, powering Tampa Bay past visiting Minnesota to tighten the AL wild-card race.

Minnesota’s lead for the second wild-card spot was cut to a half-game by the Angels. The Rays are three games behind the Twins, but also trail five other teams.

ANGELS 11, ATHLETICS 9: Los Angeles used an American League-record 12 pitchers, and Kole Calhoun hit a two-run triple in the 11th inning to give the Angels a win at Oakland.

The previous AL mark of 11 pitchers was done four times, most recently by Tampa Bay in 2013. The Colorado Rockies hold the major league record, using 13 pitchers in 2015 during a 16-inning game.

ASTROS 6, MARINERS 2: Alex Bregman had a tiebreaking two-run double in Houston’s four-run seventh inning and Dallas Keuchel pitched effectively into the eighth to lead the Astros to their fifth straight win, at Seattle.

Keuchel (12-3) allowed two runs and seven hits and two walks and struck out five in 72/3 innings – his longest outing since April 5.

ROYALS 7, TIGERS 6: Kansas City hit three homers and got two spectacular defensive plays in a win at Detroit.

INTERLEAGUE

RANGERS 8, BRAVES 2: Elvis Andrus, Nomar Mazara and Rougned Odor homered, Andrew Cashner pitched six strong innings and Texas won in Atlanta.