{
  "openapi": "3.0.1",
  "info": {
    "title": "4zida.rs Scraper - Serbia Real Estate with Phones",
    "description": "Track Serbian property prices, spot new listings and build agent lead lists from 4zida.rs: apartments, houses, land, offices and garages for sale or rent in Belgrade, Novi Sad and all of Serbia, with price, m², rooms and place. Add Details for phones, Viber, agency email, GPS and photos.",
    "version": "1.0",
    "x-build-id": "Rd6WKOYfoFT5UxWSF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/normdata~rs4zida-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-normdata-rs4zida-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/normdata~rs4zida-scraper/runs": {
      "post": {
        "operationId": "runs-sync-normdata-rs4zida-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/normdata~rs4zida-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-normdata-rs4zida-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": {
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many ads in total. Leave empty for no limit. The Apify Free plan is always capped at 10."
          },
          "dealType": {
            "title": "Deal",
            "enum": [
              "sale",
              "rent"
            ],
            "type": "string",
            "description": "For sale or for rent."
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Empty = apartments (or the types of the structures below).",
            "items": {
              "type": "string",
              "enum": [
                "apartment",
                "house",
                "office",
                "lot",
                "vehiclespot"
              ],
              "enumTitles": [
                "Apartments",
                "Houses",
                "Commercial (offices, shops, warehouses…)",
                "Land",
                "Garages and parking"
              ]
            }
          },
          "places": {
            "title": "Places",
            "type": "array",
            "description": "Cities, municipalities or neighbourhoods, as on 4zida.rs: Beograd, Novi Sad, Vračar, Novi Beograd, Zlatibor. Empty = all of Serbia. Unknown places are skipped with a warning.",
            "items": {
              "type": "string"
            }
          },
          "structures": {
            "title": "Structure",
            "type": "array",
            "description": "Rooms of apartments, floors of houses, kind of commercial space, land or parking. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "101",
                "102",
                "103",
                "104",
                "105",
                "106",
                "107",
                "108",
                "145",
                "201",
                "202",
                "203",
                "204",
                "205",
                "206",
                "301",
                "302",
                "303",
                "304",
                "305",
                "306",
                "307",
                "308",
                "309",
                "310",
                "311",
                "312",
                "313",
                "401",
                "402",
                "403",
                "501",
                "502"
              ],
              "enumTitles": [
                "Apartment: studio (garsonjera)",
                "Apartment: 1 room",
                "Apartment: 1.5 rooms",
                "Apartment: 2 rooms",
                "Apartment: 2.5 rooms",
                "Apartment: 3 rooms",
                "Apartment: 3.5 rooms",
                "Apartment: 4 rooms",
                "Apartment: 4.5+ rooms",
                "House: 1 floor",
                "House: 2 floors",
                "House: 3 floors",
                "House: 4 floors",
                "House: 5 floors",
                "House: 6 floors",
                "Commercial: shop",
                "Commercial: office",
                "Commercial: medical office",
                "Commercial: studio",
                "Commercial: storage",
                "Commercial: hall",
                "Commercial: restaurant or bar",
                "Commercial: kiosk",
                "Commercial: production plant",
                "Commercial: sports facility",
                "Commercial: yard storage",
                "Commercial: tourist facility",
                "Commercial: office building",
                "Land: building land",
                "Land: farmland",
                "Land: industrial land",
                "Parking: garage",
                "Parking: parking space"
              ]
            }
          },
          "kinds": {
            "title": "Apartment or house kind",
            "type": "array",
            "description": "Penthouse, duplex, apartment in a house, detached or row house, cottage…",
            "items": {
              "type": "string",
              "enum": [
                "flat",
                "house_flat",
                "studio",
                "salon",
                "penthaus",
                "garden_apartment",
                "duplex",
                "detached-house",
                "semi-detached-house",
                "row-house",
                "village-house",
                "vacation-house",
                "montage-house",
                "homestead",
                "household"
              ],
              "enumTitles": [
                "Apartment in a building",
                "Apartment in a house",
                "Holiday apartment (apartman)",
                "Salon apartment",
                "Penthouse",
                "Garden apartment",
                "Duplex",
                "Detached house",
                "Semi-detached house",
                "Row house",
                "Village house",
                "Holiday cottage",
                "Prefab house",
                "Homestead",
                "Household"
              ]
            }
          },
          "minPrice": {
            "title": "Minimum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads from this price (rent: per month). Ads without a price are left out when a price is set."
          },
          "maxPrice": {
            "title": "Maximum price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads up to this price."
          },
          "minArea": {
            "title": "Minimum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Only properties of at least this many m²."
          },
          "maxArea": {
            "title": "Maximum area (m²)",
            "minimum": 0,
            "type": "integer",
            "description": "Only properties of at most this many m²."
          },
          "minPricePerM2": {
            "title": "Minimum price per m² (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads from this price per m²."
          },
          "maxPricePerM2": {
            "title": "Maximum price per m² (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only ads up to this price per m²."
          },
          "minLandAres": {
            "title": "Minimum land (ares)",
            "minimum": 0,
            "type": "integer",
            "description": "Land and houses: plot of at least this many ares (1 ar = 100 m²)."
          },
          "maxLandAres": {
            "title": "Maximum land (ares)",
            "minimum": 0,
            "type": "integer",
            "description": "Land and houses: plot of at most this many ares."
          },
          "minFloor": {
            "title": "Floor from",
            "type": "integer",
            "description": "Lowest floor (0 = ground floor)."
          },
          "maxFloor": {
            "title": "Floor to",
            "type": "integer",
            "description": "Highest floor."
          },
          "conditions": {
            "title": "Condition",
            "type": "array",
            "description": "New, under construction, renovated, luxury…",
            "items": {
              "type": "string",
              "enum": [
                "new",
                "in_progress",
                "luxury",
                "repaired",
                "good_condition",
                "maintained",
                "original",
                "old",
                "needs_repair"
              ],
              "enumTitles": [
                "New",
                "Under construction",
                "Luxury",
                "Renovated",
                "Good condition",
                "Maintained",
                "Original",
                "Old",
                "Needs renovation"
              ]
            }
          },
          "furnished": {
            "title": "Furnishing",
            "type": "array",
            "description": "Furnished, semi-furnished or empty.",
            "items": {
              "type": "string",
              "enum": [
                "yes",
                "semi",
                "no"
              ],
              "enumTitles": [
                "Furnished",
                "Semi-furnished",
                "Empty"
              ]
            }
          },
          "heating": {
            "title": "Heating",
            "type": "array",
            "description": "District heating, gas, heat pump, underfloor…",
            "items": {
              "type": "string",
              "enum": [
                "district",
                "central",
                "gas",
                "electricity",
                "heatPump",
                "underfloor",
                "airConditioning",
                "storageHeater",
                "solid",
                "tileStove",
                "marbleRadiator",
                "norwegianRadiators",
                "allocators",
                "none"
              ],
              "enumTitles": [
                "District (central city) heating",
                "Own central heating (etažno)",
                "Gas",
                "Electric",
                "Heat pump",
                "Underfloor",
                "Air conditioning",
                "Storage heater (TA)",
                "Solid fuel",
                "Tile stove",
                "Marble radiators",
                "Norwegian radiators",
                "Allocators",
                "None"
              ]
            }
          },
          "sellerTypes": {
            "title": "Seller",
            "type": "array",
            "description": "Agency, owner, investor (developer) or company.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "4",
                "3",
                "2"
              ],
              "enumTitles": [
                "Agency",
                "Owner",
                "Investor (developer)",
                "Company"
              ]
            }
          },
          "registered": {
            "title": "Registration",
            "enum": [
              "yes",
              "partially",
              "in_progress",
              "no"
            ],
            "type": "string",
            "description": "Legal registration (uknjiženost) of the property."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "default",
              "newest",
              "priceAsc",
              "priceDesc",
              "areaAsc",
              "areaDesc"
            ],
            "type": "string",
            "description": "Order of the results (the site's own sorting). Searches split in price bands are saved band by band."
          },
          "elevator": {
            "title": "Elevator",
            "type": "boolean",
            "description": "Only ads with: elevator."
          },
          "terrace": {
            "title": "Terrace",
            "type": "boolean",
            "description": "Only ads with: terrace."
          },
          "parkingSpace": {
            "title": "Parking space",
            "type": "boolean",
            "description": "Only ads with: parking space."
          },
          "garage": {
            "title": "Garage",
            "type": "boolean",
            "description": "Only ads with: garage."
          },
          "yard": {
            "title": "Yard",
            "type": "boolean",
            "description": "Only ads with: yard."
          },
          "airConditioning": {
            "title": "Air conditioning",
            "type": "boolean",
            "description": "Only ads with: air conditioning."
          },
          "basement": {
            "title": "Basement",
            "type": "boolean",
            "description": "Only ads with: basement."
          },
          "petsAllowed": {
            "title": "Pets allowed (rent)",
            "type": "boolean",
            "description": "Only ads with: pets allowed (rent)."
          },
          "tour": {
            "title": "Video or 3D tour",
            "type": "boolean",
            "description": "Only ads with: video or 3d tour."
          },
          "withPhotos": {
            "title": "With photos",
            "type": "boolean",
            "description": "Only ads with: with photos."
          },
          "urgent": {
            "title": "Urgent sale",
            "type": "boolean",
            "description": "Only ads with: urgent sale."
          },
          "includeDetails": {
            "title": "Details",
            "type": "boolean",
            "description": "Opens each ad's own page for the seller's phones (and which are on Viber), seller and agency name, agency email, address and register number, GPS coordinates, full description, bathrooms, toilets, terraces, parking, features, views, orientation, all photos full size and the last refresh date."
          },
          "onlyNew": {
            "title": "Only new ads",
            "type": "boolean",
            "description": "Skip ads saved by earlier runs with the same monitor name."
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Runs with the same name share their history. Use a different name for each schedule."
          },
          "startUrls": {
            "title": "Links",
            "type": "array",
            "description": "4zida.rs results pages with any filters (4zida.rs/prodaja-stanova/vracar-beograd/trosoban-stan) or ad pages. Filters are ignored with links.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}