LOS ANGELES — Airbnb started with three air mattresses on the floor of a San Francisco apartment. Seven years later, it’s worth as much as Marriott.

The short-term rental giant, which connects travelers with spare bedrooms or entire homes, has raised enough investor money to value the company at $20 billion. Airbnb “hosts” now list 1.2 million rentals worldwide.

Now the Silicon Valley company finds itself caught between investors’ appetite for fast growth and rising protests over its effect on neighborhoods and hotel jobs. The company’s swift rise has come in a regulatory gray zone, avoiding the strict rules governing hotels or traditional landlords.

Airbnb continues to promote an image of helping mom-and-pop homeowners raise a little extra cash, but its platform has drawn far bigger operators who buy properties to rent out full-time. That’s brought both profits and headaches, particularly as the company considers an initial public offering that could bring even more pressure for growth.

Advertise with us

Cities from New York to Santa Monica, Calif. are trying to figure out how best to zone, tax and oversee this new industry. As they do, they’re getting an earful from hotel workers’ unions worried about the effect on their jobs, housing advocates worried about a shortage of affordable apartments and neighbors wary of strangers on their block every day.

Airbnb has responded with a battalion of lobbyists, especially in big states such as California and New York, along with beefed-up PR operations. It has hired veterans of Silicon Valley, the Obama administration and big labor unions.

To Nathan Blecharczyk, one of the trio of Airbnb co-founders who still run the company today, these are good problems to have. It was just seven years ago that his friends Brian Chesky and Joe Gebbia laid out those air mattresses for people coming to a San Francisco design conference. Now, every night, 400,000 people use their website to do something similar.

Like Google and Uber, Airbnb has even achieved that emblem of digital age ubiquity: Its name has become a verb.

But for the company’s many critics, these questions cut to the core of Airbnb’s business model, and in some ways to the entire concept of the so-called sharing economy, which includes rising car-sharing giants such as Uber that also face vexing regulatory battles.

Advertise with us

To Steve Unger, a Portland, Ore., innkeeper who writes a blog on the short-term rental industry, it’s like Airbnb is two companies.

One is what Unger calls “Good Airbnb.” That’s a website that enables people to rent out spare bedrooms for extra cash and meet interesting travelers over homemade pancakes. This is what you see in the company’s ads and hear from the hosts Airbnb brings to testify at public hearings.

Then there’s “Bad Airbnb,” a platform that allows landlords to easily rent whole apartments or homes to a parade of strangers, taking them off the traditional housing market entirely. They operate as unlicensed hotels where who-knows-what might happen, and nobody seems to be responsible.

“I’d like to see the Good Airbnb flourish,” he said. “I’d like to see the Bad Airbnb go away.”

The thing is, Bad Airbnb makes a lot of money.

Advertise with us

The company charges a 9 percent to 15 percent fee on each listing, making bigger rentals a lot more profitable. On a $360-per-night three-bedroom apartment in Venice, for instance, Airbnb’s cut on a two-night stay in June would be more than $100. Rent the same dates in a $95-per-night spare bedroom nearby, and the company collects just $29.

While the company touts “home sharing” — the spare-room rental — in its advertising and political campaigns, nearly two-thirds of listings in L.A. and other big markets are for whole units, according to a recent study by the Los Angeles Alliance for a New Economy, a labor-backed think tank. Those units generate 89 percent of the company’s revenue here, LAANE estimates.

Airbnb disputes the LAANE study, but observers say its findings suggest the company has little interest in reining in full-time operators.

“Airbnb profits from transactions,” said Yassi Eskandari-Qajar, city policies program director at the Sustainable Economies Law Center in Oakland. “There’s no incentive for them to put limits on how many people can do this, how much they can charge or how many homes they list.”

But, she notes, Airbnb is mindful of political pressure. And when pushed, it has agreed to changes.

Advertise with us

Airbnb is trying to tell its own story. The company has dispatched a team of community organizers in L.A. and elsewhere to help mobilize hosts that best reflect the “Good Airbnb.”

One afternoon last month, dozens of hosts showed up on the lawn outside Santa Monica City Hall for a rally against a law banning full-unit short-term rentals. They hoisted signs like “Home Sharing equals Affordable Housing” and “Let Us Host” and eagerly shared their experiences.

Mary Williams was there. A single mom who lives in Century City, she rents out her converted garage on Airbnb. It helps pay the bills, she said, and she meets lots of interesting people, like the Australians who were staying there the week of the Santa Monica rally.

Putting a friendly face on Airbnb helps policymakers and critics alike understand it, said Ms. Williams, who has spoken several times to neighborhood councils that were considering anti-short-term-rental measures. When they meet the real people the company helps, she said, many opponents change their minds.

“City councils are starting to get it,” she said. “Before, there was a lot of ignorance. But we’re getting the message through.”

Advertise with us

The company has a fine line to walk between getting right with the law and squelching its own growth, especially if it plans to go public.

Any successful public stock offering would hinge on continued rapid growth. At $20 billion, the company’s purported valuation is already a rich sum for the market to swallow, said Sam Hamedah, chief executive of PrivCo, a private company research firm.

Airbnb’s closest publicly traded rival, vacation rental site Homeaway, clocks in at less than $3 billion. Mr. Hamedah says he’s seen Airbnb’s number of listings flatten out lately. Investors — and maybe federal securities regulators — will have a problem with the fact that most of its listings in big cities are technically illegal.

“An IPO filing would have more red flags than a military parade,” he said.

This story was originally published with images that are no longer available.