🗄 Airbnb Data API & Scraping

Unofficial 👉 Official Website: https://www.airbnb.com | 👥 Contributors: steve

Scraping Airbnb Data

Airbnb doesn’t offer a public API for collecting public listings data, making it tricky to perform market research in the short-term rentals market.

Official API

There is an Airbnb Partner API available, however it appears mostly geared towards interacting with Airbnb on behalf of a limited set of properties versus collecting public data from multiple properties. Furthermore, the API is by invite-only, making it unavailable to most people.

Scraping Companies

If you have some money to spare, your best bet is to use a company that specializes in Airbnb data collection. One company with historical Airbnb data is AirDNA, which offers data about occupancy rates, pricing & property revenue.

Open Source Software

If you’d prefer to access the raw data (instead of from a third party company), there are a few open source libraries you can use to access raw Airbnb data.

Browser Extensions

You can always browse the Airbnb Website and use a browser extension to collect data from the HTML you’re viewing:

Scrape Listings

You can use the endpoints here to scrape individual listings from a particular area and plot on a map. This video shows you how to get ALL the listings for a given area, because Airbnb usually restricts search results to only the first 300 listings.

Occupancy Rate Scraping

The availability calendar endpoint can be used to determine the occupancy rate for different listings one year into the future. You can use this to estimate how booked current listings are and periodically watch this data to determine historical occupancy rates.

Reviews Scraping

The reviews endpoint lets you get back data for all Airbnb reviews and see the star ratings for each review, who posted it, when the review was posted, etc… Watch this video for more details.

The Secret API

Using the open source libraries linked to above, we can reveal a “secret” API that Airbnb uses to communicate data between its servers & clients. While the software used to interact with their secret API is made publicly available in the form of their app & website, using this secret API may violate their terms of service (which alone is not illegal).

For fun, we’ve aggregated the “secret” endpoints that the above open source libraries describe. Each URL also includes potential inputs that each endpoint may expect, again - just for fun to illustrate what an official scraping API may look like.

The URLs on this page are provided “as-is” and are for informational purposes only. Use these URLs at your own risk if you’re interested in security research or similar, as using these URLs may violate Airbnb’s terms of service and even result in getting your account & IP address banned!

Disclaimer: These URLs are not part of an official API endorsed by airbnb.com and are documented here only for informational purposes. They were obtained through use of software or services made publicly available by airbnb.com. Use of these URLs may breach the terms of service governing airbnb.com.