# OLX Scraper — Poland, Romania, Portugal, Ukraine & More (`hipersoft/olx-scraper`) Actor

Scrape classified ads from OLX in Poland, Romania, Portugal, Ukraine, Bulgaria, Kazakhstan and Uzbekistan: title, description, price, negotiable, attributes, city, district, region, private or business seller, photos, dates. Export CSV/JSON.

- **URL**: https://apify.com/hipersoft/olx-scraper.md
- **Developed by:** [Hipersoft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0005 / listing

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?

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 Scraper: Classified Ads from Poland, Romania, Portugal, Ukraine, Bulgaria, Kazakhstan & Uzbekistan

**OLX Scraper** extracts classified ads from **OLX**, the **largest classifieds marketplace in Central & Eastern Europe and Central Asia**: **olx.pl (Poland), olx.ro (Romania), olx.pt (Portugal), olx.ua (Ukraine), olx.bg (Bulgaria), olx.kz (Kazakhstan) and olx.uz (Uzbekistan)**. Covering **electronics, phones, cars and parts, property, jobs, home and garden, fashion, kids, sports, animals and services**, it returns for every ad the **title, full description, price, currency, negotiable flag, free flag, all attributes (condition, model, memory, colour, year, mileage…), category, city, district, region, approximate coordinates, private or business seller, business name, highlighted / urgent / top-ad flags, delivery availability, photos, posted, refreshed and expiry dates**. Search by **keyword, category, region, city, price range and seller type**. Export to **CSV, Excel or JSON**. Perfect for **resellers, price monitoring, market research, deal alerts and lead generation across Poland, Romania, Portugal, Ukraine and beyond**.

### What does OLX Scraper do?

- 🌍 **7 OLX countries** in one actor: PL, RO, PT, UA, BG, KZ, UZ.
- 🔎 **Keywords, category, region, city, price range** and four sort orders.
- 💰 **Price, currency, negotiable and free flags**.
- 🏷️ **All attributes**: condition, brand, model, size, year, mileage and more.
- 📍 **City, district and region**.
- 🧑 **Private vs business sellers** with a dedicated filter.
- 🚚 **Delivery availability**, promoted flags, **photos** and **dates**.

### What data can you scrape from OLX?

| Field | Description |
|---|---|
| Ad | Site, ID, link, title, description, offer type |
| Price | Price, currency, label, negotiable, free |
| Item | Category ID, attributes |
| Location | City, district, region, approximate coordinates |
| Seller | Private or business, business name |
| Flags | Highlighted, urgent, top ad, delivery |
| Media & dates | Photos, posted, refreshed, valid until |

### Use cases for OLX data

- **Resellers**: find under-priced phones, consoles and furniture in Poland or Romania.
- **Car dealers**: monitor private car ads and prices by region.
- **Price monitoring**: track second-hand prices across seven countries.
- **Market research**: compare supply, prices and demand between cities and countries.
- **Lead generation**: list businesses selling in a category.

### How to scrape OLX

1. Click **Try for free** to open OLX Scraper in Apify Console.
2. Pick the **OLX country** and enter **search terms** in the local language.
3. Optionally set a **category, region, city, price range** and **seller type**.
4. Click **Start** and download the ads as **CSV, Excel or JSON**.

### Input

#### Example input

```json
{
  "site": "pl",
  "queries": ["iphone 13", "macbook air"],
  "minPrice": 500,
  "maxPrice": 1500,
  "sellerType": "private",
  "sort": "newest",
  "maxItems": 500
}
```

| Field | Description |
|---|---|
| **OLX country** | pl, ro, pt, ua, bg, kz, uz. |
| **Search terms** | Keywords in the local language. |
| **Category / Region / City ID** | Optional numeric filters from the site. |
| **Min / max price** | Price range in local currency. |
| **Sort by** | Newest, relevance, price. |
| **Seller type** | All, private only or businesses only. |
| **Max ads** | 0 = no limit. |

### Output

#### Ad example

```json
{
  "site": "pl",
  "offerId": 1101520533,
  "url": "https://www.olx.pl/d/oferta/iphone-13-128-gb-midnight-nowa-bateria-100-oryginalny-ekran-zestaw-akcesoriow-CID99-ID1cxROd.html",
  "title": "iPhone 13 128 GB Midnight – nowa bateria 100%",
  "price": 749,
  "currency": "PLN",
  "priceLabel": "749 zł",
  "negotiable": true,
  "attributes": { "Stan": "Używane", "Model telefonu": "iPhone 13", "Wbudowana pamięć": "128GB" },
  "sellerType": "private",
  "city": "Warszawa",
  "district": "Bemowo",
  "region": "Mazowieckie",
  "hasDelivery": true,
  "imageCount": 8,
  "createdAt": "2026-09-29T19:30:36+02:00"
}
```

#### Output schema

| Field | Type | Description |
|---|---|---|
| `site`, `offerId`, `url`, `title`, `description`, `offerType` | mixed | Ad. |
| `price`, `currency`, `priceLabel`, `negotiable`, `isFree` | mixed | Price. |
| `categoryId`, `attributes` | mixed | Item details. |
| `city`, `district`, `region`, `latitude`, `longitude` | mixed | Location (approximate for private sellers). |
| `sellerType`, `businessName` | string | Seller (business names only). |
| `isHighlighted`, `isUrgent`, `isTopAd`, `hasDelivery` | boolean | Flags. |
| `imageCount`, `imageUrl`, `images`, `createdAt`, `refreshedAt`, `validTo` | mixed | Media and dates. |

Private sellers' names and contact details are not collected.

### How much does it cost?

OLX Scraper uses **pay-per-ad** pricing: a small fixed price per ad, with automatic discounts on higher Apify plans. See the **Pricing** tab for the exact price.

### More classifieds data

- [Otodom Scraper](https://apify.com/hipersoft/otodom-scraper): Polish real estate.
- [Kleinanzeigen Scraper](https://apify.com/hipersoft/kleinanzeigen-scraper): German classifieds.
- [Bazos Scraper](https://apify.com/hipersoft/bazos-scraper): Czech, Slovak, Polish and Austrian classifieds.
- [Kijiji Scraper](https://apify.com/hipersoft/kijiji-scraper): Canadian classifieds.

### FAQ

**How many ads can one search return?**
Up to about 1,000 ads per search. Split large searches by region, category or price range to collect more.

**Which language should I search in?**
Use the local language of the OLX site (e.g. Polish for olx.pl, Romanian for olx.ro).

**What formats can I export?**
CSV, Excel, JSON, XML, HTML and RSS, or read the results through the Apify API.

**Can I integrate it with other apps?**
Yes. OLX Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JS/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

**Is it legal to scrape OLX?**
The scraper only collects publicly visible ad information and no private seller names or contact details. You are responsible for using the data in line with OLX's terms and GDPR.

### Related Actors

- [Otodom Scraper](https://apify.com/hipersoft/otodom-scraper)
- [Milanuncios Scraper](https://apify.com/hipersoft/milanuncios-scraper)
- [Subito.it Scraper](https://apify.com/hipersoft/subito-scraper)

### Notes

Original clean-room implementation. Returns only public data. Not affiliated with OLX Group.

# Actor input Schema

## `site` (type: `string`):

Which OLX site to search.

## `queries` (type: `array`):

Keywords in the site's language, e.g. rower, iphone 13, mieszkanie. Leave empty to list the newest ads (combine with a category or region).

## `categoryId` (type: `string`):

OLX category number from the site.

## `regionId` (type: `string`):

OLX region number from the site.

## `cityId` (type: `string`):

OLX city number from the site.

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

Minimum price in local currency.

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

Maximum price in local currency.

## `sort` (type: `string`):

Result order.

## `sellerType` (type: `string`):

Private individuals, businesses or both.

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

Stop after this many ads in total (0 = no limit; each search returns up to ~1,000 ads).

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

Not needed in most cases.

## Actor input object example

```json
{
  "site": "pl",
  "queries": [
    "iphone 13"
  ],
  "sort": "newest",
  "sellerType": "all",
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

The results as dataset items.

# 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 = {
    "queries": [
        "iphone 13"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/olx-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 = { "queries": ["iphone 13"] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/olx-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 '{
  "queries": [
    "iphone 13"
  ]
}' |
apify call hipersoft/olx-scraper --silent --output-dataset

```

## MCP server setup

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