The Airbnb Listing API allows users to retrieve listings from Airbnb based on location and check-in/check-out dates.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/airbnb/listing?location=New%20York&checkIn=2023-01-01&checkOut=2023-01-02' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
locationNew YorkYesThe location to search for listings.
checkIn2023-01-01YesThe check-in date for the listings.
checkOut2023-01-02NoThe check-out date for the listings.
nextPageToken-NoThe token used to retrieve the next page of results.