{
  "openapi": "3.0.1",
  "info": {
    "title": "Airbnb Full Year Price Tracker & Monthly Trends Scraper",
    "description": "Automate full year Airbnb price tracking. The actor pulls daily prices, seasonal shifts, blocked dates, and occupancy indicators. Useful for market research, revenue planning, and Airbnb investment analysis.",
    "version": "0.1",
    "x-build-id": "TqWBSYxvaTA8tNqKh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapier~airbnb-full-year-price-tracker-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapier-airbnb-full-year-price-tracker-scraper",
        "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/scrapier~airbnb-full-year-price-tracker-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapier-airbnb-full-year-price-tracker-scraper",
        "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/scrapier~airbnb-full-year-price-tracker-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapier-airbnb-full-year-price-tracker-scraper",
        "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": {
          "trendListings": {
            "title": "🏘️ Listings to Trend (URLs / IDs / Keywords)",
            "type": "array",
            "description": "Airbnb room URLs, numeric listing IDs, or search keywords to build month-by-month price trends for. Example: 'https://www.airbnb.com/rooms/7431972', '7431972', or 'beach house Malibu'. Keywords resolve to up to 5 listings each.",
            "items": {
              "type": "string"
            }
          },
          "trendStartDate": {
            "title": "📅 Trend Start Month",
            "type": "string",
            "description": "First month to analyze (format: YYYY-MM-DD; the day is used only to anchor the start month). Past dates are shifted to the next month automatically. Example: 2026-08-01 starts the trend window in August 2026."
          },
          "analysisMonths": {
            "title": "🗓️ Months to Analyze",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "How many consecutive months to build trends for, starting at the trend start month. Example: 6 → six monthly roll-up rows per listing. Max 12 (one calendar year)."
          },
          "nightsPerSample": {
            "title": "🌙 Nights per Price Sample",
            "minimum": 1,
            "maximum": 28,
            "type": "integer",
            "description": "Length of stay used when quoting each sampled date; the stay total is normalized to a per-night rate. Larger values help clear host minimum-night rules. Example: 3 → each sample is a 3-night quote. Default is 3."
          },
          "samplesPerMonth": {
            "title": "🔬 Price Samples per Month",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "How many real check-in dates to quote per month (spread evenly across the month) before rolling them up into avg / min / peak. More samples = more accurate monthly averages but more requests. Example: 4 → quotes near the 6th, 13th, 20th, 27th. Default is 4.",
            "default": 4
          },
          "includeSeasonalRollups": {
            "title": "🍂 Add Seasonal Roll-ups",
            "type": "boolean",
            "description": "Also emit one extra row per season (Winter / Spring / Summer / Autumn) aggregating that season's months into a single price + occupancy signal. Example: on → adds seasonal_trend rows below the monthly rows. Default is on.",
            "default": true
          },
          "computeOccupancySignal": {
            "title": "🛏️ Occupancy Signal",
            "type": "boolean",
            "description": "Fetch the availability calendar and derive per-month occupancy rate, available nights and booked nights (a demand signal that pairs with the price trend). Example: on → occupancyRate populated per month. Default is on.",
            "default": true
          },
          "partyAdults": {
            "title": "🧑 Adults in Trend Party",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Adult guests priced into every monthly and seasonal trend quote. Example: 2. Default is 2."
          },
          "partyChildren": {
            "title": "🧒 Children in Trend Party",
            "minimum": 0,
            "maximum": 16,
            "type": "integer",
            "description": "Children included in the guest count for each trend quote. Example: 0. Default is 0."
          },
          "partyPets": {
            "title": "🐕 Pets in Trend Party",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Pets traveling with the guests, applied to every trend quote. Example: 0. Default is 0."
          },
          "pricingCurrency": {
            "title": "💷 Trend Pricing Currency",
            "enum": [
              "USD",
              "GBP",
              "EUR",
              "CAD",
              "AUD"
            ],
            "type": "string",
            "description": "Currency every monthly and seasonal nightly-price figure is reported in. Example: USD."
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy settings (optional). The actor starts direct for lower cost and escalates to datacenter/residential proxy only if Airbnb blocks a request."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}