More than half the New York City listings on Airbnb’s Web site violate the state’s new law banning ads for short-term rentals, according to an analysis released Friday.

The site ValuePenguin.com said 57 percent of the listings in the five boroughs — more than 5,000 homes — are advertising short-term rentals for complete apartments.

People advertising those units face fines of $1,000 for the first offense, $5,000 for the second and $7,500 for the third because rentals of less than 30 days are forbidden unless the host also stays there.

The analysis found that Airbnb hosts in some of the city’s hippest ZIP codes face the most fines.

In East Williamsburg, for example, 314 full apartments were advertised — with potential fines totaling $2,355,000.

Host Avkash Kana’s East Harlem home, which he rents for $2,700 a month, is among those listings.

Kana said he has yet to attract a customer and is outraged that he might face stiff fines just for an ­online posting.

“I haven’t even done anything, and according to these laws, I’ve already done something illegal,” he said.

“So, how does that work? If I post something on a blog and mention Airbnb, are you going to say that’s illegal and has to be taken down? These laws are a complete violation of our freedom of speech.”