Is there an Airbnb API? How to get listing prices for a city
Checked on 2026-11-19.
Airbnb has an API, but not one you can sign up for: it is for approved software partners, and Airbnb says it is not accepting new access requests. For a city's listing prices there are two practical sources. One is a free open dataset with a snapshot of a city's listings. The other is an HTTP API that returns what Airbnb's search shows right now, priced for your dates.
1. The official Airbnb API: partners only
Airbnb's partner page answers the question "How can I get access to Airbnb's API?" like this: "At this time, we are not accepting new access requests for our API. Our global team of partner managers will reach out to prospective partners based on the supply opportunity your business represents, strength of your technology, and ability to support our shared customers."
The same page says what the API is for: "The API allows development teams to securely Oauth into new and existing Airbnb accounts. Your application users will have the ability to push updates to content, rates, and availability." It is built for software that manages a host's own listings and reservations.
Where it stops: you cannot apply, and what the page describes is not a search over other people's listings. It does not answer "what do places in this city cost".
2. Free: the Inside Airbnb dataset
Inside Airbnb is an independent project ("not associated with or endorsed by Airbnb") that publishes files compiled from public information on Airbnb's site. In its words it "provides public access to quarterly datasets for cities and regions, covering approximately the last 12 months", under the Creative Commons Attribution 4.0 International licence.
Each city has a detailed listings.csv.gz, a calendar.csv.gz, a reviews.csv.gz and a smaller summary listings.csv. The Austin files on the page are dated 17 September, 2026. The summary file has one row per listing with, among others, id, name, neighbourhood, latitude, longitude, room_type, price, minimum_nights and number_of_reviews. The data dictionary defines price as the "daily price in local currency".
# pip install pandas
# Download the file once and keep it:
# https://data.insideairbnb.com/united-states/tx/austin/2026-09-17/visualisations/listings.csv
import pandas as pd
listings = pd.read_csv("listings.csv")
print(len(listings), "listings")
print(listings["price"].median(), "median daily price")
print(listings.groupby("room_type")["price"].median())The project's data policies ask you to take only the data you need, to download a file once and not on every run of a script, and to credit Inside Airbnb as the source.
Where it stops: it is a snapshot of one date, renewed about once a quarter, for the cities and regions on its list. price is the listing's daily price on that date. It is not a quote for a stay on your dates, and it holds no fees or taxes.
3. Live prices for your dates: an HTTP API
The Pipefetch listings endpoint returns what Airbnb's public search shows for a place, read without a login at the moment of your request. With a check-in and a check-out date the prices are Airbnb's quote for that stay.
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/airbnb/listings",
params={
"location": "Austin, TX",
"checkIn": "2026-12-10", # both dates, or neither
"checkOut": "2026-12-15",
"adults": 2,
"currency": "USD",
},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("Airbnb has no listings for this place and stay") # not charged
else:
res.raise_for_status()
data = res.json()["data"]
market = data["market"]
print(market["listingCount"], "listings, median per night:", market["medianNightlyRate"], market["currency"])
for listing in data["listings"]:
print(listing["nightlyRate"], listing["totalPrice"], listing["rating"], listing["name"], listing["url"])Each listing has its name, link, property type, coordinates, rating and review count, the number of nights priced, nightlyRate and totalPrice. market holds the median, lowest and highest nightly rate and the median total price of the listings in the answer. A request costs 1 credit, and most requests take 2 to 9 seconds. A place Airbnb has no listings for answers 404 no_results and costs nothing. A new account has 100 free credits and needs no card.
Where it stops: one request returns up to 18 listings, the first page of Airbnb's search results in Airbnb's order. There are no further pages and none of Airbnb's filters, such as price range or room type. market.truncated is true when Airbnb has more listings for the search. So the medians describe what Airbnb shows first, not the whole city: for every listing of a city, the dataset above is the better source. Amenities, host details, review texts and availability calendars are not included. It is not an official Airbnb API, and Pipefetch is not affiliated with Airbnb.
The date rule
checkIn and checkOut go together. Send both or neither, written YYYY-MM-DD, with the check-out later than the check-in. One date without the other, or a check-out that is not later, is refused with a 400 before anything runs, and nothing is charged.
Without dates Airbnb prices a stay of its own choosing and may apply its own long-stay discounts. The answer says so: market.datesWereRequested is false, and nights tells you how many nights each price covers. Such prices are a rough guide, and prices from two requests without dates cannot be compared. To price a stay, send the dates.
Which price is which
nightlyRateis the rate per night before taxes and one-off fees.totalPriceis what the guest pays for the stay.taxes,feesanddiscountare null when Airbnb's quote does not list them, and also when its parts do not add up to the total. In that second casepriceBreakdownCompleteis false.- Every price is in the
currencyyou ask for, USD unless you set another three-letter code. - The dataset's
priceis a daily price on the snapshot date. Do not expect it to match a quote for a stay next month.
Which one should you use?
| You need | Use |
|---|---|
| To manage your own listings from software | The official API, if Airbnb has made you a partner; it takes no new requests |
| Every listing of a city for analysis, where a snapshot from the last quarter is fine | Inside Airbnb |
| What Airbnb's search shows now, priced for specific dates | An HTTP API such as Pipefetch |
What Airbnb's terms say
Airbnb's Terms of Service say: "Do not use bots, crawlers, scrapers, or other automated means to access or collect data or other content from or otherwise interact with the Airbnb Platform." That sentence is about reading airbnb.com by program, whether with a script of your own or through a service such as this one. The only route Airbnb itself offers is the partner API. Read the terms and weigh them for your own use.
Try it with 100 free credits. No card needed. No scraper to build or maintain. Get an API key or read the docs.
APIs used in this guide
-
1 credit
Google Hotels API
Hotels for a place with Google's prices for your dates: nightly and total price, rating, star class, amenities and location.
GET /v1/google/hotels -
1 credit
Airbnb Listings API
The Airbnb listings of a place with nightly rate, total price, rating and coordinates, and the median rates across them.
GET /v1/airbnb/listings -
1 credit
Redfin Listings API
Homes for sale or recently sold in a US city, ZIP code, county or neighborhood, read from Redfin, with median prices.
GET /v1/realestate/listings
Guides for other sources
Every source
YouTube
- How to get a YouTube transcript in Python
- How to get a YouTube transcript in Node.js
- YouTube API quota exceeded: what the error means and how to fix it
- How to find a YouTube channel ID from a handle or URL
- How to download YouTube subtitles as SRT or VTT
- youtube-transcript-api RequestBlocked or IpBlocked: why it happens and how to fix it
- How to get YouTube comments in Python
- How to search YouTube from Python
- How to list a YouTube channel's videos in Python
- How to summarize a YouTube video with an LLM in Python
- How to get YouTube transcripts and video stats in Google Sheets
- How to get YouTube video views and likes in Python
- How to get YouTube transcripts in n8n, Make and Zapier
- LangChain YoutubeLoader fails on a server: why, and a loader that works
- How to get a YouTube channel's subscriber count in Python
- How to give Claude or Cursor access to YouTube (MCP server)
- How to get YouTube comments in Node.js
- How to analyze YouTube comments with an LLM in Python
- How to list a YouTube channel's Shorts in Python
- How to search YouTube from JavaScript
- How to get an Instagram follower count in Python
- Instagram Basic Display API alternatives: what to use after the shutdown
- Instaloader 401 Unauthorized, 429 and "Login required": what to do
- How to calculate an Instagram engagement rate in Python
- How to get an Instagram follower count in Node.js
- How to get Instagram follower counts in Google Sheets
- How to get Instagram Reel views in Python
Websites
- Clearbit Logo API alternatives: get a company logo from its domain
- How to extract email addresses from a website in Python
- How to turn a web page into Markdown in Python
- How to detect what a website is built with, in Python
- How to get the contact emails and phone numbers of websites in Google Sheets
- How to build a LangChain tool that reads web pages and searches Google
- How to turn a web page into Markdown in JavaScript for RAG
- How to extract social media links from a website in Python
- How to get a website's favicon in Python
- How to check robots.txt in Python before you fetch a page
TikTok
- How to get a TikTok video's views and likes in Python
- How to get the comments of a TikTok video in Python
- How to get a TikTok follower count in Python
- TikTok Research API: who can get access, and what to do if you cannot
- How to get TikTok video views, likes and shares in Node.js
- How to get TikTok views, likes and follower counts in Google Sheets
- How to get a Facebook Page's posts without app review
- Is there a Facebook Marketplace API?
- Facebook Groups API alternatives after its removal in 2024
- How to get a Facebook Page's follower count and contact details in Python
- How to get Google search results in Python
- pytrends 429 TooManyRequestsError: what it means and what to do
- How to get Google Trends data in Python
- Why is Wyoming first in Google Trends?
- How to get Google search results in Node.js
- How to get Google search results into Google Sheets
- How to give an LLM live Google results with tool calling
Threads
- How to get LinkedIn company data in Python
- How to search LinkedIn jobs from Python
- How to get a LinkedIn company page's latest posts in Python