# Airbnb Availability & Occupancy — 12-Month Calendar (`nobin2k/airbnb-availability`) Actor

Day-level availability and occupancy rates for any Airbnb listing, up to 12 months ahead. Built for revenue management and market research.

- **URL**: https://apify.com/nobin2k/airbnb-availability.md
- **Developed by:** [Trần Chính](https://apify.com/nobin2k) (community)
- **Stats:** 2 total users, 1 monthly users, 66.7% 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 Availability & Occupancy — 12-Month Calendar

Name a city, or pass listing URLs or IDs, and get back day-level availability for the next
12 months, plus the occupancy numbers you would otherwise have to compute
yourself.

Measured: 4 listings, 365 days each, in 3 seconds — one request per listing.

### What you get

```json
{
  "listing_id": "29754402",
  "listing_url": "https://www.airbnb.com/rooms/29754402",
  "scraped_at": "2026-09-15",
  "days_covered": 365,
  "days_unavailable": 138,
  "days_available": 227,
  "occupancy_rate": 37.8,
  "occupancy_next_30d": 63.3,
  "occupancy_next_90d": 48.9,
  "min_nights_typical": 2,
  "price_avg": 184.50,
  "currency": "USD",
  "calendar": [
    {"date": "2026-10-01", "available": true, "bookable": true,
     "available_for_checkin": true, "available_for_checkout": false,
     "min_nights": 2, "max_nights": 1125, "price": null}
  ]
}
```

Turn off *Include the day-by-day calendar* if you only want the summary row —
much smaller datasets when you are scanning a whole market.

### Use it for

- **Revenue management** — see how booked up your competitors are before you set
  next month's rates
- **Market research** — average occupancy for a city, neighbourhood or property
  type
- **Investment screening** — compare demand across areas before buying
- **Seasonality analysis** — a full year of forward availability in one pull

### What "occupancy" means here, precisely

A day that is unavailable may be booked, or it may be blocked by the host.
Airbnb does not distinguish the two anywhere in its public data, and no scraper
can. So `occupancy_rate` measures **unavailability**, which is the standard
industry proxy for occupancy — not a confirmed booking count. Any tool claiming
otherwise is guessing.

`occupancy_next_30d` and `occupancy_next_90d` are usually the more useful
figures: far-future months look empty simply because nobody has booked them yet.

### Pairs with

- **Airbnb Scraper** — find listings in a city, feed the IDs in here
- **Airbnb Listing Detail** — amenities and category ratings
- **Airbnb Reviews** — full review text

### Two ways to use it

**Just name a city.** Leave *Airbnb listings* empty, type a location, and the
Actor finds the listings itself — nothing to look up first.

```json
{"location": "Lisbon, Portugal", "maxListings": 50}
```

**Or pass listings you already have.** Paste room URLs or IDs, for example the
`listing_id` column from **Airbnb Scraper**.

```json
{"listings": ["https://www.airbnb.com/rooms/29754402", "1427417218567220620"]}
```

### Input

```json
{
  "listings": ["https://www.airbnb.com/rooms/29754402"],
  "months": 12,
  "includeDailyCalendar": true
}
```

### Reliability

- Retries with exponential backoff on network errors
- A listing with no calendar is reported and **never charged**
- If every listing fails, the run fails loudly instead of returning an empty
  dataset

### Pricing

Pay per listing calendar returned — up to 12 months in that one charge.

### FAQ

**Why is `price` often empty?**
Airbnb only exposes nightly prices in the calendar for some listings. Use the
**Airbnb Scraper** for reliable pricing.

**Can I go further than 12 months?**
No — Airbnb's calendar itself stops there.

**Is this legal?**
It reads publicly visible availability only. No personal data, no logged-in
pages. How you use the data is your responsibility.

# Actor input Schema

## `listings` (type: `array`):

Optional. Airbnb room URLs or listing IDs. Leave this empty to search by location instead — anything here takes priority over the location below.

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

City, region or country — for example 'Lisbon, Portugal' or 'Austin, Texas'. Used when the listings field above is empty.

## `maxListings` (type: `integer`):

How many listings to read calendars for when searching by location.

## `months` (type: `integer`):

How far forward to read the calendar. Airbnb serves up to 12 months, all in one request.

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

Currency for any nightly prices the calendar exposes.

## `includeDailyCalendar` (type: `boolean`):

On: every date with its availability. Off: just the occupancy summary, for a much smaller dataset.

## `proxyUrl` (type: `string`):

Optional. Only needed for very large batches.

## Actor input object example

```json
{
  "location": "Lisbon, Portugal",
  "maxListings": 50,
  "months": 12,
  "currency": "USD",
  "includeDailyCalendar": true
}
```

# Actor output Schema

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

Day-level calendars and occupancy rates per listing.

## `csv` (type: `string`):

The same rows as a spreadsheet-ready CSV download.

## `consoleUrl` (type: `string`):

Browse and filter the results in the 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 = {
    "location": "Lisbon, Portugal"
};

// Run the Actor and wait for it to finish
const run = await client.actor("nobin2k/airbnb-availability").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": "Lisbon, Portugal" }

# Run the Actor and wait for it to finish
run = client.actor("nobin2k/airbnb-availability").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": "Lisbon, Portugal"
}' |
apify call nobin2k/airbnb-availability --silent --output-dataset

```

## MCP server setup

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

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/rSXwTNxFs5Wy1jwTI/builds/F0wqR4nlhulC3euFC/openapi.json
