Alex Rodriguez is the highest-paid baseball player of all time, with more than $450 million in earnings.

In all, 42 players have already made more than $150 million.

Roughly half of the players spent at least part of their careers with either the New York Yankees or the Los Angeles Dodgers.

Visit Business Insider's homepage for more stories.

Thanks to skyrocketing contracts that are fully guaranteed and a sport that allows for a 20-year career, baseball players are some of the richest among athletes.

Despite recently-inked massive contracts for the likes of Mike Trout and Mookie Betts, Alex Rodriguez is still MLB's career leader in earnings with over $450 million. However, that will eventually change as Trout is already guaranteed to make at least $507 million in his career thanks to his latest contract.

In all, 42 players have already made at least $150 million, half of whom — like A-Rod — played at least part of the careers with the New York Yankees or the Los Angeles Dodgers.

Using data from spotrac.com, we've compiled a list of the highest-paid players in the history of baseball below.

Cork Gaines contributed to a previous version of this story.