# 4zida Scraper - Serbian Real Estate Listings (`studio-amba/4zida-scraper`) Actor

Scrape property listings from 4zida.rs, Serbia's largest real estate portal. Extract prices, locations, areas, rooms, images, and details for apartments, houses, and land. Supports sale and rent listings. No login needed.

- **URL**: https://apify.com/studio-amba/4zida-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 4zida Scraper - Serbian Real Estate Listings

Scrape property listings from [4zida.rs](https://www.4zida.rs), Serbia's largest real estate portal. Extract detailed data from apartments, houses, land, offices, and garages — for sale or rent. No login or cookies needed.

### What data can you extract?

For each listing the scraper returns:

| Field | Description |
|-------|------------|
| `listingTitle` | Property listing title |
| `price` | Listing price |
| `currency` | EUR or RSD |
| `area` | Property area in square meters |
| `rooms` | Number of rooms |
| `floor` | Floor number |
| `location` | City, district, or neighbourhood |
| `propertyType` | apartment, house, land, office, or garage |
| `transactionType` | sale or rent |
| `imageUrl` | Primary listing photo URL |
| `url` | Direct link to the listing on 4zida.rs |
| `listingDescription` | Property description text |
| `scrapedAt` | ISO 8601 timestamp |

### How to scrape 4zida.rs data

1. Go to the [4zida Scraper](https://apify.com/studio-amba/4zida-scraper) page on Apify.
2. Click **Start** to open the actor configuration.
3. Enter a **Search Location** — any Serbian city name like `Beograd`, `Novi Sad`, `Niš`, or `Kragujevac`.
4. Choose a **Listing Type** — `sale` (Prodaja) or `rent` (Izdavanje).
5. Choose a **Property Type** — apartment, house, land, office, or garage.
6. Set **Max Results** to control how many listings you want.
7. Click **Start** and wait for the run to finish.
8. Download your data as JSON, CSV, Excel, or connect via API.

#### Example input

```json
{
    "searchQuery": "Beograd",
    "listingType": "sale",
    "propertyType": "apartment",
    "maxResults": 50
}
```

#### Example output

```json
{
    "listingTitle": "Jednosoban stan, Beograd na vodi",
    "price": 145000,
    "currency": "EUR",
    "area": 30,
    "rooms": 1,
    "floor": "5",
    "location": "Beograd Na Vodi Savski Venac Beograd",
    "propertyType": "apartment",
    "transactionType": "sale",
    "imageUrl": "https://img.4zida.rs/...",
    "url": "https://www.4zida.rs/prodaja-stanova/beograd-na-vodi-savski-venac-beograd/jednosoban-stan/67474b0a72ae77784305c3e3",
    "listingDescription": "Luksuzan jednosoban stan u kompleksu Beograd na vodi...",
    "scrapedAt": "2026-06-09T12:00:00.000Z"
}
```

### Supported cities

The scraper works with all cities and municipalities on 4zida.rs, including:

- **Beograd** (Belgrade) — capital, largest market
- **Novi Sad** — second largest city
- **Niš** — southern Serbia hub
- **Kragujevac** — central Serbia
- **Subotica**, **Zrenjanin**, **Pančevo**, **Čačak**, **Novi Pazar**, **Kraljevo**, **Smederevo**, **Leskovac**, **Valjevo**, **Kruševac**, **Vranje**, **Šabac**, **Užice**, **Sombor**, **Požarevac**, **Pirot**

You can also provide direct URLs to specific search result pages or individual listing pages via the **Start URLs** input.

### Property types

| Input value | Serbian name | Description |
|------------|-------------|-------------|
| `apartment` | Stan | Apartments and flats |
| `house` | Kuća | Houses and villas |
| `land` | Plac | Building plots and agricultural land |
| `office` | Poslovni prostor | Commercial and office space |
| `garage` | Garaža | Garages and parking spots |

### Proxy configuration

Residential proxies are recommended for reliable scraping. The actor uses Apify residential proxies by default when running on the platform. If you experience blocks, try using Serbian IP addresses for the best results.

### How much does it cost?

The actor uses Playwright with Chromium to render pages, which requires more compute than simple HTTP scrapers. Typical usage:

| Listings | Estimated cost |
|----------|---------------|
| 50 | ~$0.10 |
| 200 | ~$0.30 |
| 1,000 | ~$1.20 |

Costs depend on page complexity, number of retries, and proxy usage.

### Use cases

- **Real estate market research** — track prices across Serbian cities
- **Investment analysis** — monitor property prices in Belgrade and Novi Sad
- **Price comparison** — compare listings across different platforms
- **Academic research** — analyze housing market trends in Serbia
- **Relocation planning** — search for rentals in specific neighbourhoods
- **Portfolio monitoring** — track changes in listed properties

### Tips for best results

1. **Start with a specific city** rather than scraping all of Serbia — results are faster and more relevant.
2. **Use Start URLs** for advanced searches — apply filters on 4zida.rs, copy the URL, and paste it as a Start URL.
3. **Set reasonable limits** — start with 20-50 results to test, then scale up.
4. **Residential proxies** are included and recommended. Datacenter proxies may get blocked.

### About 4zida.rs

4zida.rs is Serbia's leading real estate marketplace with over 34,000 active apartment listings and coverage across all major Serbian cities. The platform supports property sales, rentals, and new construction listings. The name "4 zida" means "4 walls" in Serbian.

### Integrations

Connect 4zida Scraper with your existing tools:

- **Google Sheets** — export data directly to spreadsheets
- **Slack / Email** — get notifications when new listings match your criteria
- **Zapier / Make** — automate workflows with scraped data
- **API** — access results programmatically via the Apify API
- **Webhooks** — trigger actions when a run completes

### Legal disclaimer

This actor is provided for informational and research purposes. Users are responsible for complying with applicable laws and the target website's terms of service when using this tool. Always use scraped data ethically and responsibly.

# Actor input Schema

## `searchQuery` (type: `string`):

City or region to search for properties, e.g., 'Beograd', 'Novi Sad', 'Niš', 'Kragujevac'. Defaults to 'Beograd' if empty.

## `startUrls` (type: `array`):

4zida.rs search or property detail URLs. Overrides searchQuery if provided.

## `listingType` (type: `string`):

Search for properties for sale or for rent.

## `propertyType` (type: `string`):

Type of property to search for.

## `maxResults` (type: `integer`):

Maximum number of property listings to scrape.

## `proxyConfiguration` (type: `object`):

Residential proxies recommended for best results. Serbian IP addresses help avoid blocks.

## Actor input object example

```json
{
  "searchQuery": "Beograd",
  "startUrls": [
    {
      "url": "https://www.4zida.rs/prodaja-stanova/beograd"
    }
  ],
  "listingType": "sale",
  "propertyType": "apartment",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": "Beograd",
    "startUrls": [
        {
            "url": "https://www.4zida.rs/prodaja-stanova/beograd"
        }
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/4zida-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQuery": "Beograd",
    "startUrls": [{ "url": "https://www.4zida.rs/prodaja-stanova/beograd" }],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/4zida-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "Beograd",
  "startUrls": [
    {
      "url": "https://www.4zida.rs/prodaja-stanova/beograd"
    }
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call studio-amba/4zida-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/4zida-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/RMphkNGrqMXCHPIHC/builds/eqKkqajGr3RYijI6K/openapi.json
