The Orioles acquired first baseman Ryan O’Hearn from the Royals for cash Tuesday.