When you find an apartment you like, you can use online tools like SpotCrime to determine how safe the neighborhood is.