# Airbnb (`your-scraper/airbnb`) Actor

Scrapes Airbnb search results and returns structured data for each listing found — price, rating, host status, location, and photos. Output is delivered as a clean, ready-to-use dataset.

- **URL**: https://apify.com/your-scraper/airbnb.md
- **Developed by:** [Code and Curl](https://apify.com/your-scraper) (community)
- **Categories:** Real estate, AI, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 redfins

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Airbnb Search Scraper

Scrapes Airbnb search results and returns structured data for each listing found — price, rating, host status, location, and photos. Output is delivered as a clean, ready-to-use dataset.

### ✨ Features

- **Listing extraction** — gets search result listings with price, rating, review count, superhost status, bedroom/bed/bath details, coordinates, and photos
- **Pagination support** — automatically pages through search results until the requested number of items is collected
- **Proxy support** — optional proxy configuration for larger-scale runs

### 🔧 Input Configuration

| Field              | Type    | Required | Default                      | Description                                        |
| ------------------ | ------- | -------- | ---------------------------- | -------------------------------------------------- |
| startUrls          | Array   | ✅       | one Bangkok search URL       | Airbnb search result URLs to scrape                |
| maxItems           | Integer | —        | 5                            | Maximum number of listings to scrape per start URL |
| proxyConfiguration | Object  | —        | `{ "useApifyProxy": false }` | Proxy settings for the run                         |

**Supported URL types:**

- Airbnb search result URLs, e.g. `https://www.airbnb.com/s/Bangkok--Thailand/homes?...` — any filters set in the URL (dates, guests, price range, map area, etc.) are respected

### 📦 Output

The dataset includes one "Overview" table view showing each listing's title, price, rating, review count, superhost status, and URL.

**Sample output:**

```json
{
    "id": "1492865907189208216",
    "title": "Apartment in Huai Khwang",
    "subtitle": "40sqm 1 bedroom with bathtub balcony LOFT-D4/3 people/rooftop pool/near RCA/near train night market/near tonglor",
    "url": "https://www.airbnb.com/rooms/1492865907189208216",
    "price": "$583",
    "priceQualifier": "for 12 nights",
    "rating": 4.92,
    "reviewsCount": 1171,
    "isSuperhost": false,
    "roomDetails": ["1 bedroom", "1 bed", "1 bath"],
    "latitude": 13.75411,
    "longitude": 100.58297,
    "images": [
        "https://a0.muscache.com/im/pictures/hosting/Hosting-1492865907189208216/original/9426ee5a-ffb6-4f87-a7a9-126bb63a181d.png"
    ],
    "searchUrl": "https://www.airbnb.com/s/Bangkok--Thailand/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ82ENKDJgHTERIEjiXbIAAQE&date_picker_type=calendar&checkin=2026-08-11&checkout=2026-08-23&adults=1&query=Bangkok%2C%20Thailand"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### 💡 Uses of This Data

- Price monitoring across a destination or neighborhood
- Market research on short-term rental supply and pricing
- Feeding listing data into a booking comparison or aggregator tool
- Tracking superhost density and review trends in a market
- Building location-based heatmaps of rental availability and price

### 🚀 How to Use

1. [Sign up](https://apify.com/sign-up) for a free Apify account — includes **$5 monthly credit**.
2. Open the actor page and click **Try for free**.
3. Fill in the **Input** fields (an Airbnb search URL is required).
4. Click **Start** and wait for the run to complete.
5. Download results from the **Output** tab in JSON, CSV, or Excel format.

You can also run this actor via the [Apify API](https://docs.apify.com/api/v2) or integrate it directly into your workflows using [Zapier](https://zapier.com/apps/apify), [Make](https://www.make.com/), or [n8n](https://n8n.io/).

### ⚠️ Limitations & Known Issues

- **Rate limiting** — Heavy usage may trigger rate limits; enable a proxy for large-scale runs.
- **Ranking drift** — Airbnb's search ranking can shift slightly between requests, so a listing may occasionally repeat or shift position across pages of the same run; duplicate listings within a run are automatically filtered out.

### 📝 Notes

- **Proxy recommended for large-scale scraping** — For high-volume runs, enable a proxy to avoid blocks.
- **API integration** — This actor can be called as an API from any automation platform (Zapier, Make, n8n, custom scripts).
- **Data consistency with proxies** — When using proxies with multiple IP locations, some data (e.g. prices, availability) may vary by region.

### 🔗 Other Actors

> *Developer: add links to your related actors here.*

### 💬 Support & Contact

If you encounter any issues or have questions, please [open an issue](https://github.com/) or reach out via the [Apify Community Forum](https://community.apify.com/).

You can also find more of our actors on the [Apify Store](https://apify.com/store).

# Actor input Schema

## `startUrls` (type: `array`):

Airbnb search result URLs to scrape, e.g. https://www.airbnb.com/s/Bangkok--Thailand/homes

## `maxItems` (type: `integer`):

Maximum number of listings to scrape per start URL.

## `proxyConfiguration` (type: `object`):

Proxy settings. Airbnb's search API works without a proxy for light usage; enable one for larger runs to avoid rate limiting.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.airbnb.com/s/Bangkok--Thailand/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ82ENKDJgHTERIEjiXbIAAQE&date_picker_type=calendar&checkin=2026-08-11&checkout=2026-08-23&adults=1&query=Bangkok%2C%20Thailand"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.airbnb.com/s/Bangkok--Thailand/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ82ENKDJgHTERIEjiXbIAAQE&date_picker_type=calendar&checkin=2026-08-11&checkout=2026-08-23&adults=1&query=Bangkok%2C%20Thailand"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("your-scraper/airbnb").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.airbnb.com/s/Bangkok--Thailand/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ82ENKDJgHTERIEjiXbIAAQE&date_picker_type=calendar&checkin=2026-08-11&checkout=2026-08-23&adults=1&query=Bangkok%2C%20Thailand" }] }

# Run the Actor and wait for it to finish
run = client.actor("your-scraper/airbnb").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.airbnb.com/s/Bangkok--Thailand/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ82ENKDJgHTERIEjiXbIAAQE&date_picker_type=calendar&checkin=2026-08-11&checkout=2026-08-23&adults=1&query=Bangkok%2C%20Thailand"
    }
  ]
}' |
apify call your-scraper/airbnb --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=your-scraper/airbnb",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/m99mFeHXM4laWxuCM/builds/WK8TzFKWRMBkH3Rse/openapi.json
