{
  "openapi": "3.0.1",
  "info": {
    "title": "Airbnb & Booking Host Lead Generator (Property Management)",
    "description": "Find struggling amateur Airbnb and Booking.com hosts (1-3 listings) with high 30-day calendar vacancy and low ratings. Calculates 30-day lost revenue, occupancy rates, and outreach hooks for property management agencies. Priced at $8.00 / 1k host leads.",
    "version": "1.0",
    "x-build-id": "FVBMX0ItsdBq3SvVl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vedarai~airbnb-property-management-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vedarai-airbnb-property-management-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/vedarai~airbnb-property-management-leads/runs": {
      "post": {
        "operationId": "runs-sync-vedarai-airbnb-property-management-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/vedarai~airbnb-property-management-leads/run-sync": {
      "post": {
        "operationId": "run-sync-vedarai-airbnb-property-management-leads",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "locations": {
            "title": "Target Locations (Cities / Regions)",
            "type": "array",
            "description": "List of cities, neighborhoods, or regions to scan for short-term rental hosts (e.g. ['Miami, FL', 'Scottsdale, AZ', 'Austin, TX']).",
            "default": [
              "Miami, FL"
            ],
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Target Platforms",
            "type": "array",
            "description": "Short-term rental platforms to query ('airbnb', 'booking').",
            "default": [
              "airbnb",
              "booking"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxHosts": {
            "title": "Max Qualified Host Leads",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of qualified amateur host leads to output.",
            "default": 50
          },
          "maxPropertiesPerHost": {
            "title": "Max Properties per Host (Amateur Filter)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Strict upper limit on listings managed by a single host. Hosts managing more than this number are treated as professional agencies and excluded.",
            "default": 3
          },
          "minEmptyDaysNext30": {
            "title": "Min Empty Days in Next 30 Days (Vacancy Distress Threshold)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Minimum number of unbooked calendar nights in the upcoming 30 days required to flag a property with HIGH_VACANCY_30D.",
            "default": 15
          },
          "onlyDistressedHosts": {
            "title": "Only Output Distressed Hosts",
            "type": "boolean",
            "description": "If enabled, only outputs amateur hosts that trigger at least one vacancy or rating distress signal.",
            "default": false
          },
          "currency": {
            "title": "Currency Code",
            "type": "string",
            "description": "Currency for nightly rates and lost revenue calculations (e.g. 'USD', 'EUR', 'GBP', 'CAD', 'AUD').",
            "default": "USD"
          },
          "maxListingsPerLocation": {
            "title": "Max Sampled Listings per Location & Platform",
            "minimum": 5,
            "maximum": 500,
            "type": "integer",
            "description": "Number of raw listings to sample per location from each enabled platform before grouping by host.",
            "default": 50
          },
          "seedListings": {
            "title": "Direct Seed Listings (Optional)",
            "type": "array",
            "description": "Optional array of listing objects to evaluate directly alongside or instead of location discovery.",
            "default": []
          },
          "airbnbActorId": {
            "title": "Background Airbnb Discovery Actor ID",
            "type": "string",
            "description": "Apify Actor ID used for Stage 1 Airbnb location sourcing.",
            "default": "tri_angle/airbnb-scraper"
          },
          "airbnbCalendarActorId": {
            "title": "Background Airbnb 30-Day Calendar Actor ID",
            "type": "string",
            "description": "Apify Actor ID used to enrich 30-day day-by-day availability for qualifying amateur Airbnb hosts when not already present.",
            "default": "vedarai/airbnb-availability-calendar-scraper"
          },
          "bookingActorId": {
            "title": "Background Booking.com Discovery Actor ID",
            "type": "string",
            "description": "Apify Actor ID used for Stage 1 Booking.com location sourcing.",
            "default": "voyager/booking-scraper"
          },
          "enrichAirbnbCalendars": {
            "title": "Enrich Exact 30-Day Airbnb Calendars",
            "type": "boolean",
            "description": "When enabled, calls the Airbnb Availability Calendar scraper for qualifying amateur hosts whose listings do not already include 30-day availability counts.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}