Actor picture

Airbnb Scraper


Extract data for a location from Airbnb. You can scrape all home listings, even for big cities, and get all listing information and reviews from publicly available Airbnb data. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.

No credit card required

Author's avatarTin Duong
  • Modified
  • Users1,197
  • Runs13,259

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running actors via the API in Apify Docs.

const { ApifyClient } = require('apify-client');

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',

// Prepare actor input
const input = {
    "locationQuery": "Sacramento",
    "maxListings": 10,
    "maxReviews": 10,
    "currency": "USD",
    "proxyConfiguration": {
        "useApifyProxy": true
    "maxConcurrency": 50,
    "limitPoints": 100,
    "timeoutMs": 60000

(async () => {
    // Run the actor and wait for it to finish
    const run = await"dtrungtin/airbnb-scraper").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {