Airbnb Scraper avatar

Airbnb Scraper

Try for free

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

View all Actors
Airbnb Scraper

Airbnb Scraper

caprolok/airbnb-scraper
Try for free

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

The Airbnb Scraper collects comprehensive data from Airbnb, including listings, prices, host details, reviews, and availability. Perfect for market research, competitive analysis, or investment insights, it delivers real-time, structured information to streamline decision-making.

You can access the Airbnb Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json << 'EOF'
6{
7  "startUrls": [
8    "https://www.airbnb.co.in/s/Downtown-Chicago--Chicago--Illinois--United-States/homes?tab_id=home_tab&refinement_paths%5B%5D=%2Fhomes&flexible_trip_lengths%5B%5D=one_week&monthly_start_date=2024-10-01&monthly_length=3&monthly_end_date=2025-01-01&price_filter_input_type=0&channel=EXPLORE&query=Downtown%20Chicago%2C%20Chicago%2C%20Illinois%2C%20United%20States&place_id=ChIJF2eEdK8sDogR_bsJDuvHPbw&date_picker_type=calendar&search_type=filter_change&search_mode=regular_search&price_filter_num_nights=5&checkin=2024-09-06&checkout=2024-10-02&adults=1&children=1&infants=1&pets=1"
9  ],
10  "proxyConfiguration": {
11    "useApifyProxy": true
12  }
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/caprolok~airbnb-scraper/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'

Airbnb Scraper API

Below, you can find a list of relevant HTTP API endpoints for calling the Airbnb Scraper Actor. For this, you’ll need an Apify account. Replace <YOUR_API_TOKEN> in the URLs with your Apify API token, which you can find under Integrations in Apify Console. For details, see the API reference .

Run Actor

POST
https://api.apify.com/v2/acts/caprolok~airbnb-scraper/runs?token=<YOUR_API_TOKEN>

Note: By adding the method=POST query parameter, this API endpoint can be called using a GET request and thus used in third-party webhooks. Please refer to our Run Actor API documentation .

Run Actor synchronously and get dataset items

POST
https://api.apify.com/v2/acts/caprolok~airbnb-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>

Note: This endpoint supports both POST and GET request methods. However, only the POST method allows you to pass input data. For more information, please refer to our Run Actor synchronously and get dataset items API documentation .

Get Actor

GET
https://api.apify.com/v2/acts/caprolok~airbnb-scraper?token=<YOUR_API_TOKEN>

For more information, please refer to our Get Actor API documentation .

Actors can be used to scrape web pages, extract data, or automate browser tasks. Use the Airbnb Scraper API programmatically via the Apify API.

You can choose from:

You can start Airbnb Scraper with the Apify API by sending an HTTP POST request to the Run Actor endpoint. An Actor’s input and its content type can be passed as a payload of the POST request, and additional options can be specified using URL query parameters. The Airbnb Scraper is identified within the API by its ID, which is the creator’s username and the name of the Actor.

When the Airbnb Scraper run finishes you can list the data from its default dataset (storage) via the API or you can preview the data directly on Apify Console .

Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 0 stars
  • Created in Sep 2024
  • Modified about 13 hours ago