Airbnb Scraper avatar
Airbnb Scraper
Try for free

1 day trial then $25.00/month - No credit card required now

View all Actors
Airbnb Scraper

Airbnb Scraper

onidivo/airbnb-scraper
Try for free

1 day trial then $25.00/month - No credit card required now

Crawl the Airbnb site and extract data about rentals. Scrape rental details for any location with many filters. Download and use the data in whatever way you want.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "location": "Malaga, Spain",
8  "startUrls": [
9    {
10      "url": "https://www.airbnb.com/rooms/31671872"
11    },
12    {
13      "url": "https://abnb.me/S2zNfBpfo9"
14    }
15  ],
16  "maxItems": 100,
17  "maxReviews": 10,
18  "calendarMonths": 0,
19  "currency": "USD",
20  "limitPoints": 100,
21  "proxyConfiguration": {
22    "useApifyProxy": true
23  },
24  "maxConcurrency": 50,
25  "timeoutMs": 60000
26}
27EOF
28
29# Run the Actor using an HTTP API
30# See the full API reference at https://docs.apify.com/api/v2
31curl "https://api.apify.com/v2/acts/onidivo~airbnb-scraper/runs?token=$API_TOKEN" \
32  -X POST \
33  -d @input.json \
34  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 14 monthly users
  • 82.1% runs succeeded
  • 0.0 days response time
  • Created in Feb 2024
  • Modified 28 days ago