Airbnb has filed a lawsuit in an effort to overturn Boston’s new short-term rental law, and is asking a judge to block the stringent rules from

In a federal court filing on Tuesday, Airbnb claims that Boston’s regulations requiring online rental platforms to police their listings and share user information with the city violate state and federal laws.

Under the rules set to take effect in January, Airbnb investors and apartment tenants would be prohibited from renting their homes by the night, and property owners would not be allowed to list more than one unit on the website. Airbnb has about 6,300 listings in Boston. Studies suggest an outsized share of its business comes from investors and other hosts the rules are aimed at curtailing.

The Walsh administration and some neighborhood groups say the exploding short-term rental industry is exacerbating Boston’s housing shortage because landlords take apartments out of the general rental market to instead lease them by the night to tourists.

....