2322268613_fdeb7f25b0_o

Keith Burkett | CC BY-SA 2.0

Amazon announced the top 20 cities in its search for a location for its second headquarters in January — which included Philadelphia. Now, one marketing agency known as Digital Third Coast, ranked those cities based on best late night food options. 

Of the 20 cities, Philadelphia was ranked No. 7.

The rankings were based off of each city's number of options, the variety of cuisine, the average Google restaurant rating, the number of 24-hour restaurants, and a transit score. 

Washington D.C. claimed the No. 1 spot, topping New York City, which came in second. Despite New York's greater availability of 24-hour restaurants, D.C.'s eateries received better ratings than New York's did overall.

After New York, Chicago was ranked third, Miami was ranked fourth, Boston was ranked fifth, and Los Angeles was ranked sixth.

The researchers found Philadelphia's average restaurant closing time to be 2:10 am and that the city only has one 24-hour restaurant. Philly’s average Google restaurant rating was 4.2. 

The city received a score of 15 out of 16 for the "variety of cuisine" category, and a transit score of 67 out of 84.

An interactive map on Philly.com looks at Amazon's top 20 cities and compares based on the adults with college degrees, average salary, average housing cost, minority population, violent crime rate, average commute time, and more. 

All comments eligible for publication in Daily Pennsylvanian, Inc. publications.