Airbnb
Learn how to use the Airbnb scraper.
With Web Scraper API, you can scrape various types of Airbnb pages; below is an overview of all supported scrapers and their respective source
values.
airbnb_product
Submit any room ID to scrape a property page.
airbnb
Submit any Airbnb URL you like.
Getting started
Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboard to create your API user credentials (USERNAME
and PASSWORD
).
If you need more than one API user for your account, please contact our customer support or message our 24/7 live chat support.
Request sample
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "airbnb_product",
"product_id": "11984394",
"render": "html"
}'
We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Optionally, you can include additional parameters such as user_agent_type
, render
, and more to customize your scraping request. Read more:
Last updated
Was this helpful?