Stanton slugged a two-run, fifth-inning blast off Matt Harvey over the fence in right-center field to give the Yankees a 5-1 lead. Stanton hit 59 homers while winning National League MVP honors for the Miami Marlins last season before being dealt to New York.
Brett Gardner and Aaron Judge each had two hits and scored twice for the Yankees. Jose Reyes went 2-for-3 for the Mets.
The right-handed Harvey allowed five runs and six hits in 4 2/3 innings while taking the loss.
Other results from Saturday's spring training games:
Giants (ss) 11, Angels (ss) 7, Game 1
Brandon Belt, Jarrett Parker and Nick Hundley smacked homers to help San Francisco knock off Los Angeles at Scottsdale, Ariz. Luis Valbuena, Chris Carter and Jabari Blash each went deep for the Angels.
Giants (ss) 9, Angels (ss) 8, Game 2
Mac Williamson went 3-for-4 with a homer and triple and Josh Rutledge went 3-for-3 with an RBI to help San Francisco edge Los Angeles at Tempe, Ariz. Mike Trout went 3-for-3 and slugged his first homer of the spring for Angels.
Rangers 8, Athletics 2
Elvis Andrus homered and had three RBIs and Joey Gallo delivered a two-run single as Texas defeated Oakland at Surprise, Ariz. Jake Smolinski homered for the Athletics.
Diamondbacks 10, Royals 3
David Peralta and Ketel Marte each had three hits to help Arizona cruise past Kansas City at Scottsdale, Ariz. Ryan Goins, Cam Gallagher and Paulo Orlando drove in one run apiece for the Royals.
Marlins 7, Cardinals 3
Isan Diaz and Starlin Castro each homered to help Miami knock off St. Louis at Jupiter, Fla. Dexter Fowler's run-scoring triple was one of four hits for the Cardinals.
Rays 5, Phillies 3
David Olmedo-Barrera hit two homers, including the decisive three-run blast in the top of the ninth inning, as Tampa Bay rallied past Philadelphia at Clearwater, Fla. Odubel Herrera had two hits for the Phillies.
Braves 15, Pirates (ss) 1
Dustin Peterson homered and drove in four runs and Dansby Swanson added a two-run homer as Atlanta routed Pittsburgh at Bradenton, Fla. Jordy Mercer homered for the Pirates.
Blue Jays 6, Tigers 3
Curtis Granderson hit a leadoff homer and Teoscar Hernandez slugged a grand slam later in the inning as Toronto defeated Detroit at Dunedin, Fla. Edwin Espinal recorded a two-run double for the Tigers.
Orioles 13, Pirates (ss) 5
Trey Mancini, Manny Machado and Jonathan Schoop all homered in the first inning and Baltimore went on to trounce Pittsburgh at Sarasota, Fla. Jose Osuna homered for the Pirates.
Brewers 9, Rockies 2
Domingo Santana and Nate Orf smacked homers to help Milwaukee roll past Colorado at Phoenix. David Dahl had a two-run triple for the Rockies.
Indians 8, Padres 8
Travis Jankowski had two homers and four RBIs, and his latter blast allowed San Diego to tie the game with two out in the bottom of the ninth at Peoria, Ariz. Yandy Diaz hit a grand slam and drove in five runs for Cleveland, and teammate Jose Ramirez also homered.
White Sox 4, Cubs (ss) 4
Cael Brockmeyer hit a leadoff homer in the bottom of the ninth as the Cubs tied their Chicago neighbors at Mesa, Ariz. Victor Caratini also went deep for the Cubs while former Cubs top prospect Eloy Jimenez hit a two-run blast for the White Sox.
Nationals 2, Astros 2
Jose Marmolejos delivered the tying ground single with two outs in the top of the ninth as Washington rallied to tie Houston at West Palm Beach, Fla. Astros left-hander Dallas Keuchel struck out five and allowed one hit in 3 2/3 scoreless innings.
Red Sox-Twins (canceled)
The game between Boston and Minnesota at Fort Myers, Fla., was canceled due to rain.
--Field Level Media