# Airbnb Investment Analysis: Miami Beach, 6 Months

**Use case:** 

Underwriting a purchase needs the comps' occupancy and rate together: eighty Miami Beach listings, six months of both, with a free listing row for bedrooms, capacity and reviews. Multiply occupancy by the rate sample for a monthly revenue estimate per comp, then filter to the bedroom count you are buying. Cost: 480 occupancy rows at $0.002 = at most $0.96 a run.

## Input

```json
{
  "locationQueries": [
    "Miami Beach, Florida, United States"
  ],
  "startUrls": [],
  "listingIds": [],
  "maxListingsPerQuery": 80,
  "months": 6,
  "includeRates": true,
  "adults": 2,
  "minOccupancyPct": 0,
  "includeListingRow": true,
  "currency": "USD",
  "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`).
