# Airbnb Availability Calendar Scraper (`datascrapers/airbnb-availability-calendar`) Actor

Airbnb availability calendar scraper

- **URL**: https://apify.com/datascrapers/airbnb-availability-calendar.md
- **Developed by:** [Data Scrapers](https://apify.com/datascrapers) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 82.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 dataset items

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/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 Availability Calendar Scraper** creates a structured dataset of nightly availability collected from one Airbnb room URL. Each dataset item is one calendar date and includes whether that night is available, available for check-in, and available for check-out. Query the source with a single `https://www.airbnb.com/rooms/` URL. The Actor requests 12 months beginning with the current month. Retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.

[![Airbnb Availability Calendar — input to structured data](https://raw.githubusercontent.com/faizanalii/apify-actor-assets/main/airbnb-availability-calendar/airbnb-availability-calendar-value-demo.gif)](https://apify.com/datascrapers/airbnb-availability-calendar)

### Dataset at a glance

| Property | Value |
|---|---|
| Source | Airbnb availability calendar for one room URL |
| Record unit | One calendar date |
| Input methods | One Airbnb room URL |
| Main identifiers | `date` within that run. The record does not include the listing id. |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML, and other Apify dataset exports |
| Update model | Fresh records per Actor run |
| Pricing | `dataset-item` at $0.001 per saved date, plus platform usage. |

### Coverage and available records

The Actor accepts one `url`. It reads the listing id from that URL and requests Airbnb's availability calendar for 12 months, starting at the current month and year. Locale is `en` and currency is `USD` inside that request. Those two values are not input fields.

Each saved item has four fields: `date`, `available`, `availableForCheckin`, and `availableForCheckout`. A stored run saved 365 day records from `2025-04-01` through `2026-03-31`. In that run, 156 dates had `available` true, 156 had `availableForCheckin` true, and 155 had `availableForCheckout` true. A later run starts at whatever the current month is, so the date window moves.

The record does not include the room URL, the listing id, a price, or a minimum stay. Check-in and check-out flags can differ from `available`. On `2025-08-03` in the stored run, the night is available and open for check-in, and `availableForCheckout` is false. The next day is available for both.

There is no `maxItems` input and no internal deduplication. One URL produces the whole returned calendar. The Actor does not search by city or date range.

A non-200 response is retried up to three times, two seconds apart, and then the run fails. The Actor does not keep a historical archive.

### Data dictionary

Types and examples come from the stored day records. All 365 records contain all four keys.

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| `date` | string | No | Calendar date, `YYYY-MM-DD`. | 2025-08-03 |
| `available` | boolean | No | True when the night is available. | true |
| `availableForCheckin` | boolean | No | True when check-in is allowed on that date. | true |
| `availableForCheckout` | boolean | No | True when check-out is allowed on that date. | false |

Use `date` to deduplicate inside one run. It is not unique across listings. Keep the input URL, or the listing id in that URL, with the dataset when you store more than one listing.

### Example dataset record

This day is from the stored run. The input URL for that run is not stored on the record.

```json
{
  "available": true,
  "date": "2025-08-03",
  "availableForCheckin": true,
  "availableForCheckout": false
}
```

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---:|---|---|---|
| `url` | string | Yes | — | An Airbnb room URL | Listing whose calendar is requested. Example: `https://www.airbnb.com/rooms/782682596976136912`. |
| `proxyConfiguration` | object | No | Apify residential | Apify proxy input | Connection used for the calendar request. |

```json
{
  "url": "https://www.airbnb.com/rooms/782682596976136912",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

The Actor has no second filter. The 12-month window always starts at the current month.

### Retrieve the data through the API

This is the Apify Actor API. Airbnb does not provide this endpoint.

1. Start `datascrapers/airbnb-availability-calendar` with a JSON input.
2. Wait until the run finishes, or poll the run status.
3. Read items from the run's default dataset. One item is one date.
4. Page the dataset with offset and limit, or export it from the run page.

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("datascrapers/airbnb-availability-calendar").call(run_input={
    "url": "https://www.airbnb.com/rooms/782682596976136912",
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

Other languages are listed on the Actor's API tab in Apify Console. Do not put a real token in a URL or in source control.

### Export and pipeline examples

| Destination | Recommended method | Typical use |
|---|---|---|
| PostgreSQL or Supabase | Dataset API or a webhook consumer | Store the input listing id with `date` as the key |
| Google Sheets | Apify integration | Share a 12-month availability grid |
| Amazon S3 or other cloud storage | Scheduled dataset export or an integration | Archive each run's JSON or CSV |
| A custom application | Dataset items endpoint | Compare `available` with the check-in and check-out flags |

### Data quality and record handling

The four fields are copied from the calendar response. `date` is a `YYYY-MM-DD` string. The booleans are the source flags, not a calculated stay. `available`, `availableForCheckin`, and `availableForCheckout` can disagree, as they do on `2025-08-03` in the stored run.

The Actor pushes one dataset item per returned day. It does not attach the listing id. Two runs for two listings can both contain `2025-08-03`. Deduplicate on the listing id you sent plus `date`.

A failed calendar request after three attempts produces no dataset. There is no partial month if the request fails. The stored sample is one successful 12-month response, not a guarantee that every future response has 365 rows. Month length changes the count.

### Pricing and cost examples

Each saved date is one `dataset-item` at $0.001 on every plan. A calendar of 365 dates is $0.365 in result charges. Compute time and residential proxy traffic are platform usage on the account that starts the run, in addition to that event price.

A failed request that saves no dates does not add result charges. It still consumes the compute used before the failure.

### Limitations and responsible data use

The Actor reads the public availability calendar for one Airbnb room URL. It does not return price, minimum nights, or a historical archive. Each run reflects the calendar at the time of the request. Save datasets yourself if you need a time series.

The date window is the next 12 months from the current month, not a date range you choose. The listing id is not on the record. You are responsible for using the dataset in line with Airbnb terms, privacy rules, and any contract that applies to your project. This page does not provide a legal conclusion about a particular use.

### Dataset questions

#### What does one dataset item represent?

One calendar date for the room URL in that run.

#### Which field should I use as a unique identifier?

Use `date` inside a single run. Across listings, use the listing id from your input URL together with `date`.

#### Are fields nullable or conditional?

No. The stored records always include `date`, `available`, `availableForCheckin`, and `availableForCheckout`.

#### Can I retrieve the records as CSV or JSON?

Yes. Download JSON, CSV, Excel, XML, or another format from the Apify Console export menu, or read JSON through the Dataset API.

#### How do I paginate large datasets?

The Actor does not page a search. It returns the 12-month calendar for one URL. After the run, page the Apify dataset with offset and limit.

#### Does the Actor return historical data?

No. Dates before the current month are not requested. Earlier availability exists only if you stored an earlier dataset.

#### What counts as a billable result?

Each saved date is one `dataset-item` at $0.001. Dates that are not saved are not charged. A failed request that saves no days still consumes the compute used before the failure.

### Related datasets from Data Scrapers

- [Airbnb Address Finder](https://apify.com/datascrapers/airbnb-address-finder) — listing records with coordinates and a geocoded place name for the same room URL.
- [Airbnb Scraper](https://apify.com/datascrapers/airbnb-scraper) — Airbnb search and listing records that can supply the room URLs for this calendar.
- [Airbnb Detailed Scraper](https://apify.com/datascrapers/airbnb-detailed-scraper) — detailed Airbnb listing records to join on the listing id.
- [Booking.com Scraper](https://apify.com/datascrapers/booking-com-scraper) — stay records for the same trip-planning workflow.
- [Apartments.com Scraper](https://apify.com/datascrapers/apartments-scraper) — US apartment listings for a longer stay comparison.

### Data Scrapers support

Need an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.

# Actor input Schema

## `url` (type: `string`):

Airbnb listing URL

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

Select proxy groups or use your custom proxies

## Actor input object example

```json
{
  "url": "https://www.airbnb.com/rooms/782682596976136912",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

JSON array of nightly availability records at {{links.apiDefaultDatasetUrl}}/items

## `runStats` (type: `string`):

Record count and timestamps for this run

## `run` (type: `string`):

Public console page for this run

# 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 = {
    "url": "https://www.airbnb.com/rooms/782682596976136912",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/airbnb-availability-calendar").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 = {
    "url": "https://www.airbnb.com/rooms/782682596976136912",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/airbnb-availability-calendar").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 '{
  "url": "https://www.airbnb.com/rooms/782682596976136912",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call datascrapers/airbnb-availability-calendar --silent --output-dataset

```

## MCP server setup

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

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/mEQ7PNC5osYlIblKE/builds/4ImHTYBGl58tJetWg/openapi.json
