# Airbnb Occupancy Rate by City: Lisbon, Six Months

**Use case:** 

A market run: one hundred Lisbon listings, six calendar months each, in EUR. Group by month for the city's occupancy curve and by listing for who beats it; the nightly rate sample on each row turns occupancy into revenue. Split a big city into neighbourhoods to pass Airbnb's cap of about 280 listings per search. Cost: 600 occupancy rows at $0.002 = at most $1.20 a run.

## Input

```json
{
  "locationQueries": [
    "Lisbon, Portugal"
  ],
  "startUrls": [],
  "listingIds": [],
  "maxListingsPerQuery": 100,
  "months": 6,
  "includeRates": true,
  "adults": 2,
  "minOccupancyPct": 0,
  "includeListingRow": false,
  "currency": "EUR",
  "locale": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "sessions": 4,
  "perIp": 1
}
```

## Output

```json
{
  "id": {
    "label": "Id",
    "format": "string"
  },
  "name": {
    "label": "Listing",
    "format": "string"
  },
  "room_type": {
    "label": "Type",
    "format": "string"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "month": {
    "label": "Month",
    "format": "string"
  },
  "days_total": {
    "label": "Days counted",
    "format": "integer"
  },
  "days_available": {
    "label": "Free days",
    "format": "integer"
  },
  "days_unavailable": {
    "label": "Booked/blocked",
    "format": "integer"
  },
  "occupancy_pct": {
    "label": "Occupancy %",
    "format": "number"
  },
  "checkin_days": {
    "label": "Check-in days",
    "format": "integer"
  },
  "nights_min": {
    "label": "Min nights",
    "format": "integer"
  },
  "next_available": {
    "label": "Next free",
    "format": "string"
  },
  "rate_nightly": {
    "label": "Nightly rate",
    "format": "number"
  },
  "rate_total": {
    "label": "Stay total",
    "format": "number"
  },
  "rate_nights": {
    "label": "Stay nights",
    "format": "integer"
  },
  "rate_check_in": {
    "label": "Sampled check-in",
    "format": "string"
  },
  "rate_status": {
    "label": "Rate",
    "format": "string"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "url": {
    "label": "Airbnb",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Airbnb Occupancy Rate Scraper — Calendar Availability & ADR](https://apify.com/kestrel/airbnb-occupancy-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kestrel/airbnb-occupancy-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kestrel/airbnb-occupancy-scraper.md

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`).
