MIAMI (AP) — Jose Fernandez pitched seven innings and tied the modern record for most consecutive home victories by a starter to begin a career, helping the Miami Marlins beat the Cincinnati Reds 2-0 Thursday.

Fernandez won for the second time in two outings since his return from Tommy John surgery. He allowed six hits, struck out nine and improved to 14-0 in 22 career starts at Marlins Park.

The only other pitcher since 1914 to win his first 14 home decisions as a starter was Johnny Allen of the Yankees in 1932-33, according to STATS. Fernandez lowered his ERA at home to 1.17.

All-Star Dee Gordon stole three bases, scored both runs and broke the Marlins record for hits before the All-Star break with 119. Miami snapped a four-game losing streak.

Michael Lorenzen (3-4) went six innings and allowed two runs — too many against Fernandez.

ROYALS 8, RAYS 3

KANSAS CITY, Mo. (AP) — Lorenzo Cain and Salvador Perez hit two-run homers, Yordano Ventura went five innings in his return from the disabled list, and the Royals beat the Rays to finish off a four-game sweep.

Ventura (4-6) allowed three runs and four hits and three walks, striking out four. It was his first start since June 12, when an elbow condition began causing numbness in his hand.

Eric Hosmer, Cheslor Cuthbert and Kendrys Morales also drove in runs off Nathan Karns (4-5).

CARDINALS 4, PIRATES 1

PITTSBURGH (AP) — Carlos Martinez made his case for inclusion on the National League All-Star team by pitching 7 1-3 scoreless innings, and the Cardinals beat the Pirates in a matchup between the teams with the best records in the major leagues.

Martinez (10-3) scattered four hits while striking out five and walking three in improving to 7-1 with a 1.20 ERA in his last 10 starts.

The right-hander is one of the five players contending for the NL's All-Star Final Vote. Fan voting ends Friday afternoon and the game will be played Tuesday at Cincinnati.

St. Louis (56-31) opened a 5 1/2-game lead on the Pirates in the NL Central. Pittsburgh (50-35) had its five-game winning streak snapped.

The Cardinals did their scoring in the fifth inning on two-run singles by Matt Carpenter — with one out — and Yadier Molina and out later. Both hits were off Jeff Locke (5-5).

WHITE SOX 2, BLUE JAYS 0

CHICAGO (AP) — Jeff Samardzija had a four-hitter, Melky Cabrera homered and the White Sox shut out the Blue Jays.

Samardzija (6-4) took a no-hitter into the sixth inning for a second straight game. It was his first complete game of the season. He struck out Toronto slugger Jose Bautista to end the 2 hour, 15-minute game and threw 108 pitches.

Toronto's R.A. Dickey (3-10) allowed two runs and four hits in seven innings.

The White Sox, who had just five hits, have won eight of 10.

YANKEES 6, ATHLETICS 2

NEW YORK (AP) — Masahiro Tanaka allowed two hits over 7 2-3 innings, Brett Gardner hit a first-inning home run and learned midgame he had been picked for his first All-Star team, and the Yankees rallied past the Athletics.

Cole Figueroa doubled twice in his Yankees debut. Jacoby Ellsbury had a tiebreaking, two-run single.

Tanaka (5-3) ended a four-start winless streak, the longest drought of his 1½-year major league career. He set season highs for innings and pitches (114), striking out six and walking one. One of the runs off him was unearned.

Jesse Chavez (4-9) lost for the first time in six appearances against the Yankees, giving up four runs and seven hits in five innings. He is winless in his past three starts.(backslash)

TIGERS 4, TWINS 2

MINNEAPOLIS (AP) — Ian Kinsler had a leadoff homer, a double and three RBIs to back David Price's eight innings as Detroit beat Minnesota.

Price (9-2) struck out eight in his final start before going to the All-Star Game. He allowed five hits and two unearned runs.

Yoenis Cespedes added two hits and an RBI for the Tigers. Joakim Soria earned his 20th save in 22 chances.

Mike Pelfrey (5-6) gave up four runs and eight hits in 7 2-3 innings for Minnesota. Torii Hunter had a base hit and an RBI, but the Twins had their three-game winning streak snapped.

Kinsler hit the second pitch of the game into the left-field seats, his 32nd career leadoff homer.

INDIANS 3, ASTROS 1

CLEVELAND (AP) — Rookie right-hander Cody Anderson pitched three-hit ball into the seventh inning against Houston, his latest splendid performance for Cleveland.

Making his fourth major league start, Anderson (2-1) allowed Hank Conger's leadoff homer in the third but little else in 6 2-3 innings. Anderson has given up three earned runs in 30 1-3 innings for a 0.89 ERA since being called up from Triple-A Columbus on June 21.

Brett Oberholtzer (2-2) took a shutout into the sixth before the Indians scored three times. Touted rookie Francisco Lindor tied the game with a leadoff homer. Ryan Raburn's RBI double put the Indians ahead, and Carlos Santana's triple made it 3-1.

Cody Allen allowed a single and a walk in the ninth, but retired Evan Gattis on a popup for his 18th save.

Cleveland took three of four from the AL West leaders.