{
  "openapi": "3.0.1",
  "info": {
    "title": "ImmoScout24 Scraper - Property Data & AI Search",
    "description": "Extract German rental, sale and commercial listings from ImmoScout24. Search by city, map radius, search URL or natural-language query, then filter by price, rooms and property features. Get prices, locations, images and optional listing details. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "0jC20dSxYxJAez8de"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datascraperes~immoscout24-property-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datascraperes-immoscout24-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/datascraperes~immoscout24-property-scraper/runs": {
      "post": {
        "operationId": "runs-sync-datascraperes-immoscout24-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/datascraperes~immoscout24-property-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-datascraperes-immoscout24-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": {
          "searchMode": {
            "title": "Search mode",
            "enum": [
              "location",
              "coordinates",
              "searchUrl",
              "aiSearch"
            ],
            "type": "string",
            "description": "Choose one search method. Place name is the default and only needs Locations. For URL, AI or coordinates, fill in the matching section below; other target fields are not required.",
            "default": "location"
          },
          "locations": {
            "title": "Locations (Place name mode only)",
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "description": "Required only for Place name mode: enter 1–10 German cities or districts, for example Berlin, Hamburg, München or Köln. For another search mode, this field is not used.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            }
          },
          "realEstateType": {
            "title": "Property type (optional)",
            "enum": [
              "apartmentrent",
              "apartmentbuy",
              "housebuy",
              "houserent",
              "flatshareroom",
              "shorttermaccommodation",
              "garagebuy",
              "garagerent",
              "livingbuysite",
              "livingrentsite",
              "office",
              "store",
              "gastronomy",
              "industry",
              "investment",
              "specialpurpose",
              "tradesite",
              "compulsoryauction",
              "assistedliving",
              "seniorcare",
              "housetype"
            ],
            "type": "string",
            "description": "Optional: defaults to Apartment for rent. For place-name and coordinate searches, choose the property category here. Imported URL and AI searches can supply their own category.",
            "default": "apartmentrent"
          },
          "maxResults": {
            "title": "Maximum listings (optional)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Optional: cap the unique listings saved across all searches. The form example is 3 listings; if omitted from an API request, the default is 100. Reduce this value for a small test.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include full listing details (optional)",
            "type": "boolean",
            "description": "Optional, enabled by default. Add descriptions, property attributes, energy data, images and realtor information where available. Turn off for search-results data only.",
            "default": true
          },
          "sorting": {
            "title": "Sorting (optional)",
            "enum": [
              "relevance",
              "newest",
              "price_asc",
              "price_desc",
              "living_space_asc",
              "living_space_desc",
              "rooms_asc",
              "rooms_desc"
            ],
            "type": "string",
            "description": "Optional: select the result order. If omitted, Relevance is used.",
            "default": "relevance"
          },
          "searchUrls": {
            "title": "Search URLs (URL mode only)",
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "description": "Required only for ImmoScout24 search URL mode: enter 1–10 German HTTPS search results URLs. Existing location and filters are imported. Not required for other modes.",
            "items": {
              "type": "string",
              "pattern": "^https://(www\\.)?immobilienscout24\\.de/",
              "maxLength": 2000
            }
          },
          "aiQuery": {
            "title": "Search description (AI mode only)",
            "maxLength": 400,
            "type": "string",
            "description": "Required only for AI natural-language query mode. Example: '3-room apartment in Berlin under 1200 EUR with balcony'. The query is translated into search filters. Not required for other modes."
          },
          "latitude": {
            "title": "Latitude (coordinates mode only)",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Required only for Coordinates and radius mode, together with longitude. Use decimal degrees. Not required for other modes."
          },
          "longitude": {
            "title": "Longitude (coordinates mode only)",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Required only for Coordinates and radius mode, together with latitude. Use decimal degrees. Not required for other modes."
          },
          "radiusKm": {
            "title": "Radius in km (optional)",
            "minimum": 1,
            "maximum": 100,
            "type": "number",
            "description": "Optional, only for Coordinates and radius mode. Search within 1–100 km of the centre. If omitted, 5 km is used.",
            "default": 5
          },
          "minPrice": {
            "title": "Minimum price (EUR) (optional)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Optional. Minimum advertised price or rent in euros. Leave empty or omit this field if you do not need this filter."
          },
          "maxPrice": {
            "title": "Maximum price (EUR) (optional)",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "number",
            "description": "Optional. Maximum advertised price or rent in euros. Leave empty or omit this field if you do not need this filter."
          },
          "minLivingSpace": {
            "title": "Minimum living space (m2) (optional)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Optional. Minimum living area in square metres. Leave empty or omit this field if you do not need this filter."
          },
          "maxLivingSpace": {
            "title": "Maximum living space (m2) (optional)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Optional. Maximum living area in square metres. Leave empty or omit this field if you do not need this filter."
          },
          "minRooms": {
            "title": "Minimum rooms (optional)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Optional. Minimum number of rooms. Leave empty or omit this field if you do not need this filter."
          },
          "maxRooms": {
            "title": "Maximum rooms (optional)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Optional. Maximum number of rooms. Leave empty or omit this field if you do not need this filter."
          },
          "minConstructionYear": {
            "title": "Minimum construction year (optional)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Earliest construction year. Leave empty or omit this field if you do not need this filter."
          },
          "maxConstructionYear": {
            "title": "Maximum construction year (optional)",
            "minimum": 1000,
            "maximum": 2100,
            "type": "integer",
            "description": "Optional. Latest construction year. Leave empty or omit this field if you do not need this filter."
          },
          "apartmentTypes": {
            "title": "Apartment types (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Apartment subtypes to include. Only valid for apartment categories. Allowed values: apartment, groundfloor, raisedgroundfloor, halfbasement, roofstorey, loft, maisonette, penthouse, terracedflat, other. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "buildingTypes": {
            "title": "Building types (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. House or building subtypes to include. Only valid for house, plot and building categories. Allowed values: singlefamilyhouse, semidetachedhouse, terracehouse, multifamilyhouse, villa, bungalow, farmhouse, countryhouse, cityvilla, apartmentbuilding, otherrealestate. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "energyEfficiencyClasses": {
            "title": "Energy efficiency classes (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Energy certificate classes to include. Allowed values: a_plus, a, b, c, d, e, f, g, h. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "equipment": {
            "title": "Equipment (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Features the listing must offer, for example balcony, garden, cellar, lift, parking or builtInKitchen. Accepted values depend on the property type; invalid values are reported with the allowed list. Allowed values: balcony, garden, cellar, lift, parking, builtInKitchen, guestToilet, handicappedaccessible, cooker, oven, dishwasher, internet, airconditioning. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "heatingTypes": {
            "title": "Heating types (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Heating systems to include. Allowed values: central, selfcontainedcentral, stove. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "petsAllowed": {
            "title": "Pets allowed (optional)",
            "enum": [
              "any",
              "yes",
              "no",
              "negotiable"
            ],
            "type": "string",
            "description": "Optional. Filter rentals by pet policy. Keep Any to apply no restriction, or omit this field from API input.",
            "default": "any"
          },
          "exclusionCriteria": {
            "title": "Exclusions (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Listing kinds to exclude. Available values depend on the property type. Allowed values: projectlisting, swapflat, foreclosure, unbuilthome. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "osmTags": {
            "title": "Nearby amenities (OSM tags) (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Require a nearby amenity, for example park, school, subway or supermarket. Allowed values: bus_stop, tram, subway, train_station, supermarket, school, kindergarten, park, forest, lake, motorway, university. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "listingTags": {
            "title": "Listing tags (optional)",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Listing tag suggestion values, for example amenities-luxury. Values are verified against the current source suggestions before listing collection. Unsupported values produce a correction warning; the search is not widened. Leave empty or omit this field if you do not need this filter.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "fullText": {
            "title": "Full-text search (optional)",
            "maxLength": 200,
            "type": "string",
            "description": "Optional. Optional free text that must appear in the listing. Leave empty or omit this field if you do not need this filter."
          },
          "publishedAfter": {
            "title": "Published after (optional)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "maxLength": 10,
            "type": "string",
            "description": "Optional. Only save listings verified to have been published on or after this German calendar date (YYYY-MM-DD). Relative source dates are interpreted conservatively; ambiguous boundary dates are excluded. If publication time cannot be verified, the run stops with an incomplete summary. Leave empty or omit this field if you do not need this filter."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}