# OLX Scraper & API: Export Listings from PL, RO, PT, BG, UA (`s_actors/olx-scraper`) Actor

Scrape OLX (olx.pl, olx.ro, olx.pt, olx.bg, olx.ua, olx.kz) without login: search by keyword, category, place, radius, price, condition and seller, or paste search URLs. Full description, price, photos, seller, coordinates, delivery. Tens of thousands of ads per run. JSON, CSV, Excel.

- **URL**: https://apify.com/s_actors/olx-scraper.md
- **Developed by:** [Superior Actors](https://apify.com/s_actors) (community)
- **Categories:** E-commerce, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 99.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.79 / 1,000 ads

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 & API: Export Listings from PL, RO, PT, BG, UA

Scrape **OLX without login** on **olx.pl (Poland), olx.ro (Romania), olx.pt (Portugal), olx.bg (Bulgaria), olx.ua (Ukraine) and olx.kz (Kazakhstan)**: search by **keyword, category, region or city, radius, price, condition and seller type**, or paste any **OLX search or category URL** with your filters. Every ad comes with its **title, full description, price (old price, negotiable, exchange), condition, city, region, coordinates, posting and refresh time, all photos, the details list (area, rooms, brand, model...), the seller (private or business, name, active since) and delivery, phone and chat flags**. OLX shows only 1 000 ads per search: the Actor **cuts big searches into slices (region, price band, city, district)** and returns **tens of thousands of ads in one run**. Export to JSON, CSV, Excel or HTML, call it from the API, or schedule it and get **only the new ads**.

```json
{ "country": "pl", "searchQueries": ["iphone 15", "rower"], "location": "Warszawa", "radiusKm": 20, "maxItems": 500 }
```

#### What you get

Real examples (search "iphone 15" in Warszawa, 20 km, on olx.pl, and "apartament 2 camere" in Cluj-Napoca on olx.ro):

| title | price | condition | city | seller | seller type | posted |
|---|---|---|---|---|---|---|
| Bateria 96% iPhone 15 Pro Max Blue Titanium Idealny | 2950 PLN | used | Warszawa | iSuperMen | private | 2026-09-20 |
| JAK NOWY Iphone 15 pro max | 3200 PLN | new | Wyszków | WeMi | private | 2026-11-05 |
| IPhone 15 128gb Czarny - BEZ WAD - W PEŁNI ORYGINALNY | 1299 PLN | used | Warszawa | Jarek | private | 2026-11-06 |
| Apartament 2 camere, 49,19 mp, Grigorescu | 155000 EUR | | Cluj-Napoca | | business | 2026-08-25 |

| Field | Description |
|---|---|
| `id`, `url`, `title`, `description` | Ad id, link, title, the full description as plain text |
| `price`, `currency`, `priceLabel`, `negotiable`, `isExchange`, `previousPrice` | Price as a number and as OLX shows it, negotiable flag, "exchange" ads, the crossed-out old price |
| `convertedPrice`, `convertedCurrency` | The price OLX shows in a second currency when it does |
| `salary` | Job ads: `from`, `to`, `currency`, `type` (monthly, hourly), gross / net |
| `condition`, `conditionLabel`, `attributes` | New / used and the details list as the site shows it (area, rooms, brand, model, memory, year...) |
| `categoryId`, `categoryType` | OLX category id and type (electronics, real_estate, job, cars...) |
| `city`, `cityId`, `district`, `region`, `regionId`, `latitude`, `longitude` | Where the ad is; the point OLX shows on the map |
| `createdAt`, `refreshedAt`, `validTo` | Posted, last refreshed or pushed up, expires |
| `imageUrl`, `images`, `imageCount` | First photo, all photos (up to 1 000 px), number of photos |
| `sellerId`, `sellerName`, `sellerCompany`, `sellerType`, `sellerSince`, `sellerLastSeen`, `sellerOnline`, `shopSubdomain` | The seller: private or business, name, company, active since, last seen, OLX shop |
| `deliveryAvailable`, `phoneAvailable`, `chatAvailable`, `isPromoted`, `isUrgent` | OLX Delivery, a phone number is shown on the site, chat, paid placement flags |
| `country`, `query`, `source`, `scrapedAt` | Site code, your search query, where the row came from, run time |

#### How it works

1. Pick the **OLX site** and add **Search queries** (anything you type into the OLX search box, in the language of the site). Set a **Region or city** and a **Radius**, or leave the place empty for the whole country. Leave the queries empty to take every ad of a category or place
2. And / or paste **OLX search or category URLs** copied from your browser with all filters set: the Actor reads the filters, the place, the category and the sort order from the page. URLs can be from different OLX sites in one run
3. Filter by **category ID**, **price range**, **condition** (new / used), **seller type** (private / business) and **photos only**, choose the **sort order**, run, and download the dataset. Tabs: **Overview**, **With details**, **Sellers**
4. Set **Ads per search or URL** up to 100 000. OLX itself ends every search at 1 000 ads: above that the Actor splits the search by region, price band, city and district and joins the slices (ads come in slice order, duplicates removed)

#### Why this Actor

| | |
|---|---|
| 🌍 **Six OLX sites** | Poland, Romania, Portugal, Bulgaria, Ukraine and Kazakhstan in one Actor, one input |
| 🔓 **Beyond the 1 000-ad limit** | Big searches are cut automatically: 3 000 ads in about 20 seconds, 20 000 ads in a few minutes |
| 🔗 **Your own filters** | Paste a search URL with any OLX filter and get exactly those ads |
| 📝 **Full description included** | No extra "details" fee: the whole text, all photos and the seller come with every row |
| 🔔 **Only new ads** | Schedule a search and get just the ads added since the last run: flipping, price tracking, apartment and car hunting |
| 🕵️ **Seller data** | Private or business, active since, last seen, company name and shop |
| 💰 **$0.99 per 1,000 ads** | No subscription, no login, no cookies |

#### Get new ads every hour

1. Add your searches (or search URLs) and turn on **Only new ads**
2. Save as a task and add a schedule, e.g. every hour
3. The **first run** returns everything as a baseline. **Every later run** returns only ads not seen before for the same search (the 1 000 newest of each search are compared): send them to [Google Sheets](https://apify.com/s_actors/google-sheets-import-export), Slack, Telegram or email with an integration

The memory is kept in your account (key-value store `olx-scraper-state`). Use a different **Monitor name** for each task.

#### Pricing

Pay per ad. Apify Scale and Business plans pay less:

| Event | Free and Starter plans | Scale plan | Business plan |
|---|---|---|---|
| Run start | $0.001 | $0.001 | $0.001 |
| Ad (one row, full description included) | $0.00099 | $0.000891 | $0.000792 |

| Task | Cost |
|---|---|
| 100 ads for one keyword | ~$0.10 |
| One full OLX search (1 000 ads) | ~$0.99 |
| 10 000 ads over many regions | ~$9.90 |
| Hourly check of 5 searches (~10 new ads each, 30 days) | ~$2.20 per month |

Ads left out by **Only new ads** and failed lookups are not charged.

#### FAQ

**Do I need an OLX account or cookies?** No. The Actor reads what OLX shows to any visitor who is not logged in.

**How many ads can I get for one keyword?** As many as exist, up to your **Ads per search** limit (100 000 maximum). OLX shows 1 000 per search, so the Actor splits bigger searches by region, price band, city and district. With **Only new ads** or a sorted "newest" check it reads the 1 000 newest.

**In which order do the ads come?** Inside one slice by your sort order (newest, best match, price). A cut search is read slice after slice, so the whole dataset is not in one global order: sort the table after the run.

**Are phone numbers included?** No. OLX shows them only after a click and a login. The `phoneAvailable` flag tells whether the seller published a number.

**Can I scrape olx.com.br (Brazil) or OLX India?** Not with this Actor: they run on a different system. This Actor covers olx.pl, olx.ro, olx.pt, olx.bg, olx.ua and olx.kz.

**Why does a price filter in a URL show ads in another currency?** OLX applies the filter in its own way for some sites (for example olx.ro shows both RON and EUR prices). The Actor returns exactly the ads the site lists for that URL.

**Which language are the labels in?** The language of the site you search (Polish on olx.pl, Romanian on olx.ro, Ukrainian on olx.ua...). Field names are always English.

#### Use with the API and AI agents

Run it via the [Apify API](https://docs.apify.com/api/v2) from Python, Node.js or any HTTP client, or connect it to Claude, ChatGPT and other AI agents through the [Apify MCP server](https://mcp.apify.com): "Find used iPhone 15 ads under 3000 zloty in Warszawa on OLX and list private sellers".

#### Other marketplace tools

| Tool | What it does |
|---|---|
| [AliExpress Scraper](https://apify.com/s_actors/aliexpress-scraper) | AliExpress products, prices and sales by keyword |
| [AutoScout24 Scraper](https://apify.com/s_actors/autoscout24-scraper) | Used and new car listings from AutoScout24 with price ratings and price drop tracking |
| [Facebook Marketplace Scraper](https://apify.com/s_actors/facebook-marketplace-scraper) | Facebook Marketplace listings by city and keyword |
| [Marktplaats Scraper](https://apify.com/s_actors/marktplaats-scraper) | Marktplaats and 2dehands ads from the Netherlands and Belgium with prices and sellers |
| [Kleinanzeigen Scraper](https://apify.com/s_actors/kleinanzeigen-scraper) | Kleinanzeigen ads from Germany with prices, sellers and ad details |
| [Otodom Scraper](https://apify.com/s_actors/otodom-scraper) | Otodom property listings from Poland with prices, areas and agencies |
| [Otomoto Scraper](https://apify.com/s_actors/otomoto-scraper) | Otomoto car, van and truck listings from Poland with prices and dealer phones |
| [Google Sheets Import & Export](https://apify.com/s_actors/google-sheets-import-export) | Send the ads to a Google Sheet |

#### Is it legal?

The Actor collects only public data that OLX shows to any visitor without logging in. Seller names and photos can be personal data: use them in line with the GDPR and OLX's terms. Photos and texts belong to their authors: respect copyright when you reuse them.

# Actor input Schema

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

Which OLX site to search with the keywords below. URLs you paste always use their own site.

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

What to search on OLX: any words you would type in the search box, in the language of the site. One search per keyword. Leave empty to take every ad of the category or place below.

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

Search or category pages copied from your browser with the filters already set (for example https://www.olx.pl/elektronika/telefony/q-iphone/?search\[filter_float_price:from]=1000). All filters, the place, the category and the sort order of the page are kept.

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

Maximum ads for each keyword and each URL. OLX shows at most 1 000 ads per search, so above 1 000 the Actor cuts the search into slices (region, price band, city, district) and joins them: ads come in slice order, not in one global order.

## `location` (type: `string`):

Only ads from this region or city, as OLX writes it (Mazowieckie, Warszawa, București, Lisboa, Київ). Empty = the whole country.

## `radiusKm` (type: `integer`):

Also include ads within this distance of the city (cities only, not regions). 0 = the city only.

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

Only this category (a number such as 99 = Elektronika on olx.pl). The easy way: open the category on OLX and paste its URL in "OLX search URLs".

## `priceFrom` (type: `number`):

Only ads priced at or above this amount (in the currency of the site).

## `priceTo` (type: `number`):

Only ads priced at or below this amount (in the currency of the site).

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

New or used items only (categories that have a condition).

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

Private sellers only, businesses only, or both.

## `photosOnly` (type: `boolean`):

Skip ads without a photo.

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

Newest first, best match, or by price. Inside a cut search the order holds within each slice.

## `onlyNew` (type: `boolean`):

Output only ads that were not returned for the same search in the previous runs with the same monitor name (sorted by newest, up to 1 000 per search). Schedule the Actor to get new ads every hour.

## `monitorName` (type: `string`):

Keeps the memory of seen ads apart for different schedules.

## `debugLog` (type: `boolean`):

Log every request retry.

## Actor input object example

```json
{
  "country": "pl",
  "searchQueries": [
    "iphone 15",
    "rower",
    "kanapa"
  ],
  "startUrls": [
    "https://www.olx.pl/elektronika/telefony/q-iphone/",
    "https://www.olx.ro/imobiliare/apartamente-garsoniere-de-inchiriat/bucuresti/"
  ],
  "maxItems": 100,
  "location": "Warszawa",
  "radiusKm": 0,
  "categoryId": "99",
  "condition": "all",
  "sellerType": "all",
  "photosOnly": false,
  "sort": "newest",
  "onlyNew": false,
  "debugLog": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Ads: title, price, condition, place, date, seller type.

## `details` (type: `string`):

Ads with description, details list, coordinates, dates and delivery.

## `sellers` (type: `string`):

Who sells: seller, type, company, active since, last seen.

## `all` (type: `string`):

Every field.

# 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": [
        "iphone 15"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("s_actors/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 = {
    "searchQueries": ["iphone 15"],
    "maxItems": 100,
}

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

```

## MCP server setup

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