# Airbnb Revenue & Occupancy Calculator (AirDNA Alternative) (`malikgen/airbnb-revenue-calculator`) Actor

Estimate Airbnb revenue & occupancy for any city — occupancy %, ADR, estimated monthly/annual revenue, RevPAR, booked vs available nights. The AirDNA alternative at Apify prices. Part of the Airbnb suite (Search, Listing Details, Reviews).

- **URL**: https://apify.com/malikgen/airbnb-revenue-calculator.md
- **Developed by:** [Malik Mazhar Ali](https://apify.com/malikgen) (community)
- **Categories:** Real estate, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Revenue & Occupancy Calculator (AirDNA Alternative)

Estimate the **earning power of any Airbnb market** in minutes. Give it a city and, for every listing, it returns **occupancy %, ADR (average nightly rate), estimated monthly & annual revenue, RevPAR, and booked vs available nights** — the AirDNA-style analysis, at a fraction of the cost.

> 🏠 **Part of the Airbnb suite** — built alongside the **[Airbnb Search Scraper](https://apify.com/malikgen/airbnb-scraper)** (find listings by city) and the **[Airbnb Listing Details Scraper](https://apify.com/malikgen/airbnb-listing-details)** (full property data).

---

### What you get per listing

| Metric | Meaning |
|---|---|
| **Occupancy %** | Share of forward nights that are unavailable (booked or host-blocked) — over the next **30 / 60 / 90 / 365** days |
| **ADR** | Average nightly rate (the listing's price per night) |
| **Estimated revenue** | Monthly & annual projection = ADR × forward occupancy |
| **RevPAR** | Revenue per available night (ADR × occupancy) |
| **Booked / available nights** | Raw nightly counts across the 12-month forward calendar |
| **Typical min nights** | Median minimum-stay requirement |
| Plus | bedrooms, beds, baths, capacity, rating, reviews, superhost, coordinates |

---

### Why use this

- 💰 **A real AirDNA alternative** — AirDNA/AllTheRooms charge **$250–500+/market/month**. Here you pay per listing analyzed (pennies) and pull the same core signals on demand.
- 📈 **Built for investors & property managers** — size up a market, compare neighborhoods, validate a purchase, or benchmark your own listing against competitors.
- ✅ **Reliable by design** — reads Airbnb's own server data with a warmed residential session (search SSR for pricing + the `PdpAvailabilityCalendar` for 12 months of day-by-day availability). No fragile DOM scraping.
- 🔌 **Pipeline-ready** — stable, null-safe JSON for n8n / Make / Zapier / your database.

---

### Quick start

1. Enter a **City / location** — e.g. `Austin, TX`, `Lisbon, Portugal`, `Miami, FL`.
2. Set **Max listings to analyze** (start with 20 to sample a market).
3. Leave the proxy on the default (**Apify Residential, US**).
4. Click **Start**. Each listing becomes one row of revenue metrics.

Optional filters: min bedrooms, min/max nightly price, property type.

---

### Input

| Field | Type | Description |
|---|---|---|
| `location` | string (required) | City/area to analyze, e.g. `"Austin, TX"`. |
| `maxResults` | integer | How many listings to analyze (default 20). Each is one charged result. |
| `currency` | string | Currency for ADR & revenue (default `USD`). |
| `minBedrooms` / `priceMin` / `priceMax` / `propertyType` | — | Optional market filters. |
| `webhookUrl` | string | Optional. POSTs the full result set when the run finishes. |
| `proxyConfiguration` | object | Defaults to Apify Residential (US). Recommended to leave as-is. |

---

### Output (example)

```json
{
  "listingId": "1516509370603548960",
  "name": "Luxe Rainey DTown Oasis | Private Pool + Hot Tub",
  "url": "https://www.airbnb.com/rooms/1516509370603548960",
  "propertyType": "Entire home",
  "location": "Austin, TX",
  "coordinates": { "lat": 30.25642, "lng": -97.73184 },
  "bedrooms": 3, "beds": 7, "bathrooms": 3.5, "personCapacity": 14,
  "rating": 4.95, "reviewsCount": 37, "isSuperhost": true,
  "adr": 424.2, "currency": "USD",
  "occupancyPct": { "d30": 73.3, "d60": 73.3, "d90": 77.8, "d365": 46.5 },
  "occupancyUsedPct": 77.8,
  "estimatedRevenueMonthly": 9901,
  "estimatedRevenueAnnual": 120460,
  "revPAR": 330.03,
  "bookedNights": 166, "availableNights": 191,
  "calendarDaysAnalyzed": 357, "typicalMinNights": 1,
  "nextAvailableDate": "2026-07-14",
  "scrapedAt": "2026-06-09T04:58:00.000Z"
}
````

Full sample: [`docs/example-output-revenue.json`](docs/example-output-revenue.json). All fields are always present (`null` when unavailable).

***

### Methodology & accuracy

- **Occupancy** = share of forward calendar nights marked unavailable. A night is unavailable when it's **booked *or* blocked by the host**, so occupancy is the standard "booked-or-blocked" proxy used across STR analytics — treat it as a strong estimate, not a guaranteed booked rate.
- **Representative occupancy** for revenue projection is the **90-day forward** figure (more stable than 30-day, less distorted than 365-day, where far-future months are often simply not yet opened). All four windows are returned so you can recompute with your own assumptions.
- **ADR** is the listing's current nightly rate from search. **Estimated revenue = ADR × occupancy.** These are estimates for market research, not financial guarantees.

***

### Run via API

```bash
curl -X POST "https://api.apify.com/v2/acts/malikgen~airbnb-revenue-calculator/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"location":"Austin, TX","maxResults":20}'
```

***

### FAQ

**Is this as accurate as AirDNA?** It uses the same fundamental signals (forward availability + nightly rate) that power STR estimates, on demand and far cheaper. AirDNA adds historical models; this gives you live, transparent inputs you can verify and recompute.

**Why residential proxy?** Airbnb is Cloudflare-protected and the availability calendar only loads in a warmed browser session. Leave the default proxy on.

**Can I analyze specific listings instead of a city?** This version is market-first (by city). Need full property detail for specific URLs? Use the **[Airbnb Listing Details Scraper](https://apify.com/malikgen/airbnb-listing-details)**.

***

### 🏠 The Airbnb suite

| Actor | Use it for |
|---|---|
| **[Airbnb Search Scraper](https://apify.com/malikgen/airbnb-scraper)** | Discover listings by city — price/night, rating, coordinates, superhost. |
| **[Airbnb Listing Details Scraper](https://apify.com/malikgen/airbnb-listing-details)** | Full property detail from room URLs — description, amenities, host, photos. |
| **Airbnb Revenue & Occupancy Calculator** *(this actor)* | Occupancy %, ADR, estimated revenue, RevPAR — the AirDNA alternative. |
| **[Airbnb Reviews Scraper](https://apify.com/malikgen/airbnb-reviews-scraper)** | Reviews + sentiment + per-listing insights, by city / URL / ID. |

***

### Changelog

- **0.1** — Initial release. City → per-listing occupancy (30/60/90/365-day forward), ADR, estimated monthly/annual revenue, RevPAR, booked/available nights, via search SSR + `PdpAvailabilityCalendar` on a warmed residential session.

***

*Not affiliated with, endorsed by, or sponsored by Airbnb or AirDNA. Produces estimates from publicly available data for market research. Respect Airbnb's Terms of Service and applicable laws.*

# Actor input Schema

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

City or area to analyze, e.g. "Austin, TX", "Lisbon, Portugal", "Miami, FL". The actor finds listings here and estimates each one's occupancy & revenue.

## `maxResults` (type: `integer`):

How many listings in the market to analyze (each is one charged result). Start small to sample a market.

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

Currency for ADR and revenue figures (ISO 4217).

## `minBedrooms` (type: `integer`):

Only analyze listings with at least this many bedrooms.

## `priceMin` (type: `integer`):

Filter listings by minimum nightly price.

## `priceMax` (type: `integer`):

Filter listings by maximum nightly price.

## `propertyType` (type: `string`):

Optional property-type filter (e.g. "Entire home").

## `webhookUrl` (type: `string`):

If set, the actor POSTs the full result set here when the run finishes (n8n / Make / Zapier).

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

Airbnb requires residential proxies. Leave the default (Apify Residential, US) for best reliability.

## Actor input object example

```json
{
  "location": "Austin, TX",
  "maxResults": 20,
  "currency": "USD",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Key identity, price, rating, and location per listing

## `full` (type: `string`):

All fields including amenities, images, host info, and price breakdown

# 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": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("malikgen/airbnb-revenue-calculator").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": "Austin, TX",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("malikgen/airbnb-revenue-calculator").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 '{
  "location": "Austin, TX",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call malikgen/airbnb-revenue-calculator --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Airbnb Revenue & Occupancy Calculator (AirDNA Alternative)",
        "description": "Estimate Airbnb revenue & occupancy for any city — occupancy %, ADR, estimated monthly/annual revenue, RevPAR, booked vs available nights. The AirDNA alternative at Apify prices. Part of the Airbnb suite (Search, Listing Details, Reviews).",
        "version": "0.0",
        "x-build-id": "NeI5aL6ED8zQ9zu5D"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/malikgen~airbnb-revenue-calculator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-malikgen-airbnb-revenue-calculator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/malikgen~airbnb-revenue-calculator/runs": {
            "post": {
                "operationId": "runs-sync-malikgen-airbnb-revenue-calculator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/malikgen~airbnb-revenue-calculator/run-sync": {
            "post": {
                "operationId": "run-sync-malikgen-airbnb-revenue-calculator",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "location"
                ],
                "properties": {
                    "location": {
                        "title": "City / location",
                        "type": "string",
                        "description": "City or area to analyze, e.g. \"Austin, TX\", \"Lisbon, Portugal\", \"Miami, FL\". The actor finds listings here and estimates each one's occupancy & revenue."
                    },
                    "maxResults": {
                        "title": "Max listings to analyze",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "How many listings in the market to analyze (each is one charged result). Start small to sample a market.",
                        "default": 20
                    },
                    "currency": {
                        "title": "Currency",
                        "enum": [
                            "USD",
                            "EUR",
                            "GBP",
                            "AUD",
                            "CAD",
                            "AED",
                            "INR",
                            "SGD",
                            "BRL",
                            "MXN",
                            "JPY"
                        ],
                        "type": "string",
                        "description": "Currency for ADR and revenue figures (ISO 4217).",
                        "default": "USD"
                    },
                    "minBedrooms": {
                        "title": "Min bedrooms",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only analyze listings with at least this many bedrooms."
                    },
                    "priceMin": {
                        "title": "Min nightly price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Filter listings by minimum nightly price."
                    },
                    "priceMax": {
                        "title": "Max nightly price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Filter listings by maximum nightly price."
                    },
                    "propertyType": {
                        "title": "Property type",
                        "type": "string",
                        "description": "Optional property-type filter (e.g. \"Entire home\")."
                    },
                    "webhookUrl": {
                        "title": "Webhook URL (optional)",
                        "type": "string",
                        "description": "If set, the actor POSTs the full result set here when the run finishes (n8n / Make / Zapier)."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Airbnb requires residential proxies. Leave the default (Apify Residential, US) for best reliability.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
