{
  "openapi": "3.0.1",
  "info": {
    "title": "willhaben Scraper & API - Listings, Price Drops | $0.6/1K",
    "description": "Search willhaben.at marketplace, used cars and rentals by keyword, region, price and seller type, or paste any willhaben search URL. Get prices with willhaben's own price drops, GPS, seller and optional details; monitor only new or repriced listings.",
    "version": "0.1",
    "x-build-id": "R3eYUqDEwQz5zcjfT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/surefeed~willhaben-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-surefeed-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/surefeed~willhaben-scraper/runs": {
      "post": {
        "operationId": "runs-sync-surefeed-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/surefeed~willhaben-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-surefeed-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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "What to search, one per line (e.g. iphone 15, rennrad, couch). Combined with Category and the filters below. Leave empty with Category = Used cars or Apartments to browse the whole section.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (for search terms)",
            "enum": [
              "marketplace",
              "cars",
              "apartments_rent"
            ],
            "type": "string",
            "description": "Section of willhaben used for the search terms. For any other section or detailed filters (car make, rooms, size...), set them on willhaben.at and paste the URL below.",
            "default": "marketplace"
          },
          "searchUrls": {
            "title": "willhaben search URLs",
            "type": "array",
            "description": "Optional. Paste search result pages from willhaben.at with all filters you like, e.g. https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?CAR_MODEL/MAKE=1005 . Single listing pages are not accepted.",
            "items": {
              "type": "string"
            }
          },
          "state": {
            "title": "Region (Bundesland)",
            "enum": [
              "any",
              "burgenland",
              "kaernten",
              "niederoesterreich",
              "oberoesterreich",
              "salzburg",
              "steiermark",
              "tirol",
              "vorarlberg",
              "wien"
            ],
            "type": "string",
            "description": "Limit results to one Austrian state.",
            "default": "any"
          },
          "minPrice": {
            "title": "Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional lower price limit."
          },
          "maxPrice": {
            "title": "Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional upper price limit."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Private sellers or dealers. Not available for real estate.",
            "default": "any"
          },
          "postedLast48Hours": {
            "title": "Only listings from the last 48 hours",
            "type": "boolean",
            "description": "willhaben's own 'last 48 hours' filter.",
            "default": false
          },
          "onlyPriceDrops": {
            "title": "Only price drops",
            "type": "boolean",
            "description": "Return only listings willhaben marks as reduced (old price higher than current price). Great for deal hunting: works from the first run, no history needed.",
            "default": false
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "inherit",
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order in which listings are read.",
            "default": "inherit"
          },
          "maxListingsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each search after this many saved listings. 0 = no limit.",
            "default": 100
          },
          "maxTotalListings": {
            "title": "Max listings in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many saved listings. 0 = no limit.",
            "default": 0
          },
          "maxSearchPagesPerSearch": {
            "title": "Max result pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Each page holds up to 200 listings. 0 = no limit.",
            "default": 0
          },
          "maxRunSeconds": {
            "title": "Max run time (seconds)",
            "minimum": 0,
            "type": "integer",
            "description": "Soft time limit: no new pages are started after it. 0 = no limit.",
            "default": 0
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "Open each listing for the full description, all images, first publication date, seller profile and all listing attributes. Charged as an extra event only when details are obtained.",
            "default": false
          },
          "onlyNewListings": {
            "title": "Monitor: only new or repriced listings",
            "type": "boolean",
            "description": "Remembers what earlier runs of the same search saw (in your account) and returns only listings that are new or whose price changed, with the previous price. Schedule the Actor to get alerts.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Give separate monitors for the same search their own memory."
          },
          "deduplicateAcrossSearches": {
            "title": "Deduplicate across searches",
            "type": "boolean",
            "description": "Return and charge each listing once even if several searches find it.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}