A whale was spotted frolicking in waters near the New York Harbor on Tuesday, according to footage posted on the NYPD Special Ops’ Twitter account.

An NYPD Harbor Unit captured the massive mammal on video, bopping around near Hoffman Island, just south of the Verrazzano-Narrows Bridge, cops said Wednesday.

“#NYPD Harbor welcomed a special tourist to New York Harbor yesterday,” said the tweet.

The leviathan was identified as a humpback by Paul Sieswerda, the director of Gotham Whale, a nonprofit that’s been collecting data on Atlantic whales since 2011.

There have been 166 whale sightings close to the New York Harbor so far this year, said Sieswerda.

One of the colossal cetaceans popped up around Raritan Bay off the coast of Staten Island last month, breaching about 100 feet from a fishing boat.

A recent rise in the maritime visits can be attributed to a cleaner harbor and the resurgence of a feeder-fish species called Menhaden, whale-watchers have said.

“Its cause and effect. More fish are coming back to the area, so more whales coming to feed on the fish,” said Sieswerda.