Ranked by metropolitan area population. The city proper may not be on the ocean, but the urbanized area must extend to ocean shores (beaches, not swampy bays or inlets). Bays not included.
Are you including the Gulf of Mexico or not? Cause if not then Tampa and Sarasota shouldn't be on here, but if you are then surely cities like New Orleans or Houston would be on here.