The Airbnb Scraper collects listings for short-term rentals based on location and date range. Results include title, price, number of guests, rating, reviews, and amenities. You must provide a location and check-in/check-out dates.

This scraper job is asynchronous. You’ll receive a jobId, and can fetch results via polling or webhook delivery.

Example Request

curl --request POST \
  --url 'https://api.hasdata.com/scrapers/airbnb/jobs' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>' \
  --data '{
    "location": "Barcelona, Spain",
    "checkIn": "2025-06-01",
    "checkOut": "2025-06-05"
  }'

Job Parameters

location
string
required

City, region, or destination to search listings in, e.g. “Paris”, “Los Angeles”, “Kyoto”

checkIn
string
required

Check-in date in yyyy-MM-dd format, e.g. "2025-06-01"

checkOut
string
required

Check-out date in yyyy-MM-dd format, e.g. "2025-06-05"

Getting Results

Webhooks

Receive real-time updates when your scraper job starts, completes, or collects data.

Results API

Use the Results API to fetch your data using the jobId, with support for polling and pagination.

Stopping a Job

Cancel an active scraper job early if it’s no longer needed or you want to save credits.