HOSTING AND TOASTING: The Greenacre family -- (from left) Grete, Martyn and Anna, plus their friend Sara Main -- watch the royal smooch early yesterday from the daughter's apartment in Prospect Heights, Brooklyn.Paul Martinka

The city that never sleeps lived up to its name yesterday morning, as royal-wedding gawkers partied like merry kings in cozy apartment get-togethers, neighborhood block bashes and raucous bars at ungodly early hours.

Hundreds donned silly hats in DUMBO, strangers sucked down Pimm’s at traditional British pubs, and friends broke out the regal-looking china at loft shindigs — any excuse to throw a royal-theme party would do.

“We’ve got all the bunting, teas, scones, cucumber sandwiches — all the usual English stuff,” said Brooklyn Heights resident Sandra Dinning, 46, who got up at 5:04 a.m. and donned a black fascinator to party with hundreds of revelers under the Manhattan Bridge.

The get-together under the famed span — in the appropriately named Kings County — was one of the city’s largest, with an estimated 400 people toasting the new married couple 4,000 miles away.

“It’s fantastic. That’s why I love New York!” said Julie Lewis, an Upper West Side Zumba instructor who donned a vivid-red hat and high heels.

Just like the royals, decked out in their upper-crust duds, many New Yorkers sported their ceremonial best.

Top hats, tiaras and tails ruled the suddenly neat streets of New York in a way not seen since the redcoats evacuated over 200 years ago.

“Today, I’m seeing quite a lot of Americans wearing them, more than hats, in fact!” said Nicky Perry, a British expat celebrating with about 100 monarchy buffs at the English pub Lyon in the West Village.

She wore a white fascinator, a Union Jack gown, crown earrings and sneakers with Brit flag.

“It’s all about the hats, fashion and pomp and circumstance. We Brits do that so well,” said Lyn Leigh, of Hempstead, England.

She and dozens of others feasted on a traditional English breakfast of black sausage, fried beans, pork sausage, fried bread and fried tomato.

Martin Greenacre drove up from Philadelphia, donned a tux shirt and a bow tie with his jeans and watched the wedding at his daughter’s apartment party in Prospect Heights.

His daughter was a little less formal. She watched the pomp on TV in her PJs — but she did throw on a chic plumed hat for the occasion.

“This is as close to a fairy tale as you can get,” said Anna Greenacre, 30, who served her guests English muffins, tea in fine china, quiche and mimosas, which she called by their British moniker, “Buck’s fizz.”

Parties all over New York ranged from a flashy Times Square jamboree — featuring the wedding on a big screen — to the more muted fete in Trinity Church, which, like Westminster Abbey, is a member of the Anglican Communion.