# OLX Scraper - Poland, Brazil, Romania & 5 More (`difioprdy/olx-scraper`) Actor

OLX scraper for 8 countries: Poland, Portugal, Romania, Bulgaria, Ukraine, Kazakhstan, Uzbekistan and Brazil. Get price (in EUR where available), condition, city, category, photos and company names. Track new listings and price drops, or paste any OLX search URL. Export to JSON, CSV, Excel or API.

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

## Pricing

from $0.70 / 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.
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

> Not affiliated with, endorsed by, or connected to OLX Group or OLX Brasil. "OLX" is a trademark of its owner. This **OLX scraper** collects only publicly visible listing data; you are responsible for using the data lawfully and in line with OLX's terms.

## OLX Scraper

**OLX Scraper** lets you scrape OLX listings from **8 countries**: Poland (olx.pl), Portugal (olx.pt), Romania (olx.ro), Bulgaria (olx.bg), Ukraine (olx.ua), Kazakhstan (olx.kz), Uzbekistan (olx.uz) and Brazil (olx.com.br). Search by keyword or paste OLX search URLs, and get clean JSON, CSV or Excel with the **same fields for every country**: title, price, **price in EUR**, condition, city, category name, photos and private/business seller type. Each run also saves a **price summary per country** with the cheapest market, and an optional **monitor** returns only new listings and price changes. Use it as an **OLX API** alternative, an **olx.pl scraper**, an **OLX Brasil scraper** or an **OLX price tracker**. It is not an official OLX API; it reads the same public search results you see on the OLX websites, and it never collects phone numbers or other seller contact data.

### What do you want to do?

| Goal | Preset | What you get | Estimated cost |
|---|---|---|---|
| Check what something sells for (narrow keyword: model + storage) | `price_research` | All listings, EUR prices, price summary | $1 per 1,000 listings |
| Get alerts for new listings and price drops | `deal_hunting` | Only new listings and price changes on each scheduled run | $1 per 1,000 new/changed listings; unchanged ones are free |
| Find business sellers | `business_leads` | Business sellers only, with company name (where OLX shows it) and category; no phone numbers | $1 per 1,000 listings |
| Compare markets / write a report | `market_report` | 500 listings per search, price summary per country, cheapest market | $1 per 1,000 listings |

Pick a preset in the `preset` field. A preset other than `custom` always sets `sort`, `sellerType`, `monitorMode`, `requireAllWords` and `emitDelisted` (what you entered there is ignored; choose `custom` to set them yourself). `maxItemsPerSearch` always uses your own value; the preset only fills it when it is empty.

### Quick start

1. Open the Actor in Apify Console and click **Try for free**.
2. Keep the prefilled keyword `iphone 13 128gb` and country Portugal, or type your own keywords in `searchQueries` (the local language finds more: `rower` on olx.pl, `bicicleta` on olx.com.br). You can also paste OLX search pages into `startUrls`.
3. Choose a `preset` (or leave `custom`) and click **Start**. Without changes you get up to 100 listings.
4. Download the results as JSON, CSV or Excel from the **Output** tab, or read the `SUMMARY` record in the key-value store for the price overview.

### Recipes

Copy-paste inputs for each preset. Costs assume $1 per 1,000 `listing` events.

#### Price research

```json
{
  "preset": "price_research",
  "searchQueries": ["iphone 13 128gb"],
  "requireAllWords": true,
  "countries": ["pl"],
  "maxItemsPerSearch": 100
}
```

Expected output: up to 100 listings, each with `priceEur`, plus a `SUMMARY` record (min/p25/median/p75/max). Cost: up to 100 events ($0.10).

#### Deal hunting

```json
{
  "preset": "deal_hunting",
  "searchQueries": ["iphone 13 128gb"],
  "countries": ["pt"],
  "monitorName": "iphone13-pt",
  "maxItemsPerSearch": 200
}
```

