Skip to main content
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=2026-01-01&checkOut=2026-01-05' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
locationNew YorkYesThe location to search for listings.
checkIn2026-01-01YesThe check-in date for the listings.
checkOut2026-01-05NoThe check-out date for the listings.
adults-NoNumber of adults.
children-NoNumber of children.
infants-NoNumber of infants.
pets-NoNumber of pets.
nextPageToken-NoThe token used to retrieve the next page of results.