according to data compiled by Property Shark.  

While most of the zip codes on this list are located in two of the country's largest states, Florida's Miami Beach does appear in the top-five most expensive locales. 

Property research firm Property Shark determined its list by looking at the median price of residential transactions that closed in 2016, including co-ops, condos, single and two-family homes.  TheStreet takes a look at the top 10.

10. Portola Valley, CA

Zip Code: 94028 

Median Home Selling Price: $2,815,000

9. Los Altos, CA

Zip Code: 94022

Median Home Selling Price: $2,831,250

8. Palo Alto, CA

Zip Code: 94301

Median Home Selling Price: $2,935,000

7. Beverly Hills, CA

Zip Code: 90210

Median Home Selling Price: $3,128,250

6. TriBeCa/Financial District, New York City

Zip Code: 10007

Median Home Selling Price: $3,349,657

5. Santa Monica, CA

Zip Code: 90402

Median Home Selling Price: $3,395,000

4. Miami Beach, FL

Zip Code: 33109

Median Home Selling Price: $3,400,000

3. Canal Street/Chinatown, New York City

Zip Code: 10013

Median Home Selling Price: $3,808,765

2. Atherton, CA

Zip Code: 94027

Median Home Selling Price: $5,425,000

1. Sagaponack, NY

Zip Code: 11962

Median Home Selling Price: $5,500,000

More from Investing

Novo Nordisk Stock Rises 4% Over 2 Sessions

Novo Nordisk Stock Rises 4% Over 2 Sessions

This Is What's Hot Thursday - Stocks Slide, Intel's CEO Woes & Major Movers

This Is What's Hot Thursday - Stocks Slide, Intel's CEO Woes & Major Movers

Daimler's Profit Warning Should Terrify Traders Before Earnings Season Begins

Daimler's Profit Warning Should Terrify Traders Before Earnings Season Begins

Starbucks Stock Performance in 2018: -12%

Starbucks Stock Performance in 2018: -12%

Online Retailers Hit by Supreme Court Ruling Requiring Sales Tax Collection

Online Retailers Hit by Supreme Court Ruling Requiring Sales Tax Collection