Schedule it (for example daily). The preset turns on `monitorMode` and `requireAllWords` and sorts by `newest`. Expected output: the first run returns every listing as `new`; later runs return only `new` and `price_changed` listings. Price drops are real seller actions: the seller lowered the price of a listing you already saw (`previousPrice` shows the old price); the Actor does not guess whether a price is a bargain. Cost: first run up to 200 events, later runs only the changes.

#### Business leads

```json
{
  "preset": "business_leads",
  "searchQueries": ["iphone"],
  "countries": ["pl", "ro"],
  "maxItemsPerSearch": 100
}
```

Expected output: listings from business sellers only (`sellerType: "business"`), with `companyName` where the seller shows one on OLX and `categoryName`. No phone numbers or other contact data (see [Seller contact data](#seller-contact-data)). Use the **Business leads** dataset view. Cost: up to 200 events.

#### Market report

```json
{
  "preset": "market_report",
  "searchQueries": ["iphone 13 128gb"],
  "requireAllWords": true,
  "countries": ["pl", "pt", "ro"]
}
```

Expected output: up to 500 listings per country and a `SUMMARY` record with min/p25/median/p75/max per country, the same in EUR, and the cheapest market (`byQuery.cheapestMarket`) for each keyword. Cost: up to 1,500 events.

#### Paste OLX search URLs

Open a search on any OLX site, set the category, location and filters there, and paste the address. The URL's own filters are used:

```json
{
  "startUrls": [
    { "url": "https://www.olx.pl/elektronika/telefony/warszawa/q-iphone/?search%5Bfilter_float_price:from%5D=500" },
    { "url": "https://www.olx.com.br/celulares/estado-sp?q=iphone" }
  ],
  "searchQueries": [],
  "maxItemsPerSearch": 200
}
```

#### More input examples

**Europe** (olx.pl scraper example): 2,500 bicycles in Poland, lowest price first. Above about 1,000 results the search is split by price automatically.

```json
{
  "searchQueries": ["rower"],
  "countries": ["pl"],
  "maxItemsPerSearch": 2500,
  "sort": "price_asc"
}
```

**Brazil** (OLX Brasil scraper example): business sellers only, between R$ 1,000 and R$ 5,000, without accessories.

```json
{
  "searchQueries": ["bicicleta"],
  "countries": ["br"],
  "maxItemsPerSearch": 500,
  "minPrice": 1000,
  "maxPrice": 5000,
  "sellerType": "business",
  "excludeKeywords": ["capacete", "pedal"]
}
```

**Central Asia:** Kazakhstan and Uzbekistan in one run (olx.uz prices come in two currencies, see the limitations).

```json
{
  "searchQueries": ["iphone"],
  "countries": ["kz", "uz"],
  "maxItemsPerSearch": 300
}
```

### Input reference

Fields marked "Ignored unless Preset is Custom" are set by every preset other than `custom` (to the preset's value, or to the default shown when that preset does not change it). `maxItemsPerSearch` has no form default on purpose: your own value is always used, and when it is empty a preset can fill it (otherwise 100).

#### Basic

| Field | Type | Default | Prefill | Description |
|---|---|---|---|---|
| `preset` | string | `"custom"` | `"custom"` | `price_research`, `deal_hunting`, `business_leads`, `market_report` or `custom` (no preset) |
| `searchQueries` | array | `null` | `["iphone 13 128gb"]` | Keywords, each searched in every selected country. Optional when you use `startUrls` |
| `startUrls` | array | `[]` | `null` | OLX search or category URLs from any of the 8 sites (up to 100). The URL's filters are used; `countries` is ignored for URLs; single-listing pages are rejected |
| `countries` | array | `["pl"]` | `["pt"]` | OLX sites for `searchQueries`: `pl`, `pt`, `ro`, `bg`, `ua`, `kz`, `uz`, `br` |
| `maxItemsPerSearch` | integer | `100` (code) | `null` | Listings checked per keyword × country or URL, 1-10,000. Your value always wins; when empty, preset `market_report` uses 500. Your main cost control |
| `sort` | string | `"relevance"` | `null` | Ignored unless Preset is Custom. `relevance`, `newest`, `price_asc` or `price_desc` (preset `deal_hunting`: `newest`) |

#### Filters

| Field | Type | Default | Prefill | Description |
|---|---|---|---|---|
| `minPrice` | number | `0` | `0` | Minimum price in the site's local currency; `0` = no minimum |
| `maxPrice` | number | `0` | `0` | Maximum price in the site's local currency; `0` = no maximum |
| `sellerType` | string | `"all"` | `null` | Ignored unless Preset is Custom. `all`, `private` or `business` (preset `business_leads`: `business`) |
| `excludeKeywords` | array | `[]` | `null` | Drop listings whose title contains any of these words (whole words, ignoring case and accents) |
| `requireAllWords` | boolean | `false` | `null` | Ignored unless Preset is Custom. Keep only titles containing every word of the search (preset `deal_hunting`: on) |

For `startUrls`, `minPrice`, `maxPrice`, `sellerType` and `sort` apply only when the URL does not set them itself.

#### Monitoring

| Field | Type | Default | Prefill | Description |
|---|---|---|---|---|
| `monitorMode` | boolean | `false` | `null` | Ignored unless Preset is Custom. Return only new listings and price changes (preset `deal_hunting`: on) |
| `monitorName` | string | `""` | `null` | Name of the watch (letters, digits, hyphens), required with `monitorMode` |
| `emitDelisted` | boolean | `false` | `null` | Ignored unless Preset is Custom. Also return listings that disappeared (free) |

#### Extra data

| Field | Type | Default | Prefill | Description |
|---|---|---|---|---|
| `includeCompanyName` | boolean | `true` | `null` | Add `companyName` for business sellers (never for private sellers) |
| `includeCategoryName` | boolean | `true` | `null` | Add `categoryName` next to the category ID (one extra page per EU site per run) |
| `proxyConfiguration` | object | `{"useApifyProxy": false}` | `{"useApifyProxy": false}` | Optional proxy for every request. Leave it off: the Actor handles proxies itself |

### Output fields

Each listing is one flat row in your dataset:

| Field | Type | Description | Example |
|---|---|---|---|
| `id` | string | OLX listing ID | `"1034567890"` |
| `url` | string | Listing URL on the country's OLX site | `"https://www.olx.pt/d/anuncio/…"` |
| `title` | string | Listing title | `"iPhone 13 128GB"` |
| `country` | string | OLX site code: `pl`, `pt`, `ro`, `bg`, `ua`, `kz`, `uz` or `br` | `"pt"` |
| `price` | number | Price in the listing's currency; `null` unless `priceType` is `fixed` | `350.0` |
| `currency` | string | Currency code as given by OLX; `null` unless `priceType` is `fixed` | `"EUR"` |
| `priceType` | string | `fixed` (a real price, including negotiable prices: OLX "arranged" with an amount, `priceNegotiable: true`), `free` (giveaway), `exchange` (swap only), `on_request` (no amount given, ask the seller) or `unknown` (no price shown) | `"fixed"` |
| `priceNegotiable` | boolean | Price marked as negotiable; `null` unless `priceType` is `fixed`, and always `null` on olx.com.br | `true` |
| `condition` | string | Condition as given by OLX (`used`, `new`, … on EU sites; Portuguese label on olx.com.br) | `"used"` |
| `city` | string | City of the listing | `"Lisboa"` |
| `region` | string | Region: district/voivodeship on EU sites, state code on olx.com.br | `"Lisboa"` |
| `category` | string | OLX category ID on EU sites, category name on olx.com.br | `"1411"` |
| `sellerType` | string | `private` or `business` | `"private"` |
| `isPromoted` | boolean | Paid/promoted listing | `false` |
| `photoUrl` | string | Main photo URL | `"https://ireland.apollo.olxcdn.com/…"` |
| `photoUrls` | array | All photo URLs | `["https://ireland.apollo.olxcdn.com/…"]` |
| `createdAt` | string | When the listing was created (ISO 8601, UTC) | `"2026-11-17T09:12:44+00:00"` |
| `refreshedAt` | string | Last refresh on EU sites (ISO 8601, UTC); `null` on olx.com.br | `"2026-11-18T07:03:10+00:00"` |
| `searchQuery` | string | Keyword that found the listing; the URL itself for `startUrls` | `"iphone"` |
| `scrapedAt` | string | Scrape time (ISO 8601, UTC) | `"2026-11-19T10:00:00+00:00"` |
| `categoryName` | string | null | Category name in the site's language (EU: looked up from the site's category list; Brazil: as OLX shows it) | `"Telefony komórkowe"` |
| `companyName` | string | null | Company name a **business** seller shows on OLX (EU sites; often empty). Always `null` for private sellers and on olx.com.br | `"Example Phone Shop"` |
| `priceEur` | number | null | `price` converted to EUR with the ECB reference rate of `fxDate`, 2 decimals. Null without a fixed price or for currencies the ECB does not publish (UAH, KZT, UZS) | `82.35` |
| `fxRate` | number | null | EUR per 1 unit of `currency` (`priceEur ≈ price × fxRate`); `1` for EUR | `0.23529412` |
| `fxDate` | string | null | Date of the ECB rates used (YYYY-MM-DD); `2026-01-01` for BGN | `"2026-11-18"` |
| `changeType` | string | null | Monitor mode only: `new`, `price_changed` or `delisted` | `"new"` |
| `previousPrice` | number | null | Monitor mode: earlier price for `price_changed`, last known price for `delisted` | `420` |
| `firstSeenAt` | string | null | Monitor mode: when this watch first saw the listing (ISO 8601, UTC) | `"2026-11-19T02:00:00+00:00"` |

**Prices in EUR.** Every listing has `priceEur`, converted with the European Central Bank's daily reference rates (`fxDate` tells you which day). Bulgarian lev (BGN) prices use the fixed euro conversion rate 1 EUR = 1.95583 BGN (`fxDate` 2026-01-01, the day Bulgaria joined the euro). olx.uz's UYE unit is pegged to the US dollar and converted as USD. Currencies the ECB does not publish, such as UAH, KZT and UZS, get `priceEur: null`.

**Price summary.** Each run saves a `SUMMARY` record in the run's key-value store: count, min, p25, median, p75 and max per search and currency, plus the same in EUR, and per keyword the country with the lowest and the highest EUR median (`cheapestMarket`, `mostExpensiveMarket`, `cheapestVsMostExpensivePct`; a country needs at least 10 priced listings). It is free.

**Filter out noise.** `excludeKeywords` drops listings whose title contains any of the words (e.g. `case`, `broken`); `requireAllWords` keeps only titles that contain every word of your search. Matching ignores case and accents and works on whole words. Dropped listings are not charged.

**Monitor mode (only new listings).** Turn on `monitorMode`, give the watch a `monitorName` and schedule the Actor. The first run returns every listing as `new` (and charges them). Later runs return only listings that are new or whose price changed, so you pay only for changes. With `emitDelisted`, listings that disappeared are returned as `delisted` (free) — but only when the run read the whole search; if `maxItemsPerSearch` stopped it early, nothing is marked delisted. Delisted rows carry only `id`, `country`, `searchQuery`, `scrapedAt` and the monitor fields; the other fields are `null`. `maxItemsPerSearch` counts every listing checked, including unchanged ones. The monitor remembers listings for 60 days (up to 30,000 per search) in a key-value store named `olx-scraper-monitor` in your account. Changing the search or its filters starts a fresh monitor. Don't run two runs with the same `monitorName` and search at the same time.

#### Output example

A real listing from the 1.2 test run with the prefilled input `iphone 13 128gb` in Portugal (photo list shortened):

```json
{
  "id": "674944841",
  "url": "https://www.olx.pt/d/anuncio/iphone-13-128-gb-preto-IDJFZZ7.html",
  "title": "iPhone 13 128 GB Preto",
  "country": "pt",
  "price": 175,
  "currency": "EUR",
  "priceType": "fixed",
  "priceNegotiable": false,
  "condition": "used",
  "city": "Benfica",
  "region": "Lisboa",
  "category": "5407",
  "sellerType": "private",
  "isPromoted": false,
  "photoUrl": "https://ireland.apollo.olxcdn.com:443/v1/files/ybj8c8m0gagk3-PT/image;s=3024x4032",
  "photoUrls": [
    "https://ireland.apollo.olxcdn.com:443/v1/files/ybj8c8m0gagk3-PT/image;s=3024x4032"
  ],
  "createdAt": "2026-10-30T17:04:20+00:00",
  "refreshedAt": "2026-10-30T17:08:20+00:00",
  "searchQuery": "iphone 13 128gb",
  "scrapedAt": "2026-11-19T13:21:28+00:00",
  "categoryName": "iPhone",
  "companyName": null,
  "priceEur": 175,
  "fxRate": 1,
  "fxDate": "2026-11-18",
  "changeType": null,
  "previousPrice": null,
  "firstSeenAt": null
}
```

### Dataset views

- **Overview**: photo, title, price, `priceEur`, condition, city, `categoryName`, seller type, country, URL.
- **Changes** (monitor mode): `changeType`, `previousPrice`, `firstSeenAt`.
- **Business leads**: `companyName`, title, `categoryName`, price, city, region, country, URL.

### Pricing

Pay per result: **$1 per 1,000 listings** (event `listing`), plus Apify's start event `apify-actor-start` ($0.00005 per run, one per GB of memory; at the default 256 MB that is $0.00005 per run). Listings dropped by filters, unchanged listings in monitor mode, delisted rows, duplicates, failed requests and the `SUMMARY` record are free. Set **Maximum cost per run** in the run options to cap your spending; the run stops cleanly at the limit. Example: 5 keywords × 2 countries × 100 listings = 1,000 listings = $1.

### Seller contact data

This Actor does not return seller contact data: no phone numbers, emails, seller names, profile links or user IDs, and it never requests them. We checked (November 2026): on the European OLX sites, OLX refuses to reveal even a business seller's phone number to a logged-out request, and on olx.com.br the number is not part of the public page data. Getting it would mean logging in or getting around OLX's protections, which this Actor does not do.

The only seller fields are `sellerType` (`private` or `business`, OLX's own flag) and, for **business sellers only**, `companyName`: the company name the business shows on its OLX profile (switch it off with `includeCompanyName`). It is always `null` for private sellers; an automated privacy check fails the run if that ever changes. A company name can still be personal data (for example a sole trader's name), so you are responsible for having a lawful basis under the GDPR or Brazil's LGPD for using it, and for honouring opt-outs. Do not use it for unsolicited bulk messages.

### Get notified

Use Apify integrations on the Actor or its schedule (Console → **Integrations**):

- **Email**: "Run succeeded" notification with a link to the dataset.
- **Slack**: post a message when a run finishes; in monitor mode each run's dataset holds only the changes.
- **Google Sheets**: append each run's dataset to a sheet.
- **[Webhooks](https://docs.apify.com/integrations/webhooks)**: call your own URL on `ACTOR.RUN.SUCCEEDED` and fetch the dataset items.
- **[Apify API](https://docs.apify.com/api/v2)**, [schedules](https://docs.apify.com/actors/running/schedules), Make, Zapier, n8n and the [Apify MCP server](https://docs.apify.com/mcp) for AI agents.

Combine `deal_hunting` with a daily schedule to get only new listings and price drops: an OLX price tracker without spreadsheets.

### Monitored daily by automated quality checks

A private canary runs this Actor every day at 02:00 UTC and checks the output shape, prices, currencies, URLs, dates, EUR conversion, monitor fields and privacy rules. If a check fails, it is fixed before you notice.

### FAQ

#### Is it legal to scrape OLX?

The OLX Scraper only collects publicly visible listing data, without logging in, and it does not collect seller contact details. You are responsible for using the data in line with OLX's terms, the GDPR (and Brazil's LGPD) and your local laws. If you are unsure, consult a lawyer.

#### Does OLX have an API?

As far as we know, OLX does not offer a public API for searching listings on these sites. This Actor is an unofficial **OLX API** alternative to scrape OLX: it returns public OLX listings as structured data that you can download or fetch through the [Apify API](https://docs.apify.com/api/v2). It is not an official OLX API.

#### Does it collect seller contact data?

No phone numbers, emails, seller names, profile links or user IDs: they are never requested or saved. For business sellers only, it adds the public `companyName` (switch off with `includeCompanyName`); for private sellers that field is always `null`. The seller type (`private` or `business`) comes from OLX's own flag. See [Seller contact data](#seller-contact-data).

#### How do I get more than 1,000 results?

Set `maxItemsPerSearch` above 1,000 (up to 10,000). On olx.pl, .pt, .ro, .bg, .ua, .kz and .uz a search returns at most about 1,000 listings, so the Actor splits the search into price ranges (each below the limit) and removes duplicates by listing ID. If more listings than the limit share exactly the same price, only part of them can be reached. On olx.com.br the Actor reads up to 100 pages (5,000 listings) per price range and splits by price above that.

#### Why is `priceEur` null for some listings?

The listing has no fixed price, or the ECB does not publish its currency (UAH, KZT, UZS).

#### How do I reset a monitor?

Use a new `monitorName`, or delete the record `<monitorName>--<hash>` in the `olx-scraper-monitor` key-value store of your account.

#### Why do some listings have no price?

OLX lets sellers list items for free, for exchange only, or without an amount (price on request). These have `priceType` `free`, `exchange` or `on_request`, and `price` and `currency` are `null`. Negotiable prices (OLX "arranged" with an amount) are `fixed` with `priceNegotiable: true`. On olx.com.br the type is not shown, so listings without a price get `unknown`.

#### I need help or found a bug

Open an issue on the **Issues** tab with your run ID and input (without personal data).

### Limitations

- Ad detail pages are not opened, so fields that only appear there (full description, all parameters) are not included.
- `category` is a numeric ID on EU sites and a name on olx.com.br; use `categoryName` for a name everywhere.
- `companyName` is often empty because many businesses don't fill it in on OLX; olx.com.br does not show it in search results.
- Listings without a fixed price have `price`, `currency` and `priceEur` set to `null`; check `priceType`.
- `newest` follows OLX's own "newest" order, which on EU sites is based on when a listing was last refreshed, so `createdAt` is not strictly in order. When a search is split into price ranges, the overall order is not strict.
- olx.uz shows prices in two currencies (UZS and UYE) on the same page; `minPrice` and `maxPrice` are applied by OLX itself.
- olx.com.br does not show a negotiable flag or a refresh date in search results, so `priceNegotiable` and `refreshedAt` are `null` there. Brazilian searches use Brazilian residential IPs and are slower.
- In the Console form, `searchQueries` is prefilled with `iphone 13 128gb`; clear it when you only want your `startUrls`.

### Changelog

- **1.2, update of 2026-11-22** — olx.pt, olx.ro and olx.bg: searches now read the public search result pages that these sites' robots.txt allows, instead of the `/api/` path that it disallows. Keyword searches, search URLs (`startUrls`), filters, sorting, price splitting and all output fields work as before, with the same meaning; the charge event is still `listing`. olx.pl, olx.ua, olx.kz, olx.uz and olx.com.br are unchanged.
- **1.2** (2026-11-19) — New, all additive: `startUrls` (paste OLX search/category URLs from all 8 sites; their filters are used), presets (`preset`), title filters (`excludeKeywords`, `requireAllWords`), monitor mode (`monitorMode`, `monitorName`, `emitDelisted`), and the output fields `categoryName`, `companyName` (business sellers only, `includeCompanyName`), `priceEur`, `fxRate`, `fxDate`, `changeType`, `previousPrice`, `firstSeenAt`, plus the `SUMMARY` record and the Changes and Business leads views. No field was renamed or removed, and existing fields keep their meaning; in monitor mode with `emitDelisted`, delisted rows have `null` in the listing fields. `searchQueries` is no longer required (use it or `startUrls`). A preset other than `custom` always sets `sort`, `sellerType`, `monitorMode`, `requireAllWords` and `emitDelisted`; with `custom` (the default) every field works as before. `maxItemsPerSearch` has no form default any more (your value always wins; empty = 100, or the preset's value); the Console form therefore starts at 100 listings instead of a prefilled 20, and the prefilled keyword is now `iphone 13 128gb`. There is no deal score: a test version compared prices with the search median, and an audit found that the listings it marked as cheap were other models, parts or suspicious prices, so it was removed before release. No phone numbers or contact data are collected.
- **1.1** — New field `priceType` (`fixed`, `free`, `exchange`, `on_request`, `unknown`). **Changed meaning of `price`, `currency` and `priceNegotiable`:** they are now `null` unless `priceType` is `fixed`. In 1.0, free and exchange ads came out as `price: 0` with a currency; check `priceType` instead. No field was renamed or removed.
- **1.0** — First version: 8 countries, price and seller-type filters, sorting, more than 1,000 results via price splitting, no seller data.

### More scrapers from this developer

- [Vinted Scraper](https://apify.com/difioprdy/vinted-scraper): Vinted listings from 26 countries.
- [Otomoto Scraper](https://apify.com/difioprdy/otomoto-scraper): used-car listings and prices from otomoto.pl, autovit.ro and standvirtual.com.
- [Otodom Scraper](https://apify.com/difioprdy/otodom-scraper): real estate listings and prices from otodom.pl, imovirtual.com and storia.ro.

# Actor input Schema

## `preset` (type: `string`):

Fills the settings for a goal. price_research: all listings with EUR prices and a price summary. deal_hunting: scheduled watch that returns only new listings and price changes (needs monitorName; monitor mode on, newest first, titles must contain every search word). business_leads: business sellers only, with company name and category. market_report: 500 listings per search for a market overview with the cheapest market. Any preset other than Custom always sets Sort by, Seller type, Monitor mode, Title must contain every search word and Also return delisted listings, ignoring what you entered there; choose Custom to set them yourself. Max listings per search always uses your own value when you fill it in.

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

Keywords to search on OLX, one per line, e.g. "iphone 13 128gb" or "rower". Narrow keywords (model + storage) give the most useful price summaries. Each keyword is searched in every selected country, so use the local language for best coverage. Optional when you use startUrls (clear the example keyword if you only want your URLs).

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

Paste OLX search or category pages from any of the 8 sites (e.g. https://www.olx.pl/elektronika/telefony/warszawa/q-iphone/?search\[filter_float_price:from]=500 or https://www.olx.com.br/celulares/estado-sp?q=iphone). The URL's own filters (category, location, price, sort, seller type, other filters) are used; the price, seller type and sort fields below apply only when the URL does not set them. Countries are ignored for URLs. Single-listing pages are rejected. Up to 100 URLs.

## `countries` (type: `array`):

OLX sites to search for each keyword. Prices are in the local currency of each site (PLN, EUR, RON, UAH, KZT, UZS/UYE, BRL).

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

Maximum listings checked for each keyword × country (or URL). This is your main cost control: 1,000 listings cost $1. Your value is always used, also with a preset; when empty, the default is 100 (preset market_report: 500). In monitor mode it counts every listing checked, including unchanged ones. OLX shows at most about 1,000 results per search (Brazil: 100 pages); above that the search is split into price ranges automatically.

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

Ignored unless Preset is Custom: any other preset sets this field. Order of results, as on OLX. Default relevance (preset deal_hunting: newest). Newest follows OLX's own order (on EU sites: by last refresh). When a search is split into price ranges, the first page(s) follow this order and the rest come from price ranges.

## `minPrice` (type: `number`):

Only listings priced at or above this amount, in the site's local currency (e.g. 500 = 500 zł on olx.pl, R$ 500 on olx.com.br). 0 = no minimum. Note: olx.uz shows prices in two currencies (UYE and UZS); the filter is applied by OLX itself.

## `maxPrice` (type: `number`):

Only listings priced at or below this amount, in the site's local currency. 0 = no maximum. Note: olx.uz shows prices in two currencies (UYE and UZS); the filter is applied by OLX itself.

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

Ignored unless Preset is Custom: any other preset sets this field. Only listings from private sellers or only from businesses. Default all (preset business_leads: business).

## `excludeKeywords` (type: `array`):

Drop listings whose title contains any of these words or phrases, e.g. "case", "broken", "for parts". Matching ignores case and accents and works on whole words ("case" does not drop "suitcase"). Dropped listings are not charged.

## `requireAllWords` (type: `boolean`):

Ignored unless Preset is Custom: any other preset sets this field. Keep only listings whose title contains every word of the keyword (or of the URL's search text). Default off (preset deal_hunting: on). Dropped listings are not charged.

## `monitorMode` (type: `boolean`):

Ignored unless Preset is Custom: any other preset sets this field. Return only listings that are new or whose price changed since the previous run with the same monitorName and search; unchanged listings are skipped and not charged. The first run returns everything as new. Default off (preset deal_hunting: on).

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

Name of this watch, required with monitor mode: 1-63 letters, digits or hyphens, e.g. "iphone-lisbon". The monitor remembers listings for 60 days in the key-value store olx-scraper-monitor in your account. A new name starts a fresh monitor.

## `emitDelisted` (type: `boolean`):

Ignored unless Preset is Custom: any other preset sets this field. In monitor mode, also return listings that disappeared since the previous run as changeType delisted (free). Only when the run read the whole search. Default off.

## `includeCompanyName` (type: `boolean`):

Add companyName: the company name a BUSINESS seller shows on OLX (EU sites; often empty, and not shown on olx.com.br). Always null for private sellers. No phone numbers or other contact data are collected.

## `includeCategoryName` (type: `boolean`):

Add categoryName next to the category id, in the site's language (e.g. "Telefony komórkowe"). Costs one extra page load per EU site per run, not per listing.

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

Optional. Leave it off: the Actor connects directly and switches to Apify residential proxy in the site's country only when OLX blocks a request (Brazil always uses a Brazilian residential IP). Set a proxy here only if you want every request to go through it.

## Actor input object example

```json
{
  "preset": "custom",
  "searchQueries": [
    "iphone 13 128gb"
  ],
  "startUrls": [],
  "countries": [
    "pt"
  ],
  "sort": "relevance",
  "minPrice": 0,
  "maxPrice": 0,
  "sellerType": "all",
  "excludeKeywords": [],
  "requireAllWords": false,
  "monitorMode": false,
  "monitorName": "",
  "emitDelisted": false,
  "includeCompanyName": true,
  "includeCategoryName": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Scraped OLX listings: title, price, EUR price, currency, condition, city, region, category and category name, seller type, company name (business sellers), photos, dates, URL, country and monitor fields. Opens in the Overview view.

## `runStats` (type: `string`):

RUN_STATS record: listings saved per search, duplicates removed, pages, price splits, totals reported by OLX, currencies, retries, residential fallback and notes such as 'No listings found'.

## `summary` (type: `string`):

SUMMARY record: price statistics per search and currency, the same in EUR, and the cheapest market per keyword.

# 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 = {
    "preset": "custom",
    "searchQueries": [
        "iphone 13 128gb"
    ],
    "countries": [
        "pt"
    ],
    "minPrice": 0,
    "maxPrice": 0,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("difioprdy/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 = {
    "preset": "custom",
    "searchQueries": ["iphone 13 128gb"],
    "countries": ["pt"],
    "minPrice": 0,
    "maxPrice": 0,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("difioprdy/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 '{
  "preset": "custom",
  "searchQueries": [
    "iphone 13 128gb"
  ],
  "countries": [
    "pt"
  ],
  "minPrice": 0,
  "maxPrice": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call difioprdy/olx-scraper --silent --output-dataset

```

## MCP server setup

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