{
  "openapi": "3.0.1",
  "info": {
    "title": "Airbnb Search Scraper: Listings, Prices & Ratings",
    "description": "Airbnb scraper for search results: give a place, a map area or a search URL, dates and guests, get every listing with nightly and total price, rating, reviews, beds, bedrooms, baths, coordinates, superhost and guest-favourite badges, photo and rank. No host data.",
    "version": "0.1",
    "x-build-id": "v1mH8RvWJOoLk5ZeA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/siteacs~airbnb-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-siteacs-airbnb-search",
        "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/siteacs~airbnb-search/runs": {
      "post": {
        "operationId": "runs-sync-siteacs-airbnb-search",
        "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/siteacs~airbnb-search/run-sync": {
      "post": {
        "operationId": "run-sync-siteacs-airbnb-search",
        "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": "Places",
            "type": "array",
            "description": "One place per line, in any language or script, as you would type it in Airbnb's search box: a city, region, neighbourhood or address (\"Lisbon, Portugal\", \"Kraków\", \"東京\", \"Shoreditch, London\"). Each place is looked up in Airbnb's own place search first, then searched; when Airbnb's results are for another place (a whole country for a city, another country) the search is saved as a free place_not_found row.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Airbnb search URLs",
            "type": "array",
            "description": "Search result pages copied from your browser (airbnb.com/s/.../homes?...), with any filters you set there (map area, amenities, Instant Book, property type). The URL's own filters win over the fields below; the fields fill in what the URL leaves out.",
            "items": {
              "type": "string"
            }
          },
          "mapBounds": {
            "title": "Map area",
            "type": "object",
            "description": "A map area instead of a place: {\"neLat\": 38.73, \"neLng\": -9.12, \"swLat\": 38.70, \"swLng\": -9.16} (north-east and south-west corners), or a list of them. An area with more listings than Airbnb shows for one search (15 pages of 18, about 270) is split into quarters until each part fits, so a whole city can be read; see \"Map tiles at most\"."
          },
          "checkIn": {
            "title": "Check-in",
            "type": "string",
            "description": "Arrival date (YYYY-MM-DD). With check-out, prices are for exactly these nights. Without dates, Airbnb prices a stay it picks (usually 5 nights a few weeks ahead); the nights are in each row."
          },
          "checkOut": {
            "title": "Check-out",
            "type": "string",
            "description": "Departure date (YYYY-MM-DD), after check-in."
          },
          "checkInInDays": {
            "title": "Check-in in N days",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Instead of a fixed check-in date: check in this many days after the run starts (for a scheduled run that always prices the stay a month ahead). Used only when check-in is empty."
          },
          "nights": {
            "title": "Nights",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Length of the stay when check-out is empty: with check-in or \"Check-in in N days\" (3 when not set)."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Guests aged 13 or over. Airbnb shows only places that sleep this many and prices them for this many.",
            "default": 2
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "Ages 2 to 12."
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Under 2."
          },
          "pets": {
            "title": "Pets",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Shows only places that allow pets."
          },
          "minPrice": {
            "title": "Minimum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the currency below, before fees and taxes, as on Airbnb's price filter."
          },
          "maxPrice": {
            "title": "Maximum price per night",
            "minimum": 0,
            "type": "integer",
            "description": "In the currency below, before fees and taxes."
          },
          "roomType": {
            "title": "Type of place",
            "enum": [
              "any",
              "entire",
              "private",
              "shared",
              "hotel"
            ],
            "type": "string",
            "description": "Airbnb's \"Type of place\" filter.",
            "default": "any"
          },
          "minBedrooms": {
            "title": "Bedrooms at least",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Airbnb's \"Rooms and beds\" filter."
          },
          "minBeds": {
            "title": "Beds at least",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Airbnb's \"Rooms and beds\" filter."
          },
          "minBathrooms": {
            "title": "Bathrooms at least",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Airbnb's \"Rooms and beds\" filter."
          },
          "guestFavoriteOnly": {
            "title": "Guest favourites only",
            "type": "boolean",
            "description": "Only listings with Airbnb's guest-favourite badge (Airbnb's own filter). Airbnb has no Superhost-only filter on the search page any more; filter on isSuperhost in the rows."
          },
          "maxPages": {
            "title": "Pages per search",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Airbnb shows 18 listings per page and at most 15 pages (about 270 listings) for one search. To get more listings for a big city, split it into neighbourhoods or price bands.",
            "default": 5
          },
          "maxItems": {
            "title": "Maximum listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop a search after this many listings (0 or empty: no limit beyond the pages)."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "3-letter code for the prices: USD, EUR, GBP, BRL, MXN, CAD, AUD and the others Airbnb supports.",
            "default": "USD"
          },
          "locale": {
            "title": "Language",
            "enum": [
              "en",
              "pt",
              "es",
              "de",
              "fr",
              "it",
              "nl",
              "pl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "el",
              "hu",
              "ro",
              "tr",
              "ru",
              "ja",
              "ko",
              "zh",
              "id",
              "th",
              "he",
              "ar",
              "uk"
            ],
            "type": "string",
            "description": "Language of the page text in the rows (titles such as \"Apartment in Lisbon\", the bed and bath lines, price labels). Listing names are the host's own words.",
            "default": "en"
          },
          "maxConcurrency": {
            "title": "Searches at a time",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many searches run in parallel. The pages of one search are read one after another by the same visitor, so Airbnb does not repeat listings between them.",
            "default": 5
          },
          "splitMapBounds": {
            "title": "Split big map areas",
            "type": "boolean",
            "description": "Split a map area past about 270 listings into quarters (and those into quarters) until each part fits.",
            "default": true
          },
          "maxMapTiles": {
            "title": "Map tiles at most",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most parts one map area is read in (each part costs one page read, plus its pages). A part that would need more is read as it is, up to 270 listings.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy (the default) reads Airbnb search pages; a page Airbnb refuses is retried on another IP, up to 6 times. Residential proxy also works and is capped per run (about 10 KB of traffic per listing plus 5 MB).",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}