{
  "openapi": "3.0.1",
  "info": {
    "title": "ImmoScout24 Scraper (Rent, Buy, New Listings, Price Changes)",
    "description": "ImmoScout24 listings in Germany by city, postcode or link: price, rent breakdown, rooms, area, address, energy class, agency and photos, each listing's own page included. $1.50 per 1,000 listings. Flags new listings and price changes between runs. No login.",
    "version": "0.1",
    "x-build-id": "jsBPVTejftEeK61UL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/locaihost~immoscout24-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-locaihost-immoscout24-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/locaihost~immoscout24-scraper/runs": {
      "post": {
        "operationId": "runs-sync-locaihost-immoscout24-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/locaihost~immoscout24-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-locaihost-immoscout24-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": {
          "location": {
            "title": "Locations",
            "type": "array",
            "description": "Where to search in Germany: a city (Berlin), a postcode (80331), a district (Berlin Kreuzberg) or a whole state (Bayern). Each line is its own search. ImmoScout24 search and listing links work here too.",
            "items": {
              "type": "string"
            }
          },
          "listingType": {
            "title": "What to look for",
            "enum": [
              "apartment-rent",
              "apartment-buy",
              "house-rent",
              "house-buy",
              "land-buy",
              "land-rent",
              "shared-room",
              "short-term",
              "garage-rent",
              "garage-buy",
              "office",
              "shop",
              "hospitality",
              "industrial",
              "special-purpose",
              "investment",
              "commercial-land",
              "auction",
              "assisted-living",
              "senior-care",
              "prefab-house"
            ],
            "type": "string",
            "description": "The kind of listing to search the locations for. Links carry their own listing type.",
            "default": "apartment-rent"
          },
          "maxListings": {
            "title": "Listings per search",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "How many listings to return for each location or search link, newest first unless you choose another order. You pay only for the listings returned.",
            "default": 50
          },
          "searchUrls": {
            "title": "ImmoScout24 links",
            "type": "array",
            "description": "Search links copied from immobilienscout24.de (their filters are kept), listing links, or plain listing numbers. A listing that has gone offline comes back as a free row.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Read each listing's own page",
            "type": "boolean",
            "description": "On: every row also carries the rent breakdown, deposit, floor, year built, condition, heating, energy use, all photos, the description and the agency. Same price per listing. Off: search data only, which is faster.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Return only listings this task has not returned before. Each run looks at the first listings of the search (as many as the listings limit) and returns the ones that are new, so a daily schedule costs only the new listings and a quiet day costs nothing.",
            "default": false
          },
          "minPrice": {
            "title": "Lowest price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest rent per month, or lowest purchase price, in euros. The price filters apply to location searches; links keep their own filters."
          },
          "maxPrice": {
            "title": "Highest price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest rent per month, or highest purchase price, in euros."
          },
          "minRooms": {
            "title": "Fewest rooms",
            "type": "string",
            "description": "Fewest rooms, counted the German way (living rooms and bedrooms; 2.5 is allowed)."
          },
          "maxRooms": {
            "title": "Most rooms",
            "type": "string",
            "description": "Most rooms, counted the German way (2.5 is allowed)."
          },
          "minArea": {
            "title": "Smallest area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest living or usable area in square metres."
          },
          "maxArea": {
            "title": "Largest area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest living or usable area in square metres."
          },
          "minPlotArea": {
            "title": "Smallest plot (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Smallest plot area in square metres, for houses and land. Checked on each listing before it is returned or charged."
          },
          "maxPlotArea": {
            "title": "Largest plot (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Largest plot area in square metres, for houses and land."
          },
          "minYearBuilt": {
            "title": "Built in or after",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest year of construction."
          },
          "maxYearBuilt": {
            "title": "Built in or before",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest year of construction."
          },
          "energyClasses": {
            "title": "Energy classes",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only listings with one of these energy efficiency classes.",
            "items": {
              "type": "string",
              "enum": [
                "a+",
                "a",
                "b",
                "c",
                "d",
                "e",
                "f",
                "g",
                "h"
              ],
              "enumTitles": [
                "A+",
                "A",
                "B",
                "C",
                "D",
                "E",
                "F",
                "G",
                "H"
              ]
            }
          },
          "features": {
            "title": "Must have",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only listings with all of these features. A feature ImmoScout24 does not filter for the chosen listing type is ignored, and the run says so.",
            "items": {
              "type": "string",
              "enum": [
                "balcony",
                "garden",
                "kitchen",
                "lift",
                "cellar",
                "parking",
                "guest-toilet",
                "step-free"
              ],
              "enumTitles": [
                "Balcony or terrace",
                "Garden",
                "Fitted kitchen",
                "Lift",
                "Cellar",
                "Garage or parking space",
                "Guest toilet",
                "Step-free access"
              ]
            }
          },
          "apartmentTypes": {
            "title": "Apartment types",
            "uniqueItems": true,
            "type": "array",
            "description": "For apartment searches: keep only these types.",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "groundfloor",
                "raisedgroundfloor",
                "basement",
                "attic",
                "loft",
                "maisonette",
                "penthouse",
                "terraced",
                "other"
              ],
              "enumTitles": [
                "Apartment",
                "Ground floor",
                "Raised ground floor",
                "Basement",
                "Attic",
                "Loft",
                "Maisonette",
                "Penthouse",
                "Terraced flat",
                "Other"
              ]
            }
          },
          "buildingTypes": {
            "title": "House types",
            "uniqueItems": true,
            "type": "array",
            "description": "For house searches: keep only these types.",
            "items": {
              "type": "string",
              "enum": [
                "detached",
                "semidetached",
                "terraced",
                "midterrace",
                "endterrace",
                "multifamily",
                "bungalow",
                "farmhouse",
                "villa",
                "castle",
                "special"
              ],
              "enumTitles": [
                "Detached house",
                "Semi-detached house",
                "Terraced house",
                "Mid-terrace house",
                "End-terrace house",
                "Multi-family house",
                "Bungalow",
                "Farmhouse",
                "Villa",
                "Castle or manor",
                "Special property"
              ]
            }
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "newest",
              "standard",
              "price-asc",
              "price-desc",
              "area-asc",
              "area-desc",
              "rooms-asc",
              "rooms-desc"
            ],
            "type": "string",
            "description": "The order ImmoScout24 lists the results in. An order the site does not offer for a listing type falls back to newest first, and the run says so.",
            "default": "newest"
          },
          "radiusKm": {
            "title": "Radius around the location (km)",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Search this many kilometres around each typed location instead of inside its borders. Up to 200."
          },
          "publishedWithin": {
            "title": "Published within",
            "type": "string",
            "description": "Keep only listings published this recently, for example \"24 hours\", \"3 days\" or \"2 weeks\". Older listings are not returned or charged."
          },
          "excludeNewBuild": {
            "title": "Leave out new-build projects",
            "type": "boolean",
            "description": "Skip units that belong to a developer's new-build project.",
            "default": false
          },
          "excludeSwapFlats": {
            "title": "Leave out swap flats",
            "type": "boolean",
            "description": "Skip flats offered only as a swap for the tenant's own flat.",
            "default": false
          },
          "onlyPriceChanges": {
            "title": "Only new listings and price changes",
            "type": "boolean",
            "description": "Return a listing only when it is new to this task or its price differs from the last run. Rows carry previousPrice, priceChange and priceChangePercent.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave empty to use our own route. Set a proxy only if you want requests to go through yours."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}