{
  "openapi": "3.0.1",
  "info": {
    "title": "Willhaben Scraper – Real Estate, Cars, Marketplace & Jobs",
    "description": "Scrape willhaben.at, Austria's #1 classifieds: apartments, houses, land, cars, motorcycles, marketplace items and jobs. Prices, m², rooms, GPS, seller, photos. Fast HTTP, no login.",
    "version": "1.0",
    "x-build-id": "0uo6FbTcdXjx1GyEi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ninhothedev~willhaben-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ninhothedev-willhaben-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/ninhothedev~willhaben-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ninhothedev-willhaben-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/ninhothedev~willhaben-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ninhothedev-willhaben-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": {
          "vertical": {
            "title": "What do you want to scrape?",
            "enum": [
              "mietwohnungen",
              "eigentumswohnungen",
              "haus-kaufen",
              "haus-mieten",
              "grundstuecke",
              "gewerbe-mieten",
              "gewerbe-kaufen",
              "ferienimmobilien-kaufen",
              "ferienimmobilien-mieten",
              "neubauprojekte",
              "immobilien",
              "marktplatz",
              "auto",
              "motorrad",
              "nutzfahrzeuge",
              "wohnwagen",
              "jobs"
            ],
            "type": "string",
            "description": "willhaben.at category to search. Ignored when you paste Search URLs below.",
            "default": "mietwohnungen"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Bundesland (e.g. Wien, Steiermark, Tirol), Bezirk (e.g. Linz Land, Mödling), town (e.g. Graz) or postcode (e.g. 1100). Separate several with commas. Leave empty for all of Austria."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Free-text search, e.g. 'Balkon', 'iPhone 15', 'Golf GTI', 'Buchhaltung'."
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of listings to save in total (across all searches/URLs). You only pay for saved listings.",
            "default": 100
          },
          "includeDetails": {
            "title": "Scrape full details (description, all images, attributes, seller)",
            "type": "boolean",
            "description": "Opens every listing page to add the full description, all photos, every attribute (heating, energy rating, equipment, condition…), category path, seller/agency name, phone & website for commercial sellers, first-published and expiry dates. Slower (one extra request per listing).",
            "default": false
          },
          "searchUrls": {
            "title": "Search URLs (any willhaben.at link)",
            "type": "array",
            "description": "Paste any willhaben.at search result URL (real estate, Marktplatz, Gebrauchtwagen, Jobs) with your filters already set on the website, or single listing URLs / ad IDs. When provided, the category and filter fields are ignored.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max listings per search URL",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap per pasted URL, so one big search doesn't use up the whole Max listings budget. Leave empty for no per-URL limit."
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of results. 'Newest first' is best for monitoring new listings.",
            "default": "newest"
          },
          "priceMin": {
            "title": "Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum price or monthly rent in EUR."
          },
          "priceMax": {
            "title": "Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum price or monthly rent in EUR."
          },
          "areaMin": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Real estate: minimum living area (plot area for land, usable area for commercial)."
          },
          "areaMax": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Real estate: maximum living area (plot area for land, usable area for commercial)."
          },
          "roomsMin": {
            "title": "Min rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Real estate: minimum number of rooms."
          },
          "roomsMax": {
            "title": "Max rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Real estate: maximum number of rooms."
          },
          "make": {
            "title": "Vehicle make",
            "type": "string",
            "description": "Vehicles: brand name as on willhaben, e.g. 'BMW', 'Volkswagen', 'KTM'."
          },
          "yearMin": {
            "title": "Vehicle: first registration from (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Vehicles: minimum year of first registration."
          },
          "yearMax": {
            "title": "Vehicle: first registration to (year)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Vehicles: maximum year of first registration."
          },
          "mileageMax": {
            "title": "Vehicle: max mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Vehicles: maximum mileage in km."
          },
          "category": {
            "title": "Marketplace category",
            "type": "string",
            "description": "Marktplatz only: top-level category name as on willhaben, e.g. 'Computer / Software', 'Sport / Sportgeräte', 'Haus / Garten / Werkstatt'."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "all",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Only private sellers, only commercial sellers (agencies, dealers, shops) or both.",
            "default": "all"
          },
          "maxAgeHours": {
            "title": "Only listings published in the last X hours",
            "minimum": 1,
            "type": "integer",
            "description": "Great for scheduled monitoring: e.g. 24 = only listings published in the last 24 hours. Leave empty for no limit."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Usually not needed – willhaben works without a proxy. Enable Apify Proxy only if you see blocking on very large runs.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel requests (used for detail pages).",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}