Photo: Helayne SeidmanA mystery buyer­ has set a New York record, paying more than $100 million for a duplex occupying the top floors — the 89th and 90th — of a skyscraper on “Billionaires’ Row.’’

The “incredibly secretive’’ buyer shelled out $100,471,452.77 for the residence on West 57th Street — the most anyone has ever paid for a city apartment, a source said.

The previous record was set in 2012, according to Web-site Streeteasy, when a Russian fertilizer czar bought the penthouse at 15 Central Park West that had been owned by ex-Citi­group honcho Sandy Weil.

It cost the manure magnate $88 million.

ONE57 was designed by award-winning architect Christian de Portzamparc — but has been reviled by many for casting a giant shadow across Central Park.

At more than 1,000 feet tall, it was briefly the tallest residential building in Manhattan. But that record has since been eclipsed by 432 Park Ave., which bills itself as the highest apartment tower in the Western Hemisphere.

ONE57 boasts walls of glass that frame Central Park. About half the buyers are foreigners.

While it was under construction, Hurricane Sandy snapped a crane, stopping traffic for six days as it dangled over the roof for days.