{
  "openapi": "3.0.1",
  "info": {
    "title": "Commercial Real Estate Scraper DACH (Gewerbe)",
    "description": "Scrape commercial property listings (Gewerbeimmobilien) from derStandard Immobilien (Austria) and immobilien.de (Germany): offices, retail shops, restaurants, warehouses and halls for rent or sale. Price, €/m², area, address, agency, photos. One schema, only-new mode.",
    "version": "0.1",
    "x-build-id": "AB6HthBHqfIzidyHc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aidnurs~commercial-real-estate-dach-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aidnurs-commercial-real-estate-dach-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~commercial-real-estate-dach-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aidnurs-commercial-real-estate-dach-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~commercial-real-estate-dach-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aidnurs-commercial-real-estate-dach-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": {
          "sources": {
            "title": "Sites",
            "type": "array",
            "description": "Which sites to search. derStandard Immobilien covers Austria, immobilien.de covers Germany. Empty = both.",
            "items": {
              "type": "string",
              "enum": [
                "derstandard",
                "immobiliende"
              ],
              "enumTitles": [
                "derStandard Immobilien (Austria)",
                "immobilien.de (Germany)"
              ]
            },
            "default": [
              "derstandard",
              "immobiliende"
            ]
          },
          "dealType": {
            "title": "Rent or buy",
            "enum": [
              "rent",
              "buy",
              "both"
            ],
            "type": "string",
            "description": "Listings for rent (Miete/Pacht), for sale (Kauf), or both.",
            "default": "rent"
          },
          "categories": {
            "title": "Property categories",
            "type": "array",
            "description": "Office / practice (Büro, Praxis, Ordination), retail (Geschäftslokal, Laden), gastro (restaurant, café, hotel), industrial (Lager, Halle, Produktion, Werkstatt), other (land, investment, misc.). Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "office",
                "retail",
                "gastro",
                "industrial",
                "other"
              ],
              "enumTitles": [
                "Office / practice",
                "Retail / shop",
                "Restaurant / hotel",
                "Warehouse / hall / production",
                "Other commercial"
              ]
            },
            "default": []
          },
          "locationAustria": {
            "title": "Location in Austria (derStandard)",
            "type": "string",
            "description": "A state (Wien, Steiermark, Tirol, ...), a town (Graz, Linz, Salzburg) or a Vienna district (Neubau, 1070, 7). Empty = all of Austria. An unknown place gives 0 results, never all of Austria."
          },
          "locationGermany": {
            "title": "Location in Germany (immobilien.de)",
            "type": "string",
            "description": "A city name (Berlin, München, Hamburg) or a 5-digit postcode. Empty = all of Germany (the site shows the newest 500 per category)."
          },
          "priceMin": {
            "title": "Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent or purchase price, in EUR. Listings without a price are left out when a price filter is set."
          },
          "priceMax": {
            "title": "Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Monthly rent or purchase price, in EUR."
          },
          "areaMin": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Usable / total area in m²."
          },
          "areaMax": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Usable / total area in m²."
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many unique listings in total (0 = no limit). Searches are read in turns, so a small number still mixes sites and categories.",
            "default": 50
          },
          "maxPagesPerSearch": {
            "title": "Max pages per category search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Each site is searched category by category, newest first. derStandard shows 15 listings per page, immobilien.de 24 (at most 21 pages).",
            "default": 10
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Open each listing page for description, operating costs, deposit, commission, year built, condition, area breakdown, equipment, agency website and publish date. Charged as an extra event, only when the page loaded.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip listings saved by earlier runs with the same state key (they are not charged). Use with a schedule to get only fresh listings.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the memory for 'Only new listings'. Use a different key per search you schedule.",
            "default": "default"
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "Off (default): phone numbers and personal e-mails in descriptions are masked, contact person names are not saved, private sellers' street and exact coordinates are hidden. Turn on only if you have a legal basis to process this data.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: both sites answer without a proxy."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}