# 4zida.rs Scraper (`unfenced-group/4zida-scraper`) Actor

Scrape Serbia's largest real estate portal: 76,000+ listings. Prices, GPS, rooms, area, photos & agency info for sale and rental properties across Serbia.

- **URL**: https://apify.com/unfenced-group/4zida-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 6 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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.rs Scraper

![4zida.rs Scraper](https://api.apify.com/v2/key-value-stores/ClElVyZWvQgPQIuDL/records/4zida-scraper)

Extract property listings from 4zida.rs at scale, in a clean, consistent structure ready for market analysis, valuation models, lead generation and monitoring. No API key required.

***

### Why this scraper?

#### 🎯 Built for Serbia

A dedicated Serbian scraper, not a global tool with a country dropdown. Locations, price formats and currency (EUR) are tuned for 4zida.rs.

#### 💶 Structured pricing

Asking price or rent as a clean number in EUR, plus the price exactly as displayed. Price-on-request listings return `null`, never a guess.

#### 🏠 Property characteristics

Bedrooms, rooms, surface and property type in structured fields, ready for filtering and analysis.

#### 📄 Full listing content

Complete listing description and title for every record, with a direct link back to the source.

#### 📍 Precise location

Address fields plus latitude/longitude for mapping and radius analysis.

#### 🖼️ Listing photos

Photo URLs for every listing where the source publishes them.

***

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `transaction` | string | `"sale"` | Whether to scrape for-sale listings, rental listings, or both. |
| `propertyType` | string | `"all"` | Type of property to scrape. Select 'All types' to include all categories. |
| `location` | string | `"srbija"` | City or region to search in. Examples: beograd, novi-sad, nis, srbija (whole Serbia). Leave empty for all of Serbia. |
| `minPrice` | integer | (empty) | Minimum listing price (local currency). Leave empty for no minimum. |
| `maxPrice` | integer | (empty) | Maximum listing price (local currency). Leave empty for no maximum. |
| `daysOld` | integer | (empty) | Only return listings published within the last N days. Leave empty for no recency filter. |
| `fetchDetails` | boolean | `false` | ON: fetches full job description, salary, company info, and all details. OFF: returns basic listing info only (faster, lower cost). |
| `maxItems` | integer | `100` | Maximum number of property listings to return. Set to 0 for unlimited. |
| `startUrls` | array | (empty) | Optional: provide specific 4zida.rs search or listing URLs to scrape instead of using the location/type filters above. |

***

### Output schema

Every field below is present on every record. Fields the source does not publish for a given listing are returned as `null` rather than omitted.

| Field | Type | Description |
|---|---|---|
| `id` | string | Unique listing ID from the source. |
| `url` | string | Direct link to the listing. |
| `transaction` | string | `sale` or `rent` |
| `propertyType` | string | Property type (e.g. apartment, house). |
| `price` | number | Asking price or rent (null if price on request). |
| `previousPrice` | number | Previous price. |
| `pricePerSqm` | number | Price per sqm. |
| `priceCurrency` | string | Currency code of the price. |
| `area` | number | Surface area (null if not stated). |
| `rooms` | number | Total number of rooms (null if not stated). |
| `floor` | number | Floor. |
| `totalFloors` | number | Total floors. |
| `lastFloor` | boolean | Last floor. |
| `furnished` | string | Furnished. |
| `heatingType` | string | Heating type. |
| `state` | string | State. |
| `registered` | string | Registered. |
| `structureLabel` | string | Structure label. |
| `address` | string | Full address as displayed. |
| `neighborhood` | string | Neighborhood. |
| `city` | string | City of the property. |
| `placeTitles` | array | Place titles. |
| `latitude` | number | Latitude of the property. |
| `longitude` | number | Longitude of the property. |
| `bathrooms` | number | Number of bathrooms (null if not stated). |
| `description` | string | Full listing description in plain text. |
| `descriptionMarkdown` | string | Full description converted to Markdown. |
| `features.intercom` | boolean | Intercom. |
| `features.phone` | boolean | Phone. |
| `features.terrace` | boolean | Terrace. |
| `features.atticFloor` | boolean | Attic floor. |
| `features.groundFloor` | boolean | Ground floor. |
| `features.lastFloor` | boolean | Last floor. |
| `agencyName` | string | Agency name. |
| `agencyUrl` | string | Agency url. |
| `images` | array | URLs of listing photos. |
| `imageCount` | number | Image count. |
| `createdAt` | string | Created at. |
| `scrapedAt` | string | Timestamp when this record was scraped. |

#### Example record

```json
{
  "id": "69e89f449811b11a630de6b8",
  "url": "https://www.4zida.rs/prodaja-stanova/london-stari-grad-opstina-beograd/sestoiposoban-stan/69e89f449811b11a630de6b8",
  "transaction": "sale",
  "propertyType": "apartment",
  "price": 529000,
  "previousPrice": 530000,
  "pricePerSqm": 3058,
  "priceCurrency": "EUR",
  "area": 173,
  "rooms": 6.5,
  "floor": 3,
  "totalFloors": 3,
  "lastFloor": true,
  "furnished": "no",
  "heatingType": "central",
  "state": "original",
  "registered": "yes",
  "structureLabel": "Šestoiposoban stan",
  "address": "Kralja Milana",
  "neighborhood": "London",
  "city": "Beograd",
  "placeTitles": [
    "London",
    "Stari Grad opština",
    "Beograd"
  ],
  "latitude": 44.809931,
  "longitude": 20.462677,
  "bathrooms": 2,
  "description": "Odličan, sunčan, svetao stan u srcu grada. Kompletno renoviran bez ulaganja.\n\nNa prvom nivou stana je ulazni hodnik, velika spavaća soba dvostrane orijentacije, raskošni dnevni boravak sa izlazom na t …",
  "descriptionMarkdown": "Odličan, sunčan, svetao stan u srcu grada. Kompletno renoviran bez ulaganja. Na prvom nivou stana je ulazni hodnik, velika spavaća soba dvostrane orijentacije, raskošni dnevni boravak sa izlazom na te …",
  "features": {
    "intercom": true,
    "phone": true,
    "terrace": true,
    "atticFloor": false,
    "groundFloor": false,
    "lastFloor": true
  },
  "agencyName": "HILL Nekretnine",
  "agencyUrl": "https://www.4zida.rs/agencije/beograd/hill-nekretnine/214092",
  "images": [
    "https://resizer2.4zida.rs/y7biziOHgeM__OImo-cm9XJnHUmmG0cIjJ4RIilqoF4/rs:fit:1920:1080:0/bG9jYWw6Ly8vNjllODlmNDQ5ODExYjE%20%E2%80%A6",
    "https://resizer2.4zida.rs/llETLGpVkJxKsOT_ezByS24_ok-kl77iSd5_wvMKpDU/rs:fit:1920:1080:0/bG9jYWw6Ly8vNjllODlmNDQ5ODExYjE%20%E2%80%A6",
    "https://resizer2.4zida.rs/opSTCzw2WnFquKXEObXo8SLZkMu-TCYuNrYbGw521y0/rs:fit:1920:1080:0/bG9jYWw6Ly8vNjllODlmNDQ5ODExYjE%20%E2%80%A6",
    "https://resizer2.4zida.rs/mKXmP_Pe66XwZ_k4_iFIFDYr68BAY10b_HJgWBcSZ2M/rs:fit:1920:1080:0/bG9jYWw6Ly8vNjllODlmNDQ5ODExYjE%20%E2%80%A6"
  ],
  "imageCount": 18,
  "createdAt": "2026-04-22T10:13:24.000Z",
  "scrapedAt": "2026-07-02T12:25:36.691Z"
}
```

***

### Examples

**Listings in Beograd:**

```json
{
  "location": "Beograd",
  "maxItems": 100
}
```

**Cap the price:**

```json
{
  "location": "Beograd",
  "maxItems": 100,
  "maxPrice": 285000
}
```

**Scrape a specific search URL:**

```json
{
  "startUrls": [
    {
      "url": "https://4zida.rs/prodaja/stanovi/beograd"
    }
  ],
  "maxItems": 200
}
```

**Daily feed of new listings (run on a schedule):**

```json
{
  "location": "Beograd",
  "daysOld": 1,
  "maxItems": 500
}
```

Schedule this input to run once a day in the Apify Scheduler — each run returns only listings added in the last 24 hours.

***

### 💰 Pricing

**$1.5 per 1,000 results** — you only pay for successfully retrieved listings. Failed retries are never charged.

| Results | Cost |
|---|---|
| 100 | ~$0.15 |
| 1,000 | ~$1.5 |
| 10,000 | ~$15 |
| 100,000 | ~$150 |

> Flat-rate alternatives typically charge $29–$49/month regardless of usage.

Subscription tiers lower the rate further, down to $0.9 per 1,000 at the highest tier. Use the **Max results** cap in the input to control your spend exactly.

***

### Performance

| Run size | Typical time |
|---|---|
| 100 results | under 1 minute |
| 1,000 results | 2–4 minutes |
| 10,000 results | 20–35 minutes |

***

### Known limitations

- Some fields (surface, year built, energy label) are only returned when the lister publishes them — expect `null` on a share of records.
- Listing photos and agent details vary per listing; the scraper returns what the source publishes and never invents data.
- Very large result sets are bounded by the source's own paging limits.
- Listings can be withdrawn at any time, so a small share of URLs may expire shortly after scraping.

***

### Technical details

- **Source:** 4zida.rs — Serbia property listings
- **Coverage:** everything the public search exposes, filterable via the input parameters above
- **Retry:** automatic retry on network errors with exponential backoff

***

### Need a custom scraper?

**[Unfenced Group](https://www.unfencedgroup.nl)** builds Apify actors for any website — for free.

If the site you need isn't in our portfolio yet, just ask. We scope, build, and publish it at no cost to you. You only pay for results — we absorb the compute and proxy costs ourselves. Same pay-per-result pricing, same quality, same standards as every actor in this portfolio.

**Get in touch:** [www.unfencedgroup.nl](https://www.unfencedgroup.nl)

# Actor input Schema

## `transaction` (type: `string`):

Whether to scrape for-sale listings, rental listings, or both.

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

Type of property to scrape. Select 'All types' to include all categories.

## `location` (type: `string`):

City or region to search in. Examples: beograd, novi-sad, nis, srbija (whole Serbia). Leave empty for all of Serbia.

## `minPrice` (type: `integer`):

Minimum listing price (local currency). Leave empty for no minimum.

## `maxPrice` (type: `integer`):

Maximum listing price (local currency). Leave empty for no maximum.

## `daysOld` (type: `integer`):

Only return listings published within the last N days. Leave empty for no recency filter.

## `fetchDetails` (type: `boolean`):

ON: opens each listing to fetch the full description, room counts, floor, heating, features, and all photos. OFF: returns basic listing info from the search page only (faster, lower cost).

## `maxItems` (type: `integer`):

Maximum number of property listings to return. Set to 0 for unlimited.

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

Optional: provide specific 4zida.rs search or listing URLs to scrape instead of using the location/type filters above.

## Actor input object example

```json
{
  "transaction": "sale",
  "propertyType": "all",
  "location": "srbija",
  "fetchDetails": true,
  "maxItems": 100,
  "startUrls": []
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/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 = { "maxItems": 100 }

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/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 '{
  "maxItems": 100
}' |
apify call unfenced-group/4zida-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,unfenced-group/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/J5C9R9Wl03sNrvuPE/builds/2trgknHp0Ru6tDel0/openapi.json
