{
  "openapi": "3.0.1",
  "info": {
    "title": "willhaben Scraper: Marketplace, Cars & Real Estate (Austria)",
    "description": "willhaben.at scraper for Austria: marketplace listings, used cars and motorbikes, flats and houses for rent or sale, by keyword, any willhaben search URL or section. Car specs, m², rooms and price per m², deal score and price drop alerts.",
    "version": "0.1",
    "x-build-id": "cZz89DSnNvCWTebil"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/euroscrape~willhaben-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-euroscrape-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/euroscrape~willhaben-scraper/runs": {
      "post": {
        "operationId": "runs-sync-euroscrape-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/euroscrape~willhaben-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-euroscrape-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": {
          "searches": {
            "title": "Searches",
            "type": "array",
            "description": "What to look for: plain text (\"iphone 13\", \"golf\", \"fahrrad\"), any willhaben search URL copied from the site with your filters (all of them are kept), or a listing URL to follow it. Leave empty to browse a whole section (e.g. all flats for rent in Vienna).",
            "items": {
              "type": "string"
            }
          },
          "section": {
            "title": "Section",
            "enum": [
              "marketplace",
              "cars",
              "motorbikes",
              "flatsForRent",
              "flatsForSale",
              "housesForSale",
              "housesForRent"
            ],
            "type": "string",
            "description": "Where text searches look. Pasted URLs keep their own section.",
            "default": "marketplace"
          },
          "state": {
            "title": "State (Bundesland)",
            "enum": [
              "wien",
              "niederoesterreich",
              "oberoesterreich",
              "steiermark",
              "tirol",
              "kaernten",
              "salzburg",
              "vorarlberg",
              "burgenland"
            ],
            "type": "string",
            "description": "Optional. Leave empty for all of Austria."
          },
          "maxItemsPerSearch": {
            "title": "Maximum listings per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "You pay per listing delivered. Up to 1,000 per search.",
            "default": 100
          },
          "order": {
            "title": "Sort",
            "enum": [
              "newest",
              "relevance",
              "priceLowToHigh",
              "priceHighToLow"
            ],
            "type": "string",
            "description": "Order of the site's results: it decides which listings are read first.",
            "default": "newest"
          },
          "priceMin": {
            "title": "Minimum price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional."
          },
          "priceMax": {
            "title": "Maximum price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional (monthly rent for rentals)."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "private",
              "business"
            ],
            "type": "string",
            "description": "Private sellers, businesses (dealers, agencies, shops) or both.",
            "default": "any"
          },
          "carMinYear": {
            "title": "Cars: from year",
            "minimum": 1950,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional, cars and motorbikes."
          },
          "carMaxKm": {
            "title": "Cars: maximum mileage (km)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional, cars and motorbikes."
          },
          "minAreaSqm": {
            "title": "Homes: minimum living area (m²)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional, real estate."
          },
          "minRooms": {
            "title": "Homes: minimum rooms",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, real estate."
          },
          "maxPricePerSqm": {
            "title": "Homes: maximum price per m² (€)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional, real estate (monthly rent per m² for rentals)."
          },
          "strictMatching": {
            "title": "Only listings whose title matches the search",
            "type": "boolean",
            "description": "On: the title must contain the model numbers and the words of your search (willhaben also returns cases, chargers, other models).",
            "default": true
          },
          "excludeAccessoriesAndBroken": {
            "title": "Exclude accessories, broken items and wanted ads",
            "type": "boolean",
            "description": "Off: they are kept and flagged (looksLikeAccessory, looksBroken, isWantedAd). On: they are left out.",
            "default": false
          },
          "dealAnalysis": {
            "title": "Deal score (free)",
            "type": "boolean",
            "description": "Compares each listing with the most similar ones of the same search (price per m² for homes): marketMedianPrice, priceVsMarketPct and a dealScore from 0 to 100.",
            "default": true
          },
          "minDealScore": {
            "title": "Only deals scoring at least",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Optional, e.g. 65 keeps listings priced ~15% or more below their market."
          },
          "includeSummary": {
            "title": "Free summary per search",
            "type": "boolean",
            "description": "One extra free row per search: total on willhaben, median and quartile prices, median price per m² for homes, share of business sellers, top districts, best 5 deals.",
            "default": true
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name this search and schedule the Actor (e.g. every hour): each run then returns only NEW listings and PRICE DROPS since the previous run, and alerts you. The first run is the baseline."
          },
          "alertOnPriceDropPct": {
            "title": "Price drop that counts (%)",
            "minimum": 0,
            "maximum": 90,
            "type": "integer",
            "description": "Monitoring: a listing comes back when its price falls by at least this percentage.",
            "default": 5
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Alerts on Telegram: create a bot with @BotFather and paste its token."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Your chat ID (send a message to your bot, then open api.telegram.org/bot<token>/getUpdates)."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Channel settings → Integrations → Webhooks."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Incoming webhook URL."
          },
          "webhookUrl": {
            "title": "Webhook URL (JSON)",
            "type": "string",
            "description": "Receives one POST per run with the new listings and price drops (Make, Zapier, n8n…)."
          },
          "maxNotifications": {
            "title": "Maximum alerts per run",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Extra items are summarized in one message.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}