# OLX.pl Real Estate Scraper (`eudatalab/olx-pl-real-estate-scraper`) Actor

Scrape olx.pl/nieruchomosci listings: price, area, rooms, floor, district, GPS, seller type, photos. Rent or sale, any city. Pay per listing.

- **URL**: https://apify.com/eudatalab/olx-pl-real-estate-scraper.md
- **Developed by:** [Ihor Hrypas](https://apify.com/eudatalab) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 2 monthly users, 90.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OLX.pl Real Estate Scraper

Get property listings from **olx.pl → Nieruchomości** (Poland's largest classifieds site) as a clean table — apartments, houses, rooms, plots, offices, garages, warehouses — for rent or sale. Every row has price, area, rooms, floor, building type, district, GPS coordinates, seller type and photo links. Ready for Google Sheets, your CRM, a price-monitoring job or an AI agent. Pay only per listing returned.

No browser, no login: the Actor reads the same public JSON feed the olx.pl website itself uses, so it is fast (≈1 000 listings in under a minute), cheap on platform usage and does not break when the page layout changes.

### Sample output

| title | price | areaM2 | rooms | floorLabel | district | sellerType | lat | lon | url |
|---|---|---|---|---|---|---|---|---|---|
| Kawalerka 1 Oliwa Gdańsk - Pierwszy Najemca po remoncie | 2250 | 27 | 1 | 2 | Oliwa | business | 54.40759 | 18.56499 | https://www.olx.pl/d/oferta/kawalerka-1-oliwa-gdansk-pierwszy-najemca-po-remoncie-CID3-ID1c2l5l.html |
| Wynajmę mieszkanie z 3 niezależnymi pokojami przy SKM od 01.10! | 3990 | 56 | 3 | 2 | Oliwa | private | 54.40759 | 18.56499 | https://www.olx.pl/d/oferta/wynajme-mieszkanie-z-3-niezaleznymi-pokojami-przy-skm-od-01-10-swiezo-wyremontowane-CID3-ID1ca0Xz.html |
| Przytulne mieszkanie z ogródkiem na zamkniętym osiedlu – Morelowa | 2700 | 42 | 2 | Parter | Jasień | private | 54.33829 | 18.54655 | https://www.olx.pl/d/oferta/przytulne-mieszkanie-z-ogrodkiem-na-zamknietym-osiedlu-morelowa-CID3-ID1cCIrw.html |

Full record (one listing):

```json
{
  "url": "https://www.olx.pl/d/oferta/jasne-przestronne-mieszkanie-60-m-z-balkonem-i-garazem-3-pokoje-ul-szwedzka-CID3-ID1cygwB.html",
  "olxId": 1101615479,
  "title": "Jasne, przestronne mieszkanie 60 m² z balkonem i garażem | 3 pokoje | ul. Szwedzka",
  "price": 3800, "currency": "PLN", "priceNegotiable": false, "pricePerM2": 63.33, "rentExtra": null,
  "areaM2": 60, "rooms": 3, "floor": 2, "floorLabel": "2", "buildingType": "Blok",
  "furnished": true, "petsAllowed": false, "elevator": true, "market": null, "propertyType": null,
  "params": { "parking": "przynależne na ulicy, w garażu" },
  "description": "Do wynajęcia komfortowe, bardzo dobrze nasłonecznione mieszkanie o powierzchni 60 m² …",
  "city": "Kraków", "district": "Stare Miasto", "region": "Małopolskie",
  "lat": 50.04796849, "lon": 19.92343409, "locationApproximate": true,
  "sellerType": "private", "sellerName": null, "sellerCompany": null,
  "hasPhone": true, "hasChat": true, "isPromoted": true, "categoryId": 15,
  "photos": ["https://ireland.apollo.olxcdn.com:443/v1/files/z4wgqdp6vj323-PL/image;s=3024x4032"], "photoCount": 7,
  "createdAt": "2026-09-30T12:18:14+02:00", "refreshedAt": "2026-10-06T12:22:56+02:00", "validTo": "2026-10-30T12:18:14+01:00",
  "scrapedAt": "2026-10-08T18:43:41.482Z"
}
```

### Use cases

- **Price monitoring** — run daily for a city and category, compare `price`, `pricePerM2` and `refreshedAt` over time.
- **Deal alerts** — filter by price ceiling in the start URL, push new `olxId`s to Slack/e-mail.
- **Market research** — median rent per district, share of agency vs. private listings, furnished vs. unfurnished.
- **Lead generation for agencies** — `sellerType: "private"` listings in a chosen district (listing links only; private sellers' names are not stored).
- **Map apps** — every listing carries `lat`/`lon` (`locationApproximate` tells you if OLX blurred it).
- Feed fresh Polish property listings to an AI agent via the Apify MCP server.

### Pricing

Pay per event: **$0.003 per listing**. No listing, no charge. Set **Max listings** to cap the cost of a run. Free-plan users can run it within their free credits.

### Input

| Field | Meaning | Default |
|---|---|---|
| Category | olx.pl section, e.g. apartments for rent / houses for sale / plots / rooms | apartments for rent |
| City | city name as on olx.pl (`Warszawa`, `Kraków`, `Łódź`) — empty = all of Poland | Kraków |
| Keyword | optional free-text search inside the category | — |
| Start URLs (advanced) | any `olx.pl/nieruchomosci/…` listing URL **with filters** (price, area, rooms, furnished…) — overrides the fields above | — |
| Max listings | stop after N listings (= cost cap) | 100 |
| Proxy | Apify Proxy settings | Apify datacenter |

Tip: olx.pl returns at most **1 000 listings per search**. To get more, split the search by city, district or price band and pass several Start URLs.

### Output fields

`url`, `olxId`, `title`, `price`, `currency`, `priceNegotiable`, `pricePerM2`, `rentExtra` (czynsz, monthly extra for rentals), `areaM2`, `rooms`, `floor`, `floorLabel`, `buildingType`, `furnished`, `petsAllowed`, `elevator`, `market` (primary/secondary, sales only), `propertyType`, `params` (any other listing attributes as label text), `description`, `city`, `district`, `region`, `lat`, `lon`, `locationApproximate`, `sellerType` (`business` / `private`), `sellerName` (business sellers only), `sellerCompany`, `hasPhone`, `hasChat`, `isPromoted`, `categoryId`, `photos`, `photoCount`, `createdAt`, `refreshedAt`, `validTo`, `scrapedAt`.

### Limits and fair use

Only publicly visible listings are read, through the public listing feed, with polite rate limits. olx.pl rejects some datacenter proxy IPs with HTTP 403; the Actor retries with a fresh session automatically (you may see a few `403` warnings in the log, they are harmless). No login, no phone-number reveal, no bypass of access controls. Names of private individuals are not stored. Respect olx.pl's terms when reusing the data.

### Problems?

Open an issue on the **Issues** tab — median response time is under 6 hours. Include the run ID.

# Actor input Schema

## `category` (type: `string`):

olx.pl real-estate section to scrape.

## `city` (type: `string`):

City name as written on olx.pl (Warszawa, Kraków, Łódź, Gdańsk…). Leave empty to search all of Poland.

## `query` (type: `string`):

Optional free-text search inside the category, e.g. "z ogrodem", "kawalerka".

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

Any olx.pl/nieruchomosci/… listing URL with filters applied (price, area, rooms, furnished…). When set, Category/City/Keyword above are ignored.

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

Stop after this many listings. Each listing is one charged event, so this is also your cost cap. olx.pl returns at most 1 000 listings per search.

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

Apify Proxy is recommended; datacenter proxies are enough for this site.

## Actor input object example

```json
{
  "category": "mieszkania/wynajem",
  "city": "Kraków",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "category": "mieszkania/wynajem",
    "city": "Kraków",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("eudatalab/olx-pl-real-estate-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 = {
    "category": "mieszkania/wynajem",
    "city": "Kraków",
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("eudatalab/olx-pl-real-estate-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 '{
  "category": "mieszkania/wynajem",
  "city": "Kraków",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call eudatalab/olx-pl-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eudatalab/olx-pl-real-estate-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/ToY4XYva2DwJkwTjf/builds/UrMDaQ4Y8hOgQzaLx/openapi.json
