{
  "openapi": "3.0.1",
  "info": {
    "title": "derStandard Immobilien Scraper - Austria Homes & Gewerbe",
    "description": "Scrape immobilien.derstandard.at: apartments, houses, land, WG rooms and commercial property (office, retail, gastro, warehouse) to rent or buy in Austria, plus ~400 agencies and all listings per agency. Price, €/m², area, district, agency, details. Only-new mode.",
    "version": "0.1",
    "x-build-id": "X9BmRqhEOf0uDEeUe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aidnurs~derstandard-immo-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aidnurs-derstandard-immo-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/aidnurs~derstandard-immo-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aidnurs-derstandard-immo-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/aidnurs~derstandard-immo-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aidnurs-derstandard-immo-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "residential",
              "commercial",
              "agencies",
              "agencyListings"
            ],
            "type": "string",
            "description": "Homes and commercial property use the search fields below. 'Agency catalogue' lists the real estate agencies on derStandard with address (and optionally their number of listings). 'All listings of chosen agencies' scrapes every listing of the agencies you name.",
            "default": "residential"
          },
          "startUrls": {
            "title": "Search URLs (optional)",
            "type": "array",
            "description": "Paste search result URLs from immobilien.derstandard.at (set the filters on the site, then copy the address bar), e.g. https://immobilien.derstandard.at/suche/wien/mieten-wohnung?priceTo=1200. When set, the mode and search fields are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "dealType": {
            "title": "Rent or buy",
            "enum": [
              "rent",
              "buy",
              "any"
            ],
            "type": "string",
            "description": "Homes and commercial property. WG rooms are always for rent.",
            "default": "rent"
          },
          "propertyType": {
            "title": "Property type (homes)",
            "enum": [
              "apartment",
              "house",
              "land",
              "sharedRoom"
            ],
            "type": "string",
            "description": "Used in the 'Homes' mode.",
            "default": "apartment"
          },
          "commercialCategory": {
            "title": "Commercial type (Gewerbe)",
            "enum": [
              "all",
              "office",
              "retail",
              "gastro",
              "hotel",
              "warehouse",
              "production",
              "practice",
              "agricultural"
            ],
            "type": "string",
            "description": "Used in the 'Commercial property' mode. The site files most commercial listings as 'other', so the type is read from the listing title; every record gets a commercialCategory field.",
            "default": "all"
          },
          "state": {
            "title": "State (Bundesland)",
            "enum": [
              "all",
              "wien",
              "niederoesterreich",
              "oberoesterreich",
              "steiermark",
              "tirol",
              "salzburg",
              "kaernten",
              "vorarlberg",
              "burgenland"
            ],
            "type": "string",
            "description": "Limit the search to one federal state.",
            "default": "all"
          },
          "location": {
            "title": "City or Vienna district",
            "type": "string",
            "description": "Town or Vienna district as named on the site, e.g. \"Wien\", \"Graz\", \"Linz\", \"Baden\", \"Favoriten\", \"Wien 7\", \"1070\". A non-Vienna postcode is filtered on our side. Leave empty for the whole state or Austria."
          },
          "priceMin": {
            "title": "Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent or purchase price."
          },
          "priceMax": {
            "title": "Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent or purchase price."
          },
          "areaMin": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Living / usable area."
          },
          "areaMax": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Living / usable area."
          },
          "roomsMin": {
            "title": "Min rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Homes only."
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "One word is searched on the site (title and text). Several words: spaces = all must appear, commas = alternatives, -word excludes, e.g. \"altbau balkon, terrasse -befristet\" (checked on the title, and on the description when details are on)."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "newest",
              "priceAsc",
              "priceDesc",
              "areaAsc",
              "areaDesc"
            ],
            "type": "string",
            "description": "Order of the site's results.",
            "default": "newest"
          },
          "agencyIds": {
            "title": "Agency IDs or URLs",
            "type": "array",
            "description": "For 'All listings of chosen agencies': agency ids from the catalogue (agencyId field) or the 'Zu den Objekten' links, e.g. https://immobilien.derstandard.at/suche/oesterreich/alle-alleimmobilien?accountId=...",
            "items": {
              "type": "string"
            }
          },
          "agencyNames": {
            "title": "Agency names",
            "type": "array",
            "description": "For 'All listings of chosen agencies': part of the agency name, e.g. \"EHL\", \"Otto Immobilien\". Each name is matched against the catalogue (up to 20 agencies per name).",
            "items": {
              "type": "string"
            }
          },
          "agencyNameFilter": {
            "title": "Catalogue: name contains",
            "type": "string",
            "description": "For 'Agency catalogue': keep agencies whose name contains any of these comma-separated words."
          },
          "agencyCity": {
            "title": "Catalogue: city or postcode",
            "type": "string",
            "description": "For 'Agency catalogue': keep agencies whose city or postcode starts with this, e.g. \"Wien\", \"80\" (Graz area)."
          },
          "includeAgencyListingCounts": {
            "title": "Catalogue: count each agency's listings",
            "type": "boolean",
            "description": "For 'Agency catalogue': adds listingCount and website per agency (one extra page per agency, slower).",
            "default": false
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of listings (or agencies) to save. You only pay for results saved to the dataset. Searches past the site's 7,500-result cap are split by state or Vienna district automatically.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include listing details",
            "type": "boolean",
            "description": "Open every listing for the full description, exact subtype, operating costs, deposit, year built, condition, heating, energy certificate (HWB, fGEE) and all photos. Charged as an extra event per listing with details.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip listings saved by earlier runs with the same State key (for scheduled runs and alerts). Skipped listings are free.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the memory for 'Only new listings'. Use a different key per saved search.",
            "default": "default"
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "Off: phone numbers and personal e-mails in texts are masked, private sellers' street and exact coordinates are hidden. On: contact person name, phone and e-mail (with details) and unmasked texts. Only turn on if you have a legal basis (GDPR) to process them.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: the Actor connects directly and switches to an Austrian residential proxy on its own if the site blocks it. You can set your own proxy URLs.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}