The most expensive ZIP code in America isn't in Silicon Valley.
It's Sagaponack, New York, the summer destination of Billy Joel and the Clinton family, among others.
Over the past year, homes in the area, part of the Hamptons, sold for a median price of over $5 million.
The list of most expensive ZIP codes was compiled by the data team at real estate listings site Property Shark, which calculated the median sale price for each ZIP code based on closed sales that took place between January 2014 and June 2015.
They found that the most expensive places to buy a house are on either coast, with New York, Florida, and California dominating the list.
Here's what the most exclusive communities in the country look like.
All median sale price data was provided by Property Shark. Median household income comes from the US Census Bureau.
SEE ALSO: Here's the salary you have to earn to buy a home in 15 major US cities
20. San Marino, California (91108)
San Marino isn't just a tiny country neighbored by Italy — it's also a wealthy community near Pasadena in Los Angeles County. One of its major attractions are the botanical gardens and art collection at the Huntington Library, which was formerly the mansion of a railroad baron but is now open to the public.
Median sale price: $2,134,000
Median household income: $140,703
19. Pacific Palisades, California (90272)
Pacific Palisades is part of the city of Los Angeles, so it's no surprise that plenty of celebrities choose to call it home. You might find that Rihanna or NBA superstar Blake Griffin is your neighbor.
Median sale price: $2,240,000
Median household income: $159,696
18. Newport Beach, California (92661)
Arguably best known as the setting of TV show "The OC," Newport Beach is one of the most expensive communities in the country. ZIP code 92661 covers the Balboa Peninsula in Newport Beach, a small strip of land with some of the most incredible views (and property prices) around.
Median sale price: $2,300,000
Median household income: $90,357
See the rest of the story at Business Insider