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

Extract day-by-day Airbnb calendar availability, nightly rates, total prices, min nights, check-in/out rules, and Instant Book status in any currency (EUR, USD, GBP). Fast, browserless API extraction with transparent $2.00 / 1,000 days pricing — $0.00 for failed lookups.

- **URL**: https://apify.com/vedarai/airbnb-availability-calendar-scraper.md
- **Developed by:** [Artūras](https://apify.com/vedarai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 scraped calendar days

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 Availability Calendar Scraper

Scrapes daily availability, minimum night restrictions, and nightly pricing for Airbnb listings via Airbnb's GraphQL v3 API (`PdpAvailabilityCalendar` and `StaysPdpSections`) without running a headless browser.

Most older Airbnb calendar scrapers on Apify had two annoying quirks: prices always came back in GBP regardless of input settings, and date ranges had to be hardcoded in `YYYY-MM-DD` format every time you wanted to run a check. This actor passes your chosen currency directly into Airbnb's pricing headers and supports relative rolling dates so scheduled runs work without manual edits.

### Dates and local currency

Set `currency` to any supported code (`EUR`, `USD`, `GBP`, `CAD`, `AUD`, `CHF`, `PLN`, `SEK`, `NOK`, `DKK`, `CZK`, `JPY`, `AED`, `BRL`, or `MXN`; defaults to `EUR`). Nightly rates, taxes, and formatted price strings are returned in that exact currency.

For date ranges, `startDate` and `endDate` accept either standard `YYYY-MM-DD` strings or relative offsets such as `today`, `tomorrow`, `today+7`, or `today+30d`. If you omit `endDate`, the actor checks `daysCount` consecutive days starting from `startDate` (defaulting to 30 days from today). This makes it straightforward to set up a daily or weekly cron schedule.

### Input configuration

You can pass a list of room URLs or numeric listing IDs in `listingUrls`, or use the single `listingUrl` field if migrating an existing integration. When `enrichWithPricing` is enabled (true by default), the actor also pulls nightly rates, taxes, total quote for the minimum stay, guest capacity (`adults` can be set from 1 to 16), and instant-book status. Set `maxRecords` (default 1000) to put a hard ceiling on how many daily records a single run can save and bill.

```json
{
  "listingUrls": [
    "https://www.airbnb.com/rooms/860663943931949474"
  ],
  "currency": "EUR",
  "startDate": "today",
  "daysCount": 30,
  "enrichWithPricing": true,
  "adults": 2
}
```

### Output format

Each calendar date is pushed as a single record to the default dataset.

```json
{
  "listingId": "860663943931949474",
  "listingUrl": "https://www.airbnb.com/rooms/860663943931949474",
  "date": "2026-12-03",
  "year": 2026,
  "month": 12,
  "available": true,
  "availableForCheckin": true,
  "availableForCheckout": false,
  "bookable": true,
  "minNights": 1,
  "maxNights": 1125,
  "currency": "EUR",
  "stayNightsQuoted": 1,
  "nightlyRate": 65,
  "nightlyRateFormatted": "€65.00",
  "totalPrice": 75.56,
  "priceFormatted": "€75.56",
  "taxes": 10.56,
  "taxesFormatted": "€10.56",
  "cleaningFee": null,
  "serviceFee": null,
  "maxGuests": 2,
  "canInstantBook": true,
  "cancellationPolicy": null,
  "billingStatus": "BILLED_1_RECORD",
  "unitCostUsd": 0.002,
  "scrapedAt": "2026-11-09T20:15:00.000Z"
}
```

### Pricing

Flat rate of $2.00 per 1,000 calendar day records ($0.002 per day). Pricing enrichment (`enrichWithPricing: true`) is included in that rate with no additional event surcharge. Duplicate URLs, invalid room IDs, and failed requests cost $0.00.

# Actor input Schema

## `listingUrls` (type: `array`):

Paste one or more Airbnb listing URLs (e.g. https://www.airbnb.com/rooms/860663943931949474) or numeric Room IDs. Duplicates are automatically removed.

## `listingUrl` (type: `string`):

Optional single Airbnb listing URL or ID for 1-to-1 backward compatibility with agenscrape/airbnb-availability-calendar.

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

Currency code for nightly rates, taxes, and total price (e.g. EUR, USD, GBP, CAD, AUD, CHF, PLN, SEK, NOK, DKK, JPY).

## `startDate` (type: `string`):

Start date in YYYY-MM-DD format OR rolling expression such as 'today', 'today+1', 'today+7', 'today+30d'. Defaults to 'today'.

## `endDate` (type: `string`):

Optional end date in YYYY-MM-DD format or rolling expression (e.g. 'today+30', 'today+90'). If omitted, `daysCount` is used instead.

## `daysCount` (type: `integer`):

Number of consecutive calendar days to check starting from Start Date (used when End Date is not specified).

## `enrichWithPricing` (type: `boolean`):

Fetch exact nightly rates, taxes, total price, guest capacity, and instant-book status for available check-in dates in your selected currency — with NO extra surcharge event!

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

Number of adult guests used when calculating nightly rates and taxes.

## `maxRecords` (type: `integer`):

Hard cap on the total number of calendar day records returned and billed in a single run ($2.00 / 1,000 records). Protects your balance.

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

Optional Apify Proxy configuration for high-volume runs.

## Actor input object example

```json
{
  "listingUrls": [
    "https://www.airbnb.com/rooms/860663943931949474"
  ],
  "currency": "EUR",
  "startDate": "today",
  "endDate": "today+30",
  "daysCount": 30,
  "enrichWithPricing": true,
  "adults": 1,
  "maxRecords": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing the scraped availability calendar and multi-currency pricing data.

# 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 = {
    "listingUrls": [
        "https://www.airbnb.com/rooms/860663943931949474"
    ],
    "startDate": "today",
    "endDate": "today+30"
};

// Run the Actor and wait for it to finish
const run = await client.actor("vedarai/airbnb-availability-calendar-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 = {
    "listingUrls": ["https://www.airbnb.com/rooms/860663943931949474"],
    "startDate": "today",
    "endDate": "today+30",
}

# Run the Actor and wait for it to finish
run = client.actor("vedarai/airbnb-availability-calendar-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 '{
  "listingUrls": [
    "https://www.airbnb.com/rooms/860663943931949474"
  ],
  "startDate": "today",
  "endDate": "today+30"
}' |
apify call vedarai/airbnb-availability-calendar-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vedarai/airbnb-availability-calendar-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/jiNc86eqStjv4Mgbm/builds/l0z4XRfek72n0vsR8/openapi.json
