In a move that would appear to take them out of the bidding wars for Jon Lester and David Price, the Cardinals have traded for Indians pitcher Justin Masterson. Veteran reporter Peter Gammons was first with the news.

Masterson has struggled this season, posting a 5.51 ERA in 19 starts for Cleveland. He's currently on the DL with a knee issue, but is expected back soon. He's a free agent after the season.

"I was surprised," Masterson told reporters, per The Associated Press. "It's bittersweet. I'm sad to leave the fellas and the fight we're making here in Cleveland, but I'm excited to get to St. Louis and be a part of what they have going there."

Ramsey, a first-round pick in the 2012 draft, was rated as St. Louis' eighth-best prospect in Baseball America's preseason Top 10 organizational ranking. He hit .300 with 13 homers in 67 games for Double-A Springfield. Indians general manager Chris Antonetti said Ramsey will be moved up to Triple-A Columbus.

Antonetti also said he's exploring deals to improve the team before Thursday's 4 p.m. trade deadline.

"Our focus is to continue to try to win as many games as we can," he said. "We're currently in the midst of having conversations to bring players in to impact our team at the major league level. Whether or not that happens over the next 24 hours, there are a lot of factors in play and it's hard to handicap that."