In a new survey of the country’s most expensive ZIP codes, California led the pack with 77, but Massachusetts made a respectable appearance.
The Real estate site PropertyShark ranked the top 100 priciest ZIP codes in the country based on closed home sales. This year, there were 110 on the list, due to various ties.
Boston’s 02108 ZIP code, which includes much of downtown, ranked No. 81 on the list and Wellesley Hills’s 02481 ZIP code squeezed in at No. 97. In 02108, the median sale price was $1,475,000, and in 02481, it was $1,390,000.
Only 11 states made the list: California, New York, Florida, Massachusetts, Colorado, Connecticut, Hawaii, Maryland, New Jersey, Nevada, and Washington.
PropertyShark noted that they looked at all residential transactions that closed in 2017, taking into account condos, co-ops, and single- and two-family homes.
The top 10 most expensive ZIP codes were:
See what other ZIP codes made the list.
Subscribe to our free real estate newsletter — our weekly digest on buying, selling, and design — at pages.email.bostonglobe.com/AddressSignUp.