# OLX Scraper \[$1.5/1K] Kazakhstan, Poland, Ukraine, Romania (`realrakhat/olx-scraper`) Actor

\[💰 $1.5 / 1K] Scrape OLX listings from Kazakhstan, Poland, Ukraine, Romania, Portugal, Bulgaria and Uzbekistan: price, attributes, location, photos, dates. Paste any OLX search URL or type keywords. Monitoring mode returns only new listings and price drops. No login. JSON, CSV, Excel, API, MCP.

- **URL**: https://apify.com/realrakhat/olx-scraper.md
- **Developed by:** [RAKHAT BUGUBAYEV](https://apify.com/realrakhat) (community)
- **Categories:** E-commerce, Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 listings

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

### 🛒 What is OLX Scraper?

**OLX Scraper** is an unofficial **OLX API** that extracts classified listings from **7 OLX websites**: 🇰🇿 [olx.kz](https://www.olx.kz) (Kazakhstan), 🇵🇱 [olx.pl](https://www.olx.pl) (Poland), 🇺🇦 [olx.ua](https://www.olx.ua) (Ukraine), 🇷🇴 [olx.ro](https://www.olx.ro) (Romania), 🇵🇹 [olx.pt](https://www.olx.pt) (Portugal), 🇧🇬 [olx.bg](https://www.olx.bg) (Bulgaria) and 🇺🇿 [olx.uz](https://www.olx.uz) (Uzbekistan).

Paste any OLX search URL or type keywords, and get clean, structured data for every listing: **title, price, currency, previous price, all attributes (brand, model, condition, rooms, area, mileage…), category, city, district, seller type, photos and dates**. Download it as JSON, CSV, Excel or HTML, or call it via API.

- 🔗 **Any OLX search URL** with the filters you set on the website, or just keywords.
- 🔔 **Monitoring mode**: only **new listings and price changes** since the previous run.
- 📚 **Deep search**: goes beyond OLX's 1,000-results limit.
- ⚡ **Fast and cheap**: no browser, no login, no proxy. Thousands of listings per minute.
- 💰 **$1.50 per 1,000 listings**, platform usage included.

### 📦 What OLX data can I extract?

| Field | Example |
|---|---|
| Title and URL | `iphone 11 128gb`, `https://www.olx.kz/d/obyavlenie/…` |
| Price, currency, price label | `15000`, `KZT`, `15 000 тг.` |
| Negotiable, free, exchange | `true` / `false` |
| Previous price (price drop) | `18000` |
| Attributes | brand, model, condition, rooms, area, floor, year, mileage, fuel… |
| Category | `85`, `electronics` |
| Location | region, city, district, approximate coordinates |
| Seller type | `private` or `business` (company name for businesses only) |
| Promoted, urgent, delivery | `true` / `false` |
| Dates | created, refreshed, valid until |
| Photos | thumbnail, photo URLs, photo count |
| Description | full text, contacts removed |

### 🚀 How do I scrape OLX?

1. Open OLX in your browser, choose the category, city and filters, and copy the URL.
2. Paste it into **OLX search URLs** (add as many as you like, from any of the 7 countries). Or type **Search keywords** and choose a country.
3. Set **Max listings per search** (0 = all).
4. Click **Start**. Download the data as JSON, CSV, Excel or HTML, or get it via API.

### ⬇️ Input example

```json
{
  "startUrls": [{ "url": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/" }],
  "searchQueries": ["toyota camry"],
  "country": "kz",
  "maxItemsPerSearch": 200,
  "onlyNewListings": false
}
```

### ⬆️ Output example

```json
{
  "id": 403312308,
  "url": "https://www.olx.kz/d/obyavlenie/iphone-11-128gb-80-IDrifXe.html",
  "title": "iphone 11 128gb 80%",
  "country": "kz",
  "price": 15000,
  "currency": "KZT",
  "priceLabel": "15 000 тг.",
  "negotiable": true,
  "previousPrice": null,
  "attributes": {
    "mobile_phone_manufacturer": "Apple",
    "capacity": "128 Гб",
    "operating_system": "iOS",
    "state": "Б/у"
  },
  "categoryId": 85,
  "categoryType": "electronics",
  "region": "Алматинская область",
  "city": "Алматы",
  "district": "Бостандыкский район",
  "sellerType": "private",
  "companyName": null,
  "isPromoted": false,
  "createdAt": "2026-11-23T16:55:55+05:00",
  "refreshedAt": "2026-11-23T16:58:58+05:00",
  "photoCount": 1,
  "thumbnail": "https://frankfurt.apollo.olxcdn.com:443/v1/files/9wuvyesvacfk2-KZ/image;s=400x400",
  "description": "Продам Айфон 11 в отличном состоянии…",
  "source": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/",
  "scrapedAt": "2026-11-23T19:40:00.000Z"
}
```

In monitoring mode every item also has `changeType` (`new` or `price_changed`) and `lastSeenPrice`.

### 💸 How much does it cost to scrape OLX?

**$1.50 per 1,000 listings** ($0.0015 per listing). No monthly fee, and platform usage is included in the price.

- 1,000 listings cost **$1.50**.
- The Apify Free plan gives you $5 of credit every month, which is about **3,300 OLX listings for free** each month.
- In monitoring mode you pay only for new and changed listings: a search that gets 100 new listings a day costs about $0.15 per day.

### 🔔 Monitoring mode: alerts for new OLX listings

1. Sort your search by newest and turn on **Monitoring: only new listings and price changes**.
2. [Schedule the Actor](https://docs.apify.com/platform/schedules) every 15–60 minutes.
3. Connect a [webhook or integration](https://docs.apify.com/platform/integrations): Slack, Telegram (via Make or n8n), email or Google Sheets.

The first run saves the current listings as a baseline and returns them. Every next run returns only listings **posted since the previous run** and listings whose **price changed**. Old ads that sellers merely bumped to the top are skipped, so you don't pay for them. *Max listings per search* sets how many of the newest listings are checked on each run. Use **Monitoring ID** to run several independent monitors.

### 📚 Getting more than 1,000 OLX results

OLX shows at most 1,000 results for one search. Enable **Deep search** and the Actor splits the search into price ranges and collects all priced listings. You can also narrow the search by city or category, or add several URLs. Listings without a price (exchange or free) can be missed in deep search.

### 🤖 For AI agents and LLM apps

Compact reference for AI agents calling this Actor through the [Apify MCP server](https://mcp.apify.com) or the Apify API (Actor: `realrakhat/olx-scraper`).

**Purpose:** returns OLX classified listings (Kazakhstan, Poland, Ukraine, Romania, Portugal, Bulgaria, Uzbekistan) as one flat record per listing, from a search URL or keywords. No login.

**Minimal input:**

```json
{ "searchQueries": ["iphone 15"], "country": "kz", "maxItemsPerSearch": 50 }
```

URL mode: `{ "startUrls": [{ "url": "https://www.olx.pl/motoryzacja/samochody/warszawa/" }], "maxItemsPerSearch": 50 }`

**Output fields:** `id`, `url`, `title`, `country`, `price`, `currency`, `priceLabel`, `negotiable`, `isFree`, `isExchange`, `previousPrice`, `attributes` (object), `categoryId`, `categoryType`, `region`, `city`, `district`, `sellerType`, `companyName`, `approxLatitude`, `approxLongitude`, `isPromoted`, `createdAt`, `refreshedAt`, `photoCount`, `thumbnail`, `photos`, `description`, `changeType`, `lastSeenPrice`.

**Behaviors to know:**

- `country` is one of `kz`, `pl`, `ua`, `ro`, `pt`, `bg`, `uz` and applies to `searchQueries` only. URLs carry their own country.
- Always set `maxItemsPerSearch` (default 100). `0` means all results, up to 1,000 per search unless `deepSearch` is `true`.
- `sortBy`: `newest`, `price_asc`, `price_desc` or `relevance`. Filters: `priceMin`, `priceMax`, `sellerType` (`all`, `private`, `business`).
- `onlyNewListings: true` returns only new and price-changed listings compared with the previous run of the same `monitoringId`.
- Prices are numbers in the local currency (KZT, PLN, UAH, RON, EUR, BGN, UZS or USD).

### ❓ FAQ

#### Is there an official OLX API?

OLX offers a partner API for business accounts to post and manage their own ads. It does not give access to search results or other sellers' listings. OLX Scraper works as an **OLX listings API**: send a search URL or keywords, get structured JSON back.

#### Can I use OLX Scraper as an API?

Yes. One HTTP request runs the Actor and returns the listings as JSON:

```bash
curl -X POST "https://api.apify.com/v2/acts/realrakhat~olx-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["iphone 15"], "country": "kz", "maxItemsPerSearch": 50}'
```

#### Can I use OLX Scraper in Python?

Yes, with the [`apify-client`](https://docs.apify.com/api/client/python/) package:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("realrakhat/olx-scraper").call(run_input={
    "searchQueries": ["iphone 15"], "country": "kz", "maxItemsPerSearch": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["price"], item["currency"])
```

The same works in JavaScript with [`apify-client`](https://docs.apify.com/api/client/js/) for Node.js.

#### Can I integrate OLX Scraper with other apps?

Yes. Use [Apify integrations](https://apify.com/integrations) with Make, Zapier, n8n, Google Sheets, Google Drive, Slack, Airbyte, LangChain and more, or a webhook to your own server.

#### Which OLX countries are supported?

Kazakhstan (olx.kz), Poland (olx.pl), Ukraine (olx.ua), Romania (olx.ro), Portugal (olx.pt), Bulgaria (olx.bg) and Uzbekistan (olx.uz). OLX Brazil, India and other countries run on different platforms and are not supported.

#### Do I need an OLX account, cookies or proxy?

No. The Actor reads public listings without login, cookies or proxy.

#### Is there a limit of 1,000 results?

OLX itself stops at 1,000 results per search. Turn on **Deep search** to collect more.

#### Can I get the seller's phone number?

No. The Actor deliberately does not collect personal contact data.

#### Is it legal to scrape OLX?

Scraping publicly available data such as prices, item attributes and locations is generally legal. This Actor **does not collect personal data of private sellers**: no names, phone numbers or user profiles, and phone numbers and e-mails typed into descriptions are removed. Company names are included only for business accounts. Personal data is protected by the GDPR and local data protection laws, so use the data for a legitimate purpose and in line with OLX terms. If you are unsure, consult a lawyer.

#### Something does not work?

Open an issue on the **Issues** tab with your input. Problems are usually fixed within 1–2 days.

### 🌍 OLX Scraper in your language

- **Русский:** парсер OLX.kz, OLX.ua и OLX.uz: объявления, цены, характеристики и фото в Excel, CSV или JSON. Мониторинг новых объявлений и снижения цен.
- **Polski:** scraper OLX.pl: ogłoszenia, ceny, parametry i zdjęcia do Excela, CSV lub JSON. Monitorowanie nowych ogłoszeń i obniżek cen.
- **Українська:** парсер OLX.ua: оголошення, ціни, характеристики й фото в Excel, CSV або JSON. Моніторинг нових оголошень.
- **Română:** scraper OLX.ro: anunțuri, prețuri, caracteristici și poze în Excel, CSV sau JSON. Monitorizare anunțuri noi.
- **Português:** scraper OLX.pt: anúncios, preços, características e fotos em Excel, CSV ou JSON. Monitorização de novos anúncios.
- **Български:** скрейпър за OLX.bg: обяви, цени, характеристики и снимки в Excel, CSV или JSON.
- **Oʻzbekcha:** OLX.uz parseri: eʼlonlar, narxlar, xususiyatlar va rasmlar Excel, CSV yoki JSON formatida.

# Actor input Schema

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

Paste search or category URLs from olx.kz, olx.pl, olx.ua, olx.ro, olx.pt, olx.bg or olx.uz — with any filters you set on the website (category, city, price, rooms, brand…). The country is detected from the URL.

## `searchQueries` (type: `array`):

Keywords to search, e.g. "iphone 15" or "2-комнатная квартира". Used with the country below.

## `country` (type: `string`):

Which OLX site to search with the keywords above.

## `sortBy` (type: `string`):

Applies to keyword searches. Search URLs keep the sorting set on the website.

## `priceMin` (type: `integer`):

In the local currency (KZT, PLN, UAH, RON, EUR, BGN, UZS). Applies to keyword searches.

## `priceMax` (type: `integer`):

In the local currency. Applies to keyword searches.

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

Filter listings by seller type.

## `maxItemsPerSearch` (type: `integer`):

How many listings to save for each URL or keyword (in monitoring mode: how many of the newest listings to check). 0 = all available. OLX shows at most 1,000 results per search; turn on Deep search to get more.

## `deepSearch` (type: `boolean`):

OLX returns at most 1,000 results per search. Deep search automatically splits a big search into price ranges to collect all priced listings. Listings without a price (exchange, free, negotiable without price) may be missed.

## `onlyNewListings` (type: `boolean`):

Remembers listings between runs. The first run saves the current listings as a baseline; every next run returns only listings posted since the previous run and listings whose price changed (field changeType = new / price_changed). Old ads that were just bumped up are skipped. Schedule the Actor (e.g. every hour) to get a feed of fresh offers — you pay only for new results.

## `monitoringId` (type: `string`):

Name of the memory used by monitoring mode. Leave empty to use one automatically derived from your search settings. Use different IDs to run independent monitors.

## `includeDescription` (type: `boolean`):

Listing description text. Phone numbers and e-mails typed into descriptions are removed.

## `includePhotos` (type: `boolean`):

Links to listing photos (1000×1000).

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

Not needed in most cases. Enable only if you see blocking errors.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/"
    }
  ],
  "country": "kz",
  "sortBy": "newest",
  "sellerType": "all",
  "maxItemsPerSearch": 100,
  "deepSearch": false,
  "onlyNewListings": false,
  "includeDescription": true,
  "includePhotos": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped OLX listings (table view).

## `allFields` (type: `string`):

Full data for every listing: price, attributes, location, photos, 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 = {
    "startUrls": [
        {
            "url": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("realrakhat/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 = { "startUrls": [{ "url": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/" }] }

# Run the Actor and wait for it to finish
run = client.actor("realrakhat/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 '{
  "startUrls": [
    {
      "url": "https://www.olx.kz/elektronika/telefony-i-aksesuary/alma-ata/q-iphone/"
    }
  ]
}' |
apify call realrakhat/olx-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,realrakhat/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/q73aAh3BLfEd7KGko/builds/6UygxvF1Q450NVj2u/openapi.json
