{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Kleinanzeigen Real Estate · 2,500 Free Listings/Month",
    "description": "Kleinanzeigen Real Estate Scraper gets you Kleinanzeigen data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — flats & houses to rent or buy with rent, rooms, area & landlord. 💰 $2 per 1,000 listings, no start fee. Scrape your first 2,500 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "7yYtamRoFagLfg2i4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~kleinanzeigen-real-estate-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-kleinanzeigen-real-estate-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/omkar-cloud~kleinanzeigen-real-estate-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-kleinanzeigen-real-estate-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/omkar-cloud~kleinanzeigen-real-estate-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-kleinanzeigen-real-estate-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": {
          "type": {
            "title": "Property Search",
            "enum": [
              "apartment_rent",
              "apartment_buy",
              "house_rent",
              "house_buy"
            ],
            "type": "string",
            "description": "What to scrape: flats or houses, to rent or to buy.",
            "default": "apartment_rent"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, districts or 5-digit postal codes — each is searched separately. Rows carry a `search_location` field. Leave empty to search all of Germany.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Radius",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Search radius around each location, in km."
          },
          "searchQueries": {
            "title": "Extra Keywords",
            "type": "array",
            "description": "Optional keywords matched in the listing text — each is searched separately. Rows carry a `query` field.",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "kleinanzeigen.de listing URLs (or listing IDs) to scrape directly, one row each, always with full details (billed at the detailed rate). Rows carry an `input_url` field.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min Price",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum monthly rent or purchase price in EUR."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum monthly rent or purchase price in EUR."
          },
          "minRooms": {
            "title": "Min Rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of rooms."
          },
          "maxRooms": {
            "title": "Max Rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of rooms."
          },
          "minArea": {
            "title": "Min Living Area",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum living area in m²."
          },
          "maxArea": {
            "title": "Max Living Area",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum living area in m²."
          },
          "minPlotArea": {
            "title": "Min Plot Area",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum plot area in m² (houses to buy only)."
          },
          "maxPlotArea": {
            "title": "Max Plot Area",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum plot area in m² (houses to buy only)."
          },
          "minYearBuilt": {
            "title": "Built From",
            "minimum": 1,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest construction year (properties to buy only)."
          },
          "maxYearBuilt": {
            "title": "Built Until",
            "minimum": 1,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest construction year (properties to buy only)."
          },
          "propertyType": {
            "title": "Property Type",
            "type": "string",
            "description": "Flat or house type by name: penthouse, maisonette, loft, dachgeschosswohnung, villa, reihenhaus, bungalow, einfamilienhaus …"
          },
          "features": {
            "title": "Must-Have Features",
            "type": "array",
            "description": "Only properties with all of these features (up to 10). A feature the chosen property search does not offer is rejected with a clear message.",
            "items": {
              "type": "string",
              "enum": [
                "furnished",
                "balcony",
                "terrace",
                "built_in_kitchen",
                "bathtub",
                "guest_wc",
                "barrier_free",
                "floor_heating",
                "old_building",
                "new_building",
                "lift",
                "celler_loft",
                "garage",
                "garden",
                "pets_allowed",
                "wg_possible",
                "wbs",
                "grannyflat",
                "historical",
                "rented"
              ],
              "enumTitles": [
                "Furnished",
                "Balcony",
                "Terrace",
                "Built-in kitchen",
                "Bathtub",
                "Guest WC",
                "Step-free access",
                "Underfloor heating",
                "Old building (Altbau)",
                "New building",
                "Lift",
                "Cellar",
                "Garage / parking",
                "Garden",
                "Pets allowed",
                "Suitable for flat-sharing",
                "WBS required",
                "Granny flat",
                "Listed building",
                "Currently rented"
              ]
            }
          },
          "sellerType": {
            "title": "Seller Type",
            "enum": [
              "",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Only private landlords / owners or only agents and companies.",
            "default": ""
          },
          "hasPhotos": {
            "title": "With Photos Only",
            "type": "boolean",
            "description": "Only listings with at least one photo.",
            "default": false
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "price_asc",
              "price_desc",
              "distance"
            ],
            "type": "string",
            "description": "Order of the results. Nearest first needs a location.",
            "default": ""
          },
          "includeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Also open every listing for its full record: seller name, phone number (when shown), member-since date, satisfaction / friendliness / reliability badges, view count, legal notice and last-edit time. Billed at the detailed rate.",
            "default": false
          },
          "maxResultsPerSearch": {
            "title": "Max Results per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum listings to scrape for each search. Kleinanzeigen serves the first 10,000 results of a search. This is your cost cap: 1,000 results cost what 1,000 listings cost.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}