# OLX.ua Listings & Prices Scraper (`ivladimir/olx-ua-listings`) Actor

Scrape OLX.ua classifieds by keyword, category, region and price. Get clean JSON: prices, photos, seller type, location, dates. No browser needed.

- **URL**: https://apify.com/ivladimir/olx-ua-listings.md
- **Developed by:** [Владимир Иваницкий](https://apify.com/ivladimir) (community)
- **Categories:** E-commerce
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.ua Listings & Prices Scraper

Scrape **OLX Ukraine** classified ads fast — no browser required. Search by keyword, category, region/city and price range, and get clean structured data ready for price monitoring, market research, and lead lists.

### What data you get

| Field | Type | Description |
|---|---|---|
| `id` | integer | OLX ad ID |
| `url` | string | Ad URL |
| `title` | string | Ad title |
| `query` | string | Search query that produced this item |
| `price` | number | null | Price in UAH |
| `currency` | string | Currency code (e.g. `UAH`) |
| `priceLabel` | string | Human-readable price (e.g. `6 000 грн.`) |
| `negotiable` | boolean | Price negotiable flag |
| `previousPrice` | number | null | Previous price, if reduced |
| `city` | string | City |
| `district` | string | null | District |
| `region` | string | Region/oblast |
| `categoryId` | integer | OLX category ID |
| `isBusiness` | boolean | Business seller flag |
| `sellerName` | string | null | Seller name (business only) |
| `params` | object | Category-specific attributes (brand, condition, size…) |
| `photos` | array | Photo URLs |
| `delivery` | boolean | Delivery available flag |
| `promoted` | boolean | Promoted ad flag |
| `createdAt` | string | Creation timestamp (ISO 8601) |
| `refreshedAt` | string | Last refresh timestamp (ISO 8601) |
| `description` | string | null | Ad description (plain text, if enabled) |

Phone numbers and private-person names are **not** collected.

### Use cases

- **Price monitoring** — track competitor prices and price drops over time.
- **Resale arbitrage** — spot underpriced listings across regions.
- **Market research** — analyze supply, demand and pricing by category or city.
- **Lead lists** — collect business sellers for B2B outreach.
- **Competitor tracking** — monitor shops selling on OLX.

### How to use

1. Open the actor in Apify Store and click **Try for free**.
2. Enter one or more **search queries** (e.g. `iphone 13`, `диван`).
3. Optionally set **category**, **region**, **city**, **price range**, **sort order** and **seller type**.
4. Set **Max results per query** (OLX caps at 1000 per search).
5. Choose whether to include **descriptions** and configure **proxy** (Apify Proxy is recommended; a custom proxy URL can be supplied).
6. Click **Start** and download results as JSON, CSV or Excel.

### Input example

```json
{
  "queries": ["iphone 13"],
  "categoryId": 3755,
  "regionId": 25,
  "cityId": 268,
  "priceFrom": 1000,
  "priceTo": 15000,
  "sortBy": "created_at:desc",
  "businessOnly": "all",
  "maxItemsPerQuery": 200,
  "includeDescription": true,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

### Output example

```json
{
  "id": 931828032,
  "url": "https://www.olx.ua/d/uk/obyavlenie/plata-iphone-12-13-14-15-16-pro-max-plus-mini-chista-pd-zamovlennya-z-perevrkoyu-ID113R2o.html",
  "title": "Плата iPhone 12 13 14 15 16 (Pro/Max/Plus/Mini) чиста | Під замовлення з перевіркою",
  "query": "iphone 13",
  "price": 6000,
  "currency": "UAH",
  "priceLabel": "6 000 грн.",
  "negotiable": false,
  "previousPrice": null,
  "city": "Львів",
  "district": "Галицький",
  "region": "Львівська область",
  "categoryId": 3755,
  "isBusiness": true,
  "sellerName": "BADION",
  "params": { "Тип запчастини": "Системні плати" },
  "photos": [
    "https://ireland.apollo.olxcdn.com:443/v1/files/340p0zw915w2-UA/image;s=800x600",
    "https://ireland.apollo.olxcdn.com:443/v1/files/9pbwu7d63jry-UA/image;s=800x600"
  ],
  "delivery": false,
  "promoted": true,
  "createdAt": "2026-08-15T11:25:49+03:00",
  "refreshedAt": "2026-10-31T11:45:31+02:00",
  "description": "Плата у гарному стані, перевірена, під замовлення."
}
```

### Pricing

This actor uses **pay-per-result** pricing: **$2.5 per 1,000 results**. Platform usage is billed separately — see the **Pricing** tab for details.

**Cost example:** 3 queries × 200 results = 600 results → **$1.50**.

### FAQ

**Is scraping OLX.ua legal?**
This actor collects only publicly available data from OLX.ua search pages. It respects robots.txt and does not bypass authentication or collect private data. Always comply with OLX's terms of service and local laws when using the data.

**Do I need a proxy?**
OLX may block some cloud IPs. Apify Proxy is recommended and preconfigured. You can also supply your own residential proxy via `customProxyUrl`.

**Why do I get fewer results than requested?**
OLX caps search results at 1000 per query. Split broad searches by price ranges or regions to collect more.

**Are phone numbers or private seller names included?**
No. Phone numbers and private-person names are not collected. Only business seller names are returned.

**Can I search multiple queries at once?**
Yes. Add multiple entries to `queries`; each query is searched separately and results are tagged with the `query` field.

**How do I find region, city or category IDs?**
IDs are visible in OLX URLs and in the output (`categoryId`). Common examples: region `25` = Київська обл., city `268` = Київ.

### Integrations

- **API** — run the actor programmatically via the Apify API and fetch results as JSON.
- **Webhooks** — trigger downstream workflows when a run finishes.
- **Google Sheets** — export results directly to a spreadsheet.
- **Make / Zapier** — connect to 1000+ apps for automation.
- **Scheduling** — set up recurring runs to monitor prices and new listings.

### 🇺🇦 Коротко українською

Цей актор збирає оголошення з OLX.ua за ключовими словами, категоріями, регіонами та цінами. Ви отримуєте структуровані дані: ціни, фото, тип продавця, локацію та дати. Ідеально підходить для моніторингу цін, аналізу ринку та пошуку бізнес-продавців. Ціна — $2.5 за 1000 результатів, оплата за фактичну кількість. Проксі Apify рекомендовано, оскільки OLX може блокувати хмарні IP.

# Actor input Schema

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

Each query is searched separately, e.g. 'iphone 13', 'диван'.

## `categoryId` (type: `integer`):

Optional OLX category_id (see README).

## `regionId` (type: `integer`):

Optional OLX region_id (e.g. 25 = Київська обл.).

## `cityId` (type: `integer`):

Optional OLX city_id (e.g. 268 = Київ).

## `priceFrom` (type: `integer`):

Min price.

## `priceTo` (type: `integer`):

Max price.

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

Sort order.

## `businessOnly` (type: `string`):

all / private / business

## `maxItemsPerQuery` (type: `integer`):

OLX caps search at 1000 results per query.

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

Ad description (plain text).

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

OLX blocks some cloud IPs; Apify Proxy is recommended.

## `customProxyUrl` (type: `string`):

Your own residential proxy, e.g. http://user:pass@host:port. Overrides Apify Proxy.

## Actor input object example

```json
{
  "queries": [
    "iphone 13"
  ],
  "sortBy": "created_at:desc",
  "businessOnly": "all",
  "maxItemsPerQuery": 200,
  "includeDescription": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped items in the default dataset

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ivladimir/olx-ua-listings").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"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("ivladimir/olx-ua-listings").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"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call ivladimir/olx-ua-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ivladimir/olx-ua-listings"
        }
    }
}
```

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/dnOlQWPhJNRE7M17T/builds/VnDuoWZR5V2dHgat6/openapi.json
