{
  "openapi": "3.0.1",
  "info": {
    "title": "Kleinanzeigen Immobilien Scraper - Wohnungen & Häuser API",
    "description": "Kleinanzeigen Immobilien scraper and API: German apartments, houses, WG rooms, land and commercial property by city/PLZ + radius, price, m², rooms and features. Rows: rent or price, m², rooms, EUR/m², warm rent, deposit, energy class, agency. $0.75 per 1,000, no start fee.",
    "version": "1.0",
    "x-build-id": "W9tYv5IZaXoAqkAUl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~kleinanzeigen-immobilien-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-kleinanzeigen-immobilien-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/rel8ble~kleinanzeigen-immobilien-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-kleinanzeigen-immobilien-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/rel8ble~kleinanzeigen-immobilien-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-kleinanzeigen-immobilien-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": {
          "locations": {
            "title": "Places (city, district or postcode)",
            "type": "array",
            "description": "Optional. German places, one per line: a city (\"Berlin\", \"Köln\"), a district (\"Hamburg-Altona\") or a 5-digit postcode (\"80331\"). Resolved with the site's own place lookup; an unknown place is left out and listed in the run summary. A Kleinanzeigen location id like \"l3331\" also works. Several = one search per place and property type. Empty = all of Germany.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Optional. One per line: apartment_rent (Mietwohnungen), apartment_buy (Eigentumswohnungen), house_rent, house_buy, shared_temporary (Auf Zeit & WG), land (Grundstücke & Gärten), commercial (Gewerbeimmobilien), parking (Garagen & Stellplätze), holiday (Ferien- & Auslandsimmobilien), new_build (Neubauprojekte), other. German names (\"Mietwohnung\") and category ids (\"203\") also work. Several = one search per type and place. Empty = apartment_rent.",
            "items": {
              "type": "string"
            }
          },
          "radiusKm": {
            "title": "Radius around the place (km)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Optional, only used with places. Search radius in km around each place: 5, 10, 20, 30, 50, 100, 150, 200 (other numbers are rounded to the nearest of these). Empty or 0 = only the place itself. Rows then carry distanceKm."
          },
          "searchQueries": {
            "title": "Keywords (optional)",
            "type": "array",
            "description": "Optional. Words that must appear in the listing, one per line: \"altbau\", \"dachterrasse\", \"provisionsfrei\", \"wg zimmer\". Each keyword is one more search per type and place. Leave empty to list everything.",
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Minimum price / rent (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Lowest price in whole euros: cold rent for rentals (\"Kaltmiete\"), purchase price for sales. Empty = no minimum. Listings without a price are left out by any price filter, as on the website."
          },
          "priceMax": {
            "title": "Maximum price / rent (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest price in whole euros (cold rent for rentals, purchase price for sales), e.g. 1500. Empty = no maximum. A max below the min is swapped."
          },
          "livingSpaceMin": {
            "title": "Minimum living space (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Smallest living / usable area in m², e.g. 50. Applied by the site (apartments, houses, WG, commercial, new builds; plot size for land). Empty = no minimum."
          },
          "livingSpaceMax": {
            "title": "Maximum living space (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Largest living / usable area in m², e.g. 90. Empty = no maximum."
          },
          "roomsMin": {
            "title": "Minimum rooms",
            "minimum": 0,
            "type": "number",
            "description": "Optional. Fewest rooms (\"Zimmer\"), half rooms allowed: 2, 2.5. Apartments, houses, WG and new builds only. Empty = no minimum."
          },
          "roomsMax": {
            "title": "Maximum rooms",
            "minimum": 0,
            "type": "number",
            "description": "Optional. Most rooms, e.g. 3. Empty = no maximum."
          },
          "features": {
            "title": "Must-have features",
            "type": "array",
            "description": "Optional. Every listing must have all of these, one per line: balcony, terrace, garden, built_in_kitchen, lift, cellar, furnished, pets_allowed, barrier_free, garage, guest_wc, bathtub, floor_heating, new_building, old_building, wbs_required, wg_possible, loft, granny_flat, rented_out, historical, parking, air_conditioning, washing_machine, dishwasher, wifi. German words work too (\"Balkon\", \"Einbauküche\"). A feature a property type has no filter for is skipped for that type and listed as a warning.",
            "items": {
              "type": "string"
            }
          },
          "subTypes": {
            "title": "Sub-types",
            "type": "array",
            "description": "Optional. Narrow each type, one per line; several = one search each. Apartments: penthouse, maisonette, loft, attic (Dachgeschoss), ground_floor, etagenwohnung, souterrain, terrassenwohnung, hochparterre. Houses: einfamilienhaus (detached), doppelhaushaelfte (semi-detached), reihenhaus (terraced), mehrfamilienhaus, bungalow, villa, bauernhaus. Land: building_plot, garden, farmland. Commercial: office, retail, restaurant, warehouse, unit. Parking: garage, outdoor. Shared: entire, private_room, shared_room. Values that do not fit a type are ignored for it.",
            "items": {
              "type": "string"
            }
          },
          "yearBuiltMin": {
            "title": "Built in or after (year)",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Earliest construction year, e.g. 1990. The site filters apartments for sale, houses for sale and new builds by it. Empty = any."
          },
          "yearBuiltMax": {
            "title": "Built in or before (year)",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Latest construction year, e.g. 1950 for Altbau. Empty = any."
          },
          "plotAreaMin": {
            "title": "Minimum plot area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Houses for sale only: smallest plot (\"Grundstücksfläche\") in m². For land use the living-space fields (they filter plot size there)."
          },
          "plotAreaMax": {
            "title": "Maximum plot area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Houses for sale only: largest plot in m²."
          },
          "dealType": {
            "title": "Rent or buy (mixed categories)",
            "enum": [
              "any",
              "rent",
              "buy"
            ],
            "type": "string",
            "description": "Optional. Only for land, commercial, parking and holiday property, where one category holds both: \"rent\", \"buy\" or \"any\" (default). Apartment and house types already say rent or buy.",
            "default": "any"
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "private",
              "commercial"
            ],
            "type": "string",
            "description": "Optional. \"any\" (default), \"private\" (private landlords and owners, no agent) or \"commercial\" (agents, developers and housing companies, with their shop name and link).",
            "default": "any"
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "newest",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Optional. \"newest\" (default, the site's own order; use it on a schedule to catch new listings first), \"price_asc\" or \"price_desc\".",
            "default": "newest"
          },
          "startUrls": {
            "title": "Kleinanzeigen property URLs",
            "type": "array",
            "description": "Optional. URLs copied from kleinanzeigen.de, one per line. A real-estate result URL (\"https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331\", including ones with site filters like \"+wohnung_mieten.qm_d:50,80\") is scraped with every filter in it; the filter fields above are not applied to it. An ad URL (\"https://www.kleinanzeigen.de/s-anzeige/.../3539888147-208-9437\") is looked up directly with full details. Non-property categories and other sites are skipped with a warning.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Maximum listings saved per search (one property type x sub-type x keyword x place, or one URL), integer >= 0. Default 100; 0 = every listing the search has. You pay per listing saved ($0.0003 each), so 1,000 listings = $0.30. Use 10-25 for a quick answer.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include listing details (warm rent, energy, features)",
            "type": "boolean",
            "description": "Optional boolean. false (default) = data from the result pages: price, m², rooms, price per m², place, postcode, date, seller type, agency name, photos, URL; 25 listings per request. true = also open each listing for warm rent, service charges (Nebenkosten), heating costs, deposit (Kaution), floor, bedrooms, bathrooms, available-from month, apartment / house type, year built, commission, the full feature list (balcony, lift, kitchen ...), energy certificate, energy class, energy use and heating type, the full description (contact details masked), approximate map position and all photos. Same price per listing, about 1 extra request per listing.",
            "default": false
          },
          "deepSearch": {
            "title": "Deep search (go past the 1,250-ad limit)",
            "type": "boolean",
            "description": "Optional boolean, default true. Kleinanzeigen shows at most 1,250 listings per search (50 pages of 25). With deep search on, a bigger search is split automatically by German state, then price band, and the results are merged without duplicates. Only kicks in when maxItems is above 1,250 (or 0).",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Parallel requests, integer 1-20. Default 5; requests are also paced to stay polite. Leave unset.",
            "default": 5
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Optional, advanced. Retries per failed or blocked request, integer 0-20; each retry uses a new session and proxy IP. Default 8. Leave unset.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, advanced. Default {\"useApifyProxy\": false}: requests go direct, the fastest route (a 50-listing run took 4 s direct vs 65 s through the datacenter group on 24 Nov 2026). Any request Kleinanzeigen refuses is retried automatically through the Apify datacenter proxy. Set a proxy here only to force one for every request. Leave unset.",
            "default": {
              "useApifyProxy": false
            }
          },
          "residentialFallback": {
            "title": "Retry stubborn requests on residential IPs",
            "type": "boolean",
            "description": "Optional, advanced boolean, default true. When a request still fails after the datacenter retry, it is retried through a German residential IP (capped at 50 result pages and 10 listing pages per run). Leave unset.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}