# Airbnb Listings Scraper (`elhadj.hamlaoui/airbnb-listings-scraper`) Actor

Scrape Airbnb stays by city or region: price, rating, review count, coordinates, photos, badges and discounts. Fast, no login, pay only per listing returned.

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

## Pricing

$2.50 / 1,000 listing scrapeds

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/actors/running/actors-in-store.md#pay-per-event

## 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 Listings Scraper

Scrape Airbnb stays for any city or region. Prices, ratings, review counts,
coordinates, photos, badges and discounts — as JSON, CSV or Excel.

**Just type a city.** No login, no API key, no listing IDs to hunt down.

### Why this one

- **Real coordinates** on every listing, so you can map or geo-filter results
- **Discounts exposed** — `originalPriceDisplay` shows the pre-discount price
  when a stay is marked down, which is invisible in most exports
- **Numeric prices**, correctly parsed. `€1,448` and `1 234,56 €` both come
  back as proper numbers rather than strings you have to clean up
- **Up to 10 photo URLs** per listing, plus the total photo count
- **No start fee.** You pay per listing returned, and nothing at all for a run
  that returns nothing

### Quick start

```json
{
  "locations": ["Paris, France"],
  "maxListingsPerLocation": 100
}
```

Narrowing it down:

```json
{
  "locations": ["Barcelona, Spain", "Lisbon, Portugal"],
  "checkin": "2026-11-01",
  "checkout": "2026-11-05",
  "adults": 2,
  "maxPrice": 200,
  "roomType": "Entire home/apt",
  "maxListingsPerLocation": 250
}
```

### Input

| Field | What it does |
|---|---|
| `locations` | Cities or regions — `Paris, France` |
| `checkin` / `checkout` | `YYYY-MM-DD`. Leave empty to search without dates |
| `adults` | Guest count. `0` = unspecified |
| `minPrice` / `maxPrice` | Nightly price filters. `0` = no limit |
| `roomType` | All, Entire home/apt, Private room, Shared room |
| `maxListingsPerLocation` | `0` for everything Airbnb pages through (~270) |

Dates are validated before the run starts. Airbnb silently ignores a malformed
date, which looks exactly like a filter that worked — so a bad date fails
loudly here instead.

### Output

| Field | Description |
|---|---|
| `listingId` | Airbnb listing ID |
| `name` | Host-written listing title |
| `title` | Property type and area, e.g. "Home in Montfermeil" |
| `price` | Numeric price |
| `priceDisplay` | Price as Airbnb shows it |
| `originalPriceDisplay` | Pre-discount price, when discounted |
| `isDiscounted` | Whether the stay is marked down |
| `priceQualifier` | "total" or "per night" |
| `rating` | Average rating |
| `reviewsCount` | Number of reviews |
| `latitude` / `longitude` | Coordinates |
| `badges` | e.g. "Guest favorite" |
| `photoCount` / `photos` | Photo total, and up to 10 URLs |
| `url` | Direct link to the listing |
| `searchLocation` | Which of your locations produced this row |

```json
{
  "listingId": "1612481834748586799",
  "name": "Miamor spa*Private loft - Home theater/pool/spa",
  "title": "Home in Montfermeil",
  "rating": 5.0,
  "reviewsCount": 32,
  "price": 1448.0,
  "priceDisplay": "€1,448",
  "originalPriceDisplay": "€1,789",
  "isDiscounted": true,
  "priceQualifier": "total",
  "latitude": 48.887928548504036,
  "longitude": 2.552390683292381,
  "badges": ["Guest favorite"],
  "photoCount": 23,
  "url": "https://www.airbnb.com/rooms/1612481834748586799"
}
```

### Honest notes on coverage

Measured on a live Paris search, 18 listings:

| Field | Filled |
|---|---|
| id, name, title, price, coordinates, photos, url | **100%** |
| rating, reviewsCount | 78% |
| originalPriceDisplay | 22% |
| badges | 56% |

The gaps are real data, not failures. **New listings genuinely have no rating
yet**, only discounted stays carry an original price, and only some listings
earn a badge. We publish the numbers rather than implying every row is full.

### Pagination

Airbnb's old `items_offset` parameter is effectively dead — it returns almost
the same page. This Actor follows Airbnb's own cursors instead, which is what
the site uses, and reaches roughly 270 listings per search.

### Proxy

Airbnb throttles single IP addresses. Apify Proxy is on by default and the
Actor rotates to a fresh IP when it gets blocked mid-run, keeping everything
collected so far rather than failing the whole job.

### FAQ

**Do I need an Airbnb account?**
No. This reads only what Airbnb serves publicly to any visitor.

**Is any personal data collected?**
No. Listings, prices and locations only — no host names, no guest reviews,
no contact details.

**Why is `rating` sometimes empty?**
The listing has no reviews yet. That is the true value, so we leave it empty
rather than inventing a zero.

**What if the output breaks?**
Airbnb can change their page structure without warning. Automated contract
tests catch shape changes. Report an issue and it will be fixed.

# Actor input Schema

## `locations` (type: `array`):

Cities or regions to search, e.g. "Paris, France" or "Barcelona, Spain".

## `checkin` (type: `string`):

YYYY-MM-DD. Leave empty to search without dates.

## `checkout` (type: `string`):

YYYY-MM-DD. Leave empty to search without dates.

## `adults` (type: `integer`):

Number of adults. 0 = unspecified.

## `minPrice` (type: `integer`):

Minimum nightly price filter. 0 = no minimum.

## `maxPrice` (type: `integer`):

Maximum nightly price filter. 0 = no maximum.

## `roomType` (type: `string`):

Restrict to one room type, or all types.

## `maxListingsPerLocation` (type: `integer`):

Stop after this many listings per location. 0 = everything Airbnb will page through (around 270).

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

Airbnb throttles single IP addresses. Keep the proxy on for anything beyond a page or two.

## Actor input object example

```json
{
  "locations": [
    "Paris, France"
  ],
  "adults": 0,
  "minPrice": 0,
  "maxPrice": 0,
  "roomType": "",
  "maxListingsPerLocation": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All listings found, as JSON.

## `listingsCsv` (type: `string`):

The same listings as CSV, ready for Excel or Sheets.

## `browse` (type: `string`):

Open the results table in Apify Console.

# 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 = {
    "locations": [
        "Paris, France"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("elhadj.hamlaoui/airbnb-listings-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 = {
    "locations": ["Paris, France"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("elhadj.hamlaoui/airbnb-listings-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 '{
  "locations": [
    "Paris, France"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call elhadj.hamlaoui/airbnb-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,elhadj.hamlaoui/airbnb-listings-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/gn1r3iHA3Sp0peERa/builds/pc3isH5pw1Fc3Rk8i/openapi.json
