{
  "openapi": "3.0.1",
  "info": {
    "title": "ohne-makler.net Scraper — Germany FSBO Property Data & API",
    "description": "ohne-makler.net scraper & real estate data API for Germany's FSBO / private-seller portal. Commission-free rent & sale listings in every German city: price, size, rooms, deposit, address, GPS, energy class, photos — clean JSON/CSV. Fast overview or full detail. No-code, no API key needed.",
    "version": "1.1",
    "x-build-id": "lDfzJAMVUyoK2NRS4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~ohne-makler-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-ohne-makler-property-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/sian.agency~ohne-makler-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-ohne-makler-property-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/sian.agency~ohne-makler-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-ohne-makler-property-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": {
          "scrapeMode": {
            "title": "🧭 Scrape mode",
            "enum": [
              "overview",
              "detail"
            ],
            "type": "string",
            "description": "🧭 **OVERVIEW** = cheap full-list enumeration. ONE search fetch returns the *entire* result set (id, title, URL, GPS) — no pagination. Optionally enrich each with price/size/rooms.\n\n🔎 **DETAIL** = full per-listing data: exact address, all attributes, energy, deposit, description and every photo.\n\n💡 **TIP:** Start with overview to map a city cheaply, then run detail on the IDs you care about.",
            "default": "overview"
          },
          "searchMode": {
            "title": "🔀 Search mode",
            "enum": [
              "byPlace",
              "bySearchUrl",
              "byListingUrl"
            ],
            "type": "string",
            "description": "🔀 How to choose what to scrape:\n- **By place** — pick contract + property type + (optional) state/city slugs.\n- **By search URL** — paste one or more ohne-makler.net search URLs.\n- **By listing URL** — detail mode only: pass explicit listing URLs or IDs.",
            "default": "byPlace"
          },
          "contract": {
            "title": "🏷️ Contract",
            "enum": [
              "rent",
              "sale"
            ],
            "type": "string",
            "description": "🏷️ Rent (mieten) or sale (kaufen). Used in **By place** mode (and as a fallback otherwise).",
            "default": "rent"
          },
          "estateType": {
            "title": "🏘️ Property type slug",
            "type": "string",
            "description": "🏘️ ohne-makler type slug used in **By place** mode: `wohnung` (apartment), `haus` (house), `zimmer` (room), `grundstueck` (plot), `buero` (office), `lagerhalle` (warehouse), …",
            "default": "wohnung"
          },
          "states": {
            "title": "🗺️ State slugs",
            "type": "array",
            "description": "🗺️ Optional German state slugs (e.g. `berlin`, `bayern`, `nordrhein-westfalen`). Leave empty for national scope.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "🏙️ City slugs",
            "type": "array",
            "description": "🏙️ Optional city slugs (e.g. `berlin`, `berlin-lichterfelde`, `muenchen`). Pair with a matching state slug.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "🔗 Search URLs",
            "type": "array",
            "description": "🔗 Paste one or more ohne-makler.net search URLs (used when **Search mode = By search URL**). Example: `https://www.ohne-makler.net/immobilien/wohnung-mieten/berlin/berlin/`",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "🆔 Listing URLs or IDs",
            "type": "array",
            "description": "🆔 Detail-page URLs or bare listing IDs (used when **Scrape mode = Detail** + **Search mode = By listing URL**). Example: `https://www.ohne-makler.net/immobilie/443590/` or just `443590`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "💰 Min price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "💰 Minimum price filter in EUR (kaltmiete for rent, kaufpreis for sale)."
          },
          "priceMax": {
            "title": "💰 Max price (€)",
            "minimum": 0,
            "type": "integer",
            "description": "💰 Maximum price filter in EUR."
          },
          "areaMin": {
            "title": "📐 Min living area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "📐 Minimum living area filter in m²."
          },
          "areaMax": {
            "title": "📐 Max living area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "📐 Maximum living area filter in m²."
          },
          "radius": {
            "title": "📍 Search radius (km)",
            "minimum": 0,
            "type": "integer",
            "description": "📍 Search radius in km around the chosen city."
          },
          "enrichPreview": {
            "title": "✨ Enrich overview with price/size/rooms",
            "type": "boolean",
            "description": "✨ In **Overview** mode, also fetch each tiny preview fragment to fill price / area / rooms / city / zip. Adds one small request per listing (still far cheaper than full detail).",
            "default": false
          },
          "maxResults": {
            "title": "🔢 Max results",
            "minimum": 1,
            "type": "integer",
            "description": "🔢 Cap on listings per run.\n\n**FREE users:** up to 25 listings per run.\n**PAID users:** unlimited — frame as upgrade, not limit.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}