# Airbnb Scraper (`ulitron34/airbnb-scraper`) Actor

Fast, lightweight and cost-effective Airbnb scraper. Extract listings, prices, ratings, reviews, coordinates, and property details without browser overhead.

- **URL**: https://apify.com/ulitron34/airbnb-scraper.md
- **Developed by:** [ulises salgado diaz](https://apify.com/ulitron34) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Airbnb Scraper

A fast, lightweight, and cost-efficient Apify Actor to scrape Airbnb property listings worldwide without browser overhead.

***

### Why Airbnb Scraper?

Existing Airbnb scrapers on the market often rely on heavyweight headless browsers (Playwright or Puppeteer) that consume massive amounts of RAM, load slowly, and frequently crash or get blocked.

**Airbnb Scraper** is built differently:

- ⚡ **10x Faster Execution:** Extracts pre-rendered structured data directly via lightweight HTTP requests.
- 💰 **90% Lower Compute Cost:** Runs smoothly with minimal memory footprint (256MB–512MB RAM), saving you compute units.
- 🎯 **Accurate & Complete Data:** Delivers pristine property details, coordinates, ratings, prices, and room specifications.
- 🌐 **Global Search:** Search by any city, region, or destination, or pass direct Airbnb search URLs.

***

### Extracted Data Fields

Each scraped record in your dataset includes:

| Field | Type | Description | Example |
| :--- | :--- | :--- | :--- |
| `id` | String | Unique numeric listing ID | `"960237002380963231"` |
| `url` | String | Direct link to the listing | `"https://www.airbnb.com/rooms/960237002380963231"` |
| `name` | String | Listing display name | `"Cozy Apartment near Eiffel Tower"` |
| `title` | String | Property category & area | `"Entire rental unit in Paris"` |
| `price_formatted` | String | Display price with currency | `"$145 USD total"` |
| `price_qualifier` | String | Price type (`total`, `night`) | `"total"` |
| `rating` | Float | Average star rating | `4.92` |
| `reviews_count` | Integer | Total number of guest reviews | `348` |
| `is_guest_favorite` | Boolean | Guest Favorite badge status | `true` |
| `is_superhost` | Boolean | Host is a verified Superhost | `true` |
| `bedrooms` | Integer | Number of bedrooms | `1` |
| `beds` | Integer | Number of beds | `2` |
| `bathrooms` | Float | Number of bathrooms | `1.5` |
| `latitude` | Float | Geographic latitude coordinate | `48.8584` |
| `longitude` | Float | Geographic longitude coordinate | `2.2945` |
| `badges` | Array | Listing badges and awards | `["Guest favorite"]` |
| `primary_image` | String | High-resolution cover photo URL | `"https://a0.muscache.com/..."` |
| `images_count` | Integer | Count of available preview photos | `10` |

***

### Input Configuration

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| `location` | String | Optional\* | `"Paris, France"` | Destination city or region. |
| `start_urls` | Array | Optional\* | `[]` | Direct Airbnb search URLs (takes priority over `location`). |
| `currency` | String | No | `"USD"` | Currency for pricing (`USD`, `EUR`, `MXN`, `GBP`, `CAD`, etc.). |
| `check_in` | String | No | `null` | Check-in date in `YYYY-MM-DD` format. |
| `check_out` | String | No | `null` | Check-out date in `YYYY-MM-DD` format. |
| `max_listings` | Integer | No | `40` | Maximum listings to extract (1 to 1,000). |
| `proxy_configuration` | Object | No | `{"useApifyProxy": true}` | Proxy settings (Apify Proxy recommended). |

*\* Either `location` or `start_urls` must be provided.*

***

### Example Output (JSON)

```json
{
  "id": "960237002380963231",
  "url": "https://www.airbnb.com/rooms/960237002380963231",
  "name": "Charming Studio with Canal View",
  "title": "Entire rental unit in 10th Arrondissement",
  "price_formatted": "$128 USD total",
  "price_qualifier": "total",
  "rating": 4.88,
  "reviews_count": 142,
  "is_guest_favorite": true,
  "is_superhost": true,
  "bedrooms": 1,
  "beds": 1,
  "bathrooms": 1.0,
  "latitude": 48.8732,
  "longitude": 2.3654,
  "badges": [
    "Guest favorite"
  ],
  "images_count": 10,
  "primary_image": "https://a0.muscache.com/im/pictures/hosting/..."
}
```

***

### Best Practices & Tips

1. **Proxies:** When running high-volume extractions in Apify Cloud, keep `useApifyProxy` enabled (Residential or Datacenter) to ensure uninterrupted access.
2. **Dates:** To obtain exact total pricing including local taxes and fees, specify both `check_in` and `check_out`.
3. **Pagination:** The Actor automatically navigates Airbnb page cursors until reaching your `max_listings` limit.

***

### Resumen en Español

Extractor comercial de alta velocidad para Airbnb. Extrae alojamientos, precios, calificaciones, coordenadas y características sin utilizar navegadores pesados, lo que reduce drásticamente el costo de ejecución en la nube de Apify (menos de $0.05 USD por corrida típica) y multiplica la velocidad hasta por 10x.

# Actor input Schema

## `location` (type: `string`):

City, region or destination name (e.g. 'Paris, France', 'Cancun, Mexico', 'Tokyo, Japan').

## `start_urls` (type: `array`):

Airbnb search URLs. If provided, they take priority over the location search.

## `check_in` (type: `string`):

Check-in date in YYYY-MM-DD format (optional).

## `check_out` (type: `string`):

Check-out date in YYYY-MM-DD format (optional).

## `currency` (type: `string`):

Currency code for prices (e.g. USD, EUR, MXN, GBP).

## `max_listings` (type: `integer`):

Maximum number of property listings to scrape.

## `proxy_configuration` (type: `object`):

Select Apify Proxy to prevent rate limits and IP blocking.

## Actor input object example

```json
{
  "location": "Paris, France",
  "start_urls": [],
  "currency": "USD",
  "max_listings": 40,
  "proxy_configuration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Scraped Airbnb accommodation listings with details, prices, and coordinates.

# 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 = {
    "location": "Paris, France",
    "start_urls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("ulitron34/airbnb-scraper").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 = {
    "location": "Paris, France",
    "start_urls": [],
}

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

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

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

```

## CLI example

```bash
echo '{
  "location": "Paris, France",
  "start_urls": []
}' |
apify call ulitron34/airbnb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ulitron34/airbnb-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/RlfCna25Mho3cujrs/builds/aozJbeSneciOyqkzJ/openapi.json
