# OLX.ua Scraper: Ukraine Classifieds Listings (`reventadata/olx-ua-scraper`) Actor

Scrape OLX.ua ads by keyword across every category: title, full description, price in UAH, town and region, condition, attributes, posting and refresh time, seller name and type, and whether a phone is published. Filter by condition and price. Unofficial.

- **URL**: https://apify.com/reventadata/olx-ua-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** E-commerce, 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.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.
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

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to OLX. "OLX" is a trademark of its respective owner and is used
> here only to describe what this tool reads. It reads the same public pages a browser does.

OLX Ukraine Scraper searches **any category** on [OLX.ua](https://www.olx.ua) - electronics, vehicles, home,
fashion - and returns priced listings in UAH with the full ad description, location, condition, structured
attributes, promoted-placement status and the seller's public details.

### What data can you extract from OLX Ukraine (olx.ua)?

Every search result OLX.ua itself returns for your keyword: title, description, price and whether it is
negotiable, town and region, posting and refresh time, condition (`Нове` / `Вживане`, the site's own words),
the ad's structured attributes (brand, model, size and so on, as OLX.ua keys them), first photo, whether the
seller is a business, the seller's public name, id and member-since date, whether the seller published a phone
number, and the approximate map position OLX.ua shows. The Actor reads public search pages directly, so it needs no browser.

### Why scrape OLX Ukraine (olx.ua)?

- **Every category, one Actor.** Search any keyword, Cyrillic or Latin, across the whole site.
- **No proxy required by default.** Direct connection by default; proxy settings are available
  if needed.
- **Condition filter is exact.** `new` returned 52 of 52 `Нове` rows and `used` 52 of 52 `Вживане` rows on the
  pages sampled.
- **Zero-result searches return nothing.** OLX.ua shows 40 unrelated "similar" ads when nothing matches; the Actor
  reads the page's own result count and does not return them.
- **Stops cleanly at the end.** A search with fewer than 25 pages ends at its last page; the site's 25-page
  ceiling (1,000 ads) is never exceeded.
- **Promoted placements are labelled, not hidden.** `isFeatured` marks paid placements, and `excludeFeatured`
  drops them if you want organic results only.
- **Title match.** With `requireKeywordMatch` on (default), rows whose title lacks a word of your query are dropped.
  OLX.ua's search also matches transliterations and synonyms (a Latin `laptop` query returns ads titled in
  Cyrillic), so search in the language the titles use, or turn the option off.

### How to scrape OLX Ukraine (olx.ua)

1. Put one or more search terms in `searchQueries`.
2. Optionally narrow with `condition`, a price range in UAH, or `sortBy`.
3. Run it. Results land in the dataset.

#### Input

| Field | Type | Meaning |
|---|---|---|
| `searchQueries` | array | One search per term. Required. |
| `condition` | string | `any` | `new` | `used`. |
| `minPrice` / `maxPrice` | integer | Optional, in UAH. Left out of the request when empty, never sent as 0. |
| `sortBy` | string | `relevance` | `priceAsc` | `priceDesc` | `newest`. Paid promoted listings ignore the sort, so treat it as best-effort ordering. |
| `excludeFeatured` | boolean | Drops paid promoted placements. Off by default. |
| `requireKeywordMatch` | boolean | Drops items whose title is missing any word of the query. Default on. |
| `maxItems` | integer | Cap on rows across all terms. Default 1000. |
| `maxPages` | integer | Pages per term, clamped to OLX.ua's ceiling of 25. |
| `proxyConfiguration` | object | Off by default. Turn on only if you see request failures. |

```json
{
    "searchQueries": ["ноутбук"],
    "condition": "used",
    "maxItems": 200
}
```

#### Output

One row per ad:

| Field | Type | Meaning |
|---|---|---|
| `id`, `url`, `title`, `description` | string | The ad's id, canonical link, title and body text (HTML removed). |
| `imageUrl` | string / null | First photo. |
| `price` | number / null | Asking price in UAH; null, never 0, when the ad states none. |
| `priceNegotiable` | boolean | Seller marked the price negotiable. |
| `currency` | string | Currency code as the site reports it. |
| `location`, `region` | string / null | Town and region. |
| `postedAt`, `refreshedAt` | string / null | ISO 8601 creation and last refresh time. |
| `condition` | string / null | `Нове` or `Вживане`; null when the ad states none. |
| `attributes` | object / null | The ad's structured attributes, keyed as the site keys them. |
| `isFeatured`, `isBusiness` | boolean | Paid promoted placement; business seller. |
| `sellerName`, `sellerId`, `sellerCompanyName`, `sellerMemberSince` | string / null | The seller's public profile fields. |
| `sellerPhoneAvailable` | boolean | The seller published a phone number (the number itself is not in the search page). |
| `latitude`, `longitude`, `locationRadiusKm` | number / null | The approximate map area the site shows. |
| `matchedKeyword` | string | Which search term found the ad. |

Sample row (a real row from a platform run on 2026-11-11, description shortened):

```json
{
  "id": "927822449",
  "title": "Ноутбук Microsoft Surface Laptop 4 / i7-1185G7 / 16GB / 256GB SSD / 15\" Touch / Уцінка",
  "description": "Ноутбук Microsoft Surface Laptop 4 / Intel Core i7-1185G7 / 16GB / 256GB SSD / 15\" Touch\n\n...",
  "url": "https://www.olx.ua/d/uk/obyavlenie/noutbuk-microsoft-surface-laptop-4-i7-1185g7-16gb-256gb-ssd-15-touch-utsnka-ID10N30d.html",
  "imageUrl": "https://ireland.apollo.olxcdn.com:443/v1/files/11my6pehwjjl-UA/image;s=1000x750",
  "price": 15000,
  "priceNegotiable": true,
  "currency": "UAH",
  "location": "Луцьк",
  "region": "Волинська область",
  "postedAt": "2026-07-02T12:44:48+03:00",
  "refreshedAt": "2026-11-09T20:01:19+02:00",
  "condition": "Вживане",
  "attributes": {
    "state": "Вживане",
    "operating_system": "Windows",
    "laptop_weight": "1.51 - 2 кг",
    "display_size": "15\"-15,6\"",
    "laptop_manufacturer": "Microsoft"
  },
  "isFeatured": true,
  "isBusiness": true,
  "sellerName": "MyLaptop",
  "sellerId": "593209786",
  "sellerCompanyName": "MyLaptop",
  "sellerMemberSince": "2021-03-27T11:55:21+02:00",
  "sellerPhoneAvailable": true,
  "latitude": 50.74158,
  "longitude": 25.28939,
  "locationRadiusKm": 5,
  "matchedKeyword": "laptop"
}
```

### Limits

- At most 25 pages (about 1,000 ads) per search term: the site's own ceiling. Narrow with price or condition to reach more.
- Search pages are about 3.4 MB each, so a full 25-page run takes longer than on lighter sites. The site is served in Ukrainian only (`/uk/`); the Russian version redirects to it.

### How much does it cost to scrape OLX.ua?

Pay-per-event: you pay per result written to the dataset, with no subscription. The current price is on the Actor's Pricing tab.

### Privacy & Compliance

This Actor reads only publicly accessible pages and returns the public data they show, including the seller
details a listing publishes. It sends no login and reads nothing behind one.

# Actor input Schema

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

One search per term; Cyrillic and Latin terms both work. Required, with no default - the Actor never guesses what to look for. Works across any OLX.ua category.

## `condition` (type: `string`):

Нове (new) or Вживане (used). Measured as a clean filter on 2026-11-08: 52 of 52 rows Нове for new and 52 of 52 Вживане for used on the sampled page.

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

Order only; changes nothing about which ads exist. A small number of paid promoted listings are interspersed regardless of sort order, so priceAsc/priceDesc/newest are best-effort, not an exact guarantee.

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

Optional. Omitted from the request entirely when empty — never defaulted to 0, which would drop every free listing.

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

Optional. Omitted from the request entirely when empty.

## `excludeFeatured` (type: `boolean`):

Drops listings flagged as paid promoted placements. Off by default, so they are returned and labelled with isFeatured.

## `requireKeywordMatch` (type: `boolean`):

Drop items whose title is missing any word of the query. OLX.ua search is fuzzy: a keyword also returns near matches without the term in the title.

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

Hard cap on rows pushed across all search terms.

## `maxPages` (type: `integer`):

OLX.ua serves at most 25 pages per search (1,000 ads at up to 52 per page, about 3.4 MB per page); the Actor never requests past page 25. Clamped to that ceiling.

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

Optional. Left off by default; only turn it on if you see request failures.

## Actor input object example

```json
{
  "searchQueries": [
    "laptop"
  ],
  "condition": "any",
  "sortBy": "relevance",
  "excludeFeatured": false,
  "requireKeywordMatch": true,
  "maxItems": 10,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `matches` (type: `string`):

Matching listings: price, location, condition, promoted status, and a link to the ad.

# 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 = {
    "searchQueries": [
        "laptop"
    ],
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/olx-ua-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 = {
    "searchQueries": ["laptop"],
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/olx-ua-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 '{
  "searchQueries": [
    "laptop"
  ],
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/olx-ua-scraper --silent --output-dataset

```

## MCP server setup

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