{
  "openapi": "3.0.1",
  "info": {
    "title": "Bezrealitky Scraper - Czech Real Estate for Sale & Rent",
    "description": "Bezrealitky.cz scraper for Czech real estate from private owners: flats, houses, land, cottages for sale or rent in Prague, Brno and every region. One row per listing: CZK price, price per m², layout, area, address, GPS; optional deposit, energy class. Daily new-listing feed. $0.25 per 1,000.",
    "version": "1.0",
    "x-build-id": "a3SG610Ibo8t0gQiW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~bezrealitky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-bezrealitky-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~bezrealitky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-bezrealitky-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~bezrealitky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-bezrealitky-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",
            "type": "array",
            "description": "Czech cities, towns, regions or city districts, with or without accents: \"Praha\", \"Brno\", \"Ostrava\", \"Plzeň\", \"Jihomoravský kraj\", \"Středočeský kraj\", \"praha-chodov\", or \"ceska-republika\" for the whole country. English names such as \"Prague\" or \"South Moravian Region\" work too. One search per place x offer type x property type. Default [\"praha\"].",
            "default": [
              "praha"
            ],
            "items": {
              "type": "string"
            }
          },
          "offerTypes": {
            "title": "Sale or rent",
            "type": "array",
            "description": "One search each: \"sale\" (prodej) and / or \"rent\" (pronájem). Default [\"sale\"].",
            "default": [
              "sale"
            ],
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "One search each: flat (byt), house (dům), land (pozemek), garage (garáž), office (kancelář), commercial (nebytový prostor), cottage (chata / chalupa). Czech names work too. Default [\"flat\"].",
            "default": [
              "flat"
            ],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "bezrealitky.cz URLs",
            "type": "array",
            "description": "Optional. Search pages copied from the site, filters included (https://www.bezrealitky.cz/vypis/nabidka-pronajem/byt/brno?priceTo=20000), or listing pages (https://www.bezrealitky.cz/nemovitosti-byty-domy/...). Listing pages always get full details.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max listings per search",
            "minimum": 0,
            "type": "integer",
            "description": "Rows per place x offer x type (or URL). Default 40 (three pages of 15); 0 = all. You pay per row.",
            "default": 40
          },
          "includeDetails": {
            "title": "Add description, charges, deposit, energy class",
            "type": "boolean",
            "description": "Opens each listing page (one request per row, slower): full description, posting date, availability, deposit, service and utility charges, condition, ownership, building type, furnishing, floor, energy class (PENB), heating, balcony / terrace / cellar areas, lift, parking, postcode, RÚIAN address ID and all photos. Default false.",
            "default": false
          },
          "minPrice": {
            "title": "Min price (CZK)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = none. Monthly rent for lettings. Applied by the site, so it also saves requests.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (CZK)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = none.",
            "default": 0
          },
          "minArea": {
            "title": "Min area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = none.",
            "default": 0
          },
          "maxArea": {
            "title": "Max area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = none.",
            "default": 0
          },
          "dispositions": {
            "title": "Layouts",
            "type": "array",
            "description": "Optional. Czech layouts to keep, e.g. \"1+kk\", \"2+kk\", \"2+1\", \"3+kk\", \"garsoniera\".",
            "items": {
              "type": "string"
            }
          },
          "discountedOnly": {
            "title": "Price cuts only",
            "type": "boolean",
            "description": "Keep only listings whose price was reduced.",
            "default": false
          },
          "petFriendlyOnly": {
            "title": "Pets allowed only",
            "type": "boolean",
            "description": "Keep only listings marked pet-friendly.",
            "default": false
          },
          "excludeReserved": {
            "title": "Skip reserved",
            "type": "boolean",
            "description": "Skip listings marked as reserved.",
            "default": false
          },
          "keywords": {
            "title": "Text contains",
            "type": "array",
            "description": "Optional. Keep listings whose title, address, layout or tags (and description with details on) contain one of these words, e.g. \"balkon\", \"Vinohrady\", \"garáž\". Accents are optional.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Advanced. Parallel requests 1-8 (paced at about 120 pages / minute). Default 4.",
            "default": 4
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 15,
            "type": "integer",
            "description": "Advanced. 0-15. Default 5.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Advanced. Default Apify Proxy (datacenter).",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}