{
  "openapi": "3.0.1",
  "info": {
    "title": "Otodom.PL Scraper | Enterprise Grade",
    "description": "Extract structured Otodom.pl property listings from 200k+ listings across Poland with prices, locations, seller details, images, and property metadata. Built for enterprise-grade real estate intelligence, lead enrichment, market analysis and automated data pipelines.",
    "version": "0.3",
    "x-build-id": "tSptnvNvzrZDfp0bo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fatihtahta~otodom-pl-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fatihtahta-otodom-pl-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/fatihtahta~otodom-pl-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fatihtahta-otodom-pl-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/fatihtahta~otodom-pl-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fatihtahta-otodom-pl-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": {
          "deal_type": {
            "title": "Choose Sale or Rent Listings",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "Pick the deal type for the search results. Sale listings and rental listings are separated on Otodom, so this choice keeps the dataset aligned with your intended market."
          },
          "location": {
            "title": "Choose Search Locations",
            "type": "array",
            "description": "Enter location names such as Warszawa, Kraków, Gdańsk, or a specific district. Each location is used as a separate search area so you can compare markets or collect listings from several places in one run.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Expand the Search Radius",
            "enum": [
              "0",
              "5",
              "10",
              "15",
              "25",
              "50",
              "75"
            ],
            "type": "string",
            "description": "Choose how far from the selected location to search. Select 0 km to keep results limited to the exact location, or choose a larger radius to include nearby listings.",
            "default": "0"
          },
          "sort_by": {
            "title": "Arrange the Result Order",
            "enum": [
              "default",
              "date_latest",
              "date_oldest",
              "price_lowest",
              "price_highest",
              "area_smallest",
              "area_largest"
            ],
            "type": "string",
            "description": "Select how matching listings should be ordered before collection starts. The default option follows Otodom's standard result order.",
            "default": "default"
          },
          "property_type": {
            "title": "Filter Listings by Property Type",
            "enum": [
              "apartments",
              "studio_apartments",
              "houses",
              "investments",
              "rooms",
              "plots",
              "commercial_premises",
              "halls_and_warehouses",
              "garages"
            ],
            "type": "string",
            "description": "Choose the type of property to include. This helps avoid mixing different real-estate categories that often have different pricing, size, and availability patterns.",
            "default": "apartments"
          },
          "min_price": {
            "title": "Set a Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the lowest listing price to include. Leave this empty if you do not want to exclude lower-priced properties."
          },
          "max_price": {
            "title": "Set a Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the highest listing price to include. Leave this empty if there is no upper price limit for your search."
          },
          "min_area": {
            "title": "Set a Minimum Area",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the smallest property area to include. Leave this empty if smaller listings should remain in the results."
          },
          "max_area": {
            "title": "Set a Maximum Area",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the largest property area to include. Leave this empty if larger listings should remain in the results."
          },
          "min_construction_year": {
            "title": "Set the Earliest Construction Year",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the oldest construction year you want to include. For example, use 2010 to collect only properties built in 2010 or later."
          },
          "max_construction_year": {
            "title": "Set the Latest Construction Year ",
            "minimum": 0,
            "type": "integer",
            "description": "Enter the newest construction year you want to include. This is useful when you want to focus on older buildings or exclude newly built properties."
          },
          "rooms_number": {
            "title": "Select Room Counts",
            "type": "array",
            "description": "Choose one or more room counts to include in the results. Leave this empty if any number of rooms is acceptable.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6+"
              ],
              "enumTitles": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6+"
              ]
            }
          },
          "limit": {
            "title": "Set a Maximum Result Count",
            "minimum": 1,
            "type": "integer",
            "description": "Enter the maximum number of listings to save for each location or input search. Leave this empty to collect as many matching listings as the actor can find."
          },
          "proxyConfiguration": {
            "title": "Set Up a Proxy Connection",
            "type": "object",
            "description": "Choose a proxy setup if you want requests to be sent through different IP addresses. Proxies can help with access control, rate limits, and location-sensitive content.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}