NEW YORK • The tally is in: Amazon received 238 proposals from cities, states, districts and territories interested in hosting the company’s second headquarters.

The online retail giant published a map Monday showing that bids came from D.C. and all but seven states — Arkansas, Hawaii, Montana, North Dakota, South Dakota, Vermont and Wyoming — as well as from most of southern Canada, three regions of Mexico and Puerto Rico.

Last month, Amazon announced it wanted to open a second North American headquarters, setting off a scramble among economic development officials from the United States, Canada and Mexico eager for as many as 50,000 jobs and $5 billion of investment the company says it plans to make in another city.

Besides looking for financial incentives, Amazon had stipulated that it was seeking to be near a metropolitan area with more than a million people; be able to attract top technical talent; be within 45 minutes of an international airport; have direct access to mass transit; and be able to expand that headquarters to as much as 8 million square feet in the next decade.