Airbnb Scraper avatar

Airbnb Scraper

Try for free

Pay $1.00 for 1,000 results

View all Actors
Airbnb Scraper

Airbnb Scraper

curious_coder/airbnb-scraper
Try for free

Pay $1.00 for 1,000 results

Scrape airbnb listings from search results and extract complete details for each property including cost, description, photos, review, rating and host details, etc

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  "urls": [
8    "https://www.airbnb.co.in/s/India/homes?tab_id=home_tab&refinement_paths%5B%5D=%2Fhomes&flexible_trip_lengths%5B%5D=one_week&monthly_start_date=2024-07-01&monthly_length=3&monthly_end_date=2024-10-01&price_filter_input_type=0&channel=EXPLORE&query=India&place_id=ChIJkbeSa_BfYzARphNChaFPjNc&location_bb=Qg6xeULCymxAzs5wQog4Kw%3D%3D&date_picker_type=calendar&checkin=2024-06-29&checkout=2024-07-05&source=structured_search_input_header&search_type=autocomplete_click",
9    "https://www.airbnb.com/rooms/1135700964697993602?adults=1&category_tag=Tag%3A8099&children=0&enable_m3_private_room=true&infants=0&pets=0&photo_id=1884775584&search_mode=flex_destinations_search&check_in=2024-08-06&check_out=2024-08-11&source_impression_id=p3_1722932634_P3cX0ltCq-IPA6hc&previous_page_section_name=1000&federated_search_id=3fbe074c-e6fe-499c-91e8-3150ebc465f3",
10    "https://www.airbnb.co.in/users/show/212911408"
11  ],
12  "count": 100
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/curious_coder~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/curious_coder~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/curious_coder~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/curious_coder~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
  • 26 monthly users
  • 2 stars
  • 94.9% runs succeeded
  • 2.2 hours response time
  • Created in Jun 2024
  • Modified 1 day ago