{
  "openapi": "3.0.1",
  "info": {
    "title": "Airbnb Prices & Availability Scraper",
    "description": "Airbnb Prices & Availability Scraper extracts nightly prices, stay quotes (fees, taxes, discounts, total) and the day-by-day availability of Airbnb listings by URL, id or search area, with occupancy and price-change monitoring.",
    "version": "1.0",
    "x-build-id": "C60LLW8Hk1mJaWXcf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~airbnb-prices-availability-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-airbnb-prices-availability-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/neuro-scraper~airbnb-prices-availability-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-airbnb-prices-availability-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/neuro-scraper~airbnb-prices-availability-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-airbnb-prices-availability-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": {
          "startUrls": {
            "title": "Airbnb listing URLs",
            "type": "array",
            "description": "Room pages, e.g. https://www.airbnb.com/rooms/12537150 (any airbnb.<country> domain). One calendar per listing.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Listing ids",
            "type": "array",
            "description": "Airbnb listing ids (the number in /rooms/<id>), e.g. 12537150. Same as the URLs above.",
            "items": {
              "type": "string"
            }
          },
          "locationQueries": {
            "title": "Places to search (instead of listing links)",
            "type": "array",
            "description": "Places such as 'Seminyak, Bali, Indonesia' or 'Lisbon, Portugal', one per line. The Actor searches Airbnb for each place (following the search's own page cursors) and reads the calendar of up to Max listings (default 20) listings per place.",
            "items": {
              "type": "string"
            }
          },
          "searchUrl": {
            "title": "Airbnb search URL",
            "type": "string",
            "description": "A search page copied from your browser (https://www.airbnb.com/s/...), with all its filters (price, type, amenities, dates). The listings of that search are read like listing links, up to Max listings (default 20)."
          },
          "boundingBox": {
            "title": "Map area",
            "type": "object",
            "description": "A map rectangle {\"neLat\": 38.75, \"neLng\": -9.10, \"swLat\": 38.70, \"swLng\": -9.18}: the listings Airbnb shows in that area are read, up to Max listings (default 20)."
          },
          "maxListings": {
            "title": "Max listings",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many listings (0 = all given).",
            "default": 0
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "auto",
              "listing",
              "searchArea"
            ],
            "type": "string",
            "description": "auto reads every input; listing ignores the search inputs; searchArea ignores listing URLs / ids.",
            "default": "auto"
          },
          "checkIn": {
            "title": "Check-in for the price",
            "type": "string",
            "description": "Stay to price (YYYY-MM-DD). Empty = the first free check-in day."
          },
          "checkOut": {
            "title": "Check-out for the price",
            "type": "string",
            "description": "End of the stay to price (YYYY-MM-DD). Empty = check-in + the minimum stay."
          },
          "stayNights": {
            "title": "Nights per priced stay",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Length of every price quote in nights (0 = the listing's own minimum stay). With checkIn and no checkOut it also sets the check-out day.",
            "default": 0
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Guests for the price.",
            "default": 1
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "Children for the price.",
            "default": 0
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Infants for the price.",
            "default": 0
          },
          "pets": {
            "title": "Pets",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Pets for the price.",
            "default": 0
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Currency of every price, e.g. USD, EUR, GBP.",
            "default": "USD"
          },
          "locale": {
            "title": "Language",
            "type": "string",
            "description": "Language of texts and labels, e.g. en, de, fr.",
            "default": "en"
          },
          "enrichWithPricing": {
            "title": "Get prices",
            "type": "boolean",
            "description": "Quote the stay price (checkIn/checkOut, or the first free check-in day) with fees, taxes, discount and total, and a nightly price for the sampled check-in days. On by default.",
            "default": true
          },
          "pricingSamples": {
            "title": "Priced check-in days per listing",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "How many upcoming check-in days get their own nightly price (one price quote each, 0-60). Default 20. They give avgPricePerNight, min/max/median and the day rows' nightlyPrice.",
            "default": 20
          },
          "calendarMonths": {
            "title": "Months to fetch",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "How many calendar months per listing, starting with the start month. Airbnb opens about 12 months ahead; up to 12 months come per request, more months take a second request.",
            "default": 12
          },
          "startMonth": {
            "title": "Start month (1-12)",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "First month of the calendar. Empty = the month of the start date (or this month)."
          },
          "startYear": {
            "title": "Start year",
            "minimum": 2020,
            "maximum": 2100,
            "type": "integer",
            "description": "Year of the start month, e.g. 2026. Empty = this year."
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Only days from this date on (YYYY-MM-DD). Also sets the start month when that is empty."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Only days up to this date (YYYY-MM-DD)."
          },
          "includeDays": {
            "title": "One row per day",
            "type": "boolean",
            "description": "Adds one row per calendar day (date, available, check-in / check-out allowed, min / max nights, price). Off = only the listing summary rows.",
            "default": true
          },
          "includeListingSummary": {
            "title": "Listing summary row",
            "type": "boolean",
            "description": "One row per listing first: title, ratings, capacity, host, occupancy, available / booked days, availability by month, the whole calendar as an array and the price breakdown.",
            "default": true
          },
          "onlyAvailableDays": {
            "title": "Only available days",
            "type": "boolean",
            "description": "Day rows only for days that can be booked.",
            "default": false
          },
          "onlyAvailableListings": {
            "title": "Only listings that are available",
            "type": "boolean",
            "description": "Skip listings with no free day in the scanned months - or, with check-in / check-out dates, listings that are not free for every night of that stay. Skipped listings give no rows and cost nothing.",
            "default": false
          },
          "computeOccupancy": {
            "title": "Compute occupancy 30 / 90 / 365 days",
            "type": "boolean",
            "description": "Adds occupancy_30d, occupancy_90d and occupancy_365d (share of booked / blocked days) to every row.",
            "default": true
          },
          "detectChanges": {
            "title": "Detect price changes since the last run",
            "type": "boolean",
            "description": "Remembers each listing's price and free nights in a named key-value store; the next run marks rows new / price_up / price_down / availability_changed / unchanged with valueChangePct.",
            "default": false
          },
          "storeName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Name of the key-value store that keeps the last prices for detectChanges. Use one name per watch list.",
            "default": "airbnb-price-monitor"
          },
          "webhookUrl": {
            "title": "Webhook URL (optional)",
            "type": "string",
            "description": "https URL that receives a JSON summary of the changes at the end of the run (POST)."
          },
          "notifyOn": {
            "title": "Send the webhook",
            "enum": [
              "changes",
              "always",
              "never"
            ],
            "type": "string",
            "description": "When the webhook is called.",
            "default": "changes"
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many rows in total (a 12-month calendar is about 366 day rows + 1 summary row per listing).",
            "default": 1000
          },
          "requestsPerSecond": {
            "title": "Requests per second",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Pace of the requests (1-5 per second). 0 = the default pace of about 0.8 requests per second, which Airbnb answers reliably.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies (the default) are recommended. The Actor switches to a new IP when a request is blocked.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "logLevel": {
            "title": "Log level",
            "enum": [
              "INFO",
              "DEBUG"
            ],
            "type": "string",
            "description": "DEBUG also logs every request the run makes.",
            "default": "INFO"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}