Anyone who rents an apartment in Boston knows the city is an expensive place to live. Trouble is, it's getting worse.

Real estate data firm Trulia has crunched the numbers in the 25 largest rental markets in the country.

Not only is the city among the least affordable in the country, but it saw a steep rent increase between May 2012 and May 2013.

The median rent jumped substantially in Miami, too. And Boston doesn't look so bad in comparison. But that may not be the best comparison.

The two cities, it turns out, saw some of the biggest rent hikes in the nation over the last year — ranking second and third, respectively, among the top 25 largest rental markets.

Think affordability will be an issue in the mayor's race?

Benjamin Swasey built the infographics.