# OLX Scraper - Listings, Prices & Sellers in 8 Countries (`topapi/olx-scraper`) Actor

Scrape OLX Poland, Portugal, Romania, Bulgaria, Ukraine, Kazakhstan, Uzbekistan and India: title, price, price drops, description, every attribute, photos, GPS, seller and dates. Search, links, sellers, past the 1,000 limit, monitor mode. $0.90 per 1,000 listings.

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

## Pricing

$0.90 / 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

## OLX Scraper - Listings, Prices & Sellers in 8 Countries

Scrape **OLX Poland (olx.pl), Portugal (olx.pt), Romania (olx.ro), Bulgaria (olx.bg), Ukraine (olx.ua), Kazakhstan (olx.kz), Uzbekistan (olx.uz) and India (olx.in)** in one actor. Search by keyword, category, location, price, condition and seller type, paste any OLX search or listing link, or read every listing of a seller. Each row is the full listing: title, price and price drop, description, every OLX attribute (car make / model / year / mileage, rooms and area, salary...), photos, location with GPS, seller and dates.

- **The full listing in every row** - description, attributes, photos and seller come with the search results; there is no extra "details" charge.
- **Past OLX's 1,000-result limit** - OLX shows at most 1,000 listings per search; a larger search is split into price slices and read to its end.
- **Monitor mode** - schedule it and get only new listings, plus listings whose price changed.
- **Paste links** - set your filters on OLX, copy the link, and every filter in it is applied.

### What does a row contain?

One row per OLX listing. Rows from every country share one shape.

| Field | What it is |
|---|---|
| `id`, `url`, `country`, `site` | OLX listing id, link, country (pl, pt, ro, bg, ua, kz, uz, in) and host |
| `title`, `description` | Title and full description (plain text, or HTML with `descriptionFormat: html`) |
| `price`, `currency`, `priceLabel`, `priceType`, `negotiable` | Price as a number, currency, as OLX prints it, type (price / arranged / free / exchange / budget), negotiable flag |
| `previousPrice`, `priceDropPct` | The price before the seller lowered it, and the drop in % |
| `convertedPrice`, `convertedCurrency` | Price in a second currency when OLX converts it (e.g. USD listings on olx.ua) |
| `salaryFrom`, `salaryTo`, `salaryCurrency`, `salaryPeriod`, `salaryType`, `salaryLabel` | Jobs: salary range, currency, period, gross / net |
| `condition` | New / used, as OLX labels it |
| `categoryId`, `categoryName`, `categoryPath`, `categoryType` | Category id, name, full path ("Elektronika > Telefony > ... > iPhone") and type |
| `params`, `attributes`, `keyParams` | Every attribute of the listing: `params` as `{key, name, type, value, valueKey}`, `attributes` as `{key: value}` |
| `city`, `district`, `region` (+ ids), `location`, `latitude`, `longitude`, `locationRadiusKm`, `locationExact` | Location and map pin |
| `createdAt`, `refreshedAt`, `pushedUpAt`, `validTo`, `status` | Dates and status |
| `isBusiness`, `isPromoted`, `isHighlighted`, `isUrgent`, `promotionOptions` | Seller kind and promotion flags |
| `sellerId`, `sellerUuid`, `sellerName`, `sellerType`, `sellerCompany`, `sellerAbout`, `sellerLogo`, `sellerJoinedAt`, `sellerIsOnline`, `sellerLastSeenAt`, `sellerOtherAdsEnabled`, `sellerShopUrl`, `sellerBusinessPage` | Seller |
| `sellerKycVerified`, `sellerEliteBadge`, `favoritesCount`, `certifiedCar`, `firstPostedAt` | OLX India extras |
| `hasPhone`, `hasChat`, `negotiationEnabled`, `courierAvailable`, `olxDelivery`, `deliveryMode`, `protectPhone`, `externalUrl`, `partnerCode` | Contact and delivery options |
| `photos`, `photoCount`, `mainPhoto` | Photo links (size set by `photoSize`) |
| `searchQuery`, `searchUrl`, `sourceUrl`, `position`, `totalInSearch` | Which search found it, its position and the search's total |
| `changeType`, `firstSeenAt`, `previousSeenPrice` | Monitor mode |
| `scrapedAt` | When the run read it |

Phone numbers are not included: OLX shows them only to signed-in users. `hasPhone` tells you the seller gave one.

#### Measured fill (real runs, 2026-11-13)

2,300 OLX Europe rows (olx.pl "iphone" 2,000; olx.ua + olx.ro 300) and 1,200 OLX India rows ("car"):

| Field | OLX Europe | OLX India |
|---|---|---|
| title, description, categoryName, categoryPath, city, region, latitude/longitude, createdAt, sellerId, sellerName, sellerJoinedAt | 100% | 100% |
| price | 99.5% | 93.2% |
| condition | 98.7% | - |
| params / attributes | 99.5% | 91.1% |
| photos | 99.0% | 100% |
| district | 40.9% | 97.8% |
| sellerCompany (business sellers) | 15.2% | - |
| previousPrice (a price drop) | 5.0% | - |
| favoritesCount, sellerKycVerified | - | 100% |

A real row (olx.pl, shortened):

```json
{
  "id": "1111851592", "country": "pl", "url": "https://www.olx.pl/d/oferta/telefon-iphone-13-mini-CID99-ID1dfdoc.html",
  "title": "Telefon Iphone 13 mini", "price": 450, "currency": "PLN", "priceLabel": "450 zł", "priceType": "price", "negotiable": false,
  "condition": "Używane", "categoryName": "iPhone", "categoryPath": "Elektronika > Telefony > Smartfony i telefony komórkowe > iPhone",
  "city": "Ossów", "region": "Mazowieckie", "latitude": 52.30854, "longitude": 21.2227,
  "createdAt": "2026-11-13T10:41:09+01:00", "refreshedAt": "2026-11-13T10:45:04+01:00",
  "sellerId": "2543010590", "sellerName": "Julia Gers", "sellerType": "private", "sellerJoinedAt": "2025-02-12T22:21:49+01:00",
  "hasPhone": false, "olxDelivery": false, "photoCount": 5,
  "attributes": { "price": "450 zł", "state": "Używane", "phonemodel": "iPhone 13 mini", "builtinmemory_phones": "128GB", "coloriphone": "Różowy", "phonecharger": "Nie" }
}
```

Speed on the platform (256 MB): 150 listings in 3-4 s, 2,000 in 34-49 s, 3,000 in 120 s; OLX India 1,200 in 8 s.

### How to use it

**Keyword search in one or more countries**

```json
{ "searchQueries": ["iphone 15", "macbook"], "countries": ["pl", "ro"], "maxItems": 500 }
```

**Category + location + price, newest first**

```json
{ "countries": ["pt"], "categoryId": "16", "location": "Lisboa", "priceMax": 900, "sortBy": "newest", "maxItems": 200 }
```

`categoryId` takes the OLX category id, its path as in OLX links (`elektronika/telefony`) or its name. `location` takes a city or region name; `radiusKm` widens a city search.

**Paste OLX links** (search pages with your filters, or single listings)

```json
{ "startUrls": [
  { "url": "https://www.olx.pl/motoryzacja/samochody/bmw/warszawa/?search[filter_float_year:from]=2015&search[order]=created_at:desc" },
  { "url": "https://www.olx.in/item/mobile-phones-c1453-used-iphone-in-shivaji-circle-bengaluru-iid-1861582746" }
] }
```

**Every listing of a seller** - `sellerIds` takes the `sellerId` of any row: `{ "countries": ["ua"], "sellerIds": ["123456789"] }`

**Category filters** (cars, real estate, jobs): `extraFilters` takes OLX's own filter names, e.g. `{"filter_float_year:from": "2015", "filter_enum_fuel_type": ["diesel"]}`. Easiest: set them on OLX and paste the link.

**Monitor new listings**: set `monitorMode: true` and schedule the run (e.g. every hour). Each run delivers only listings it has not delivered before, plus listings whose price changed (`changeType: price-changed`, with `previousSeenPrice`). `emitExpired` adds a free row for each listing that disappeared. An empty poll is not charged.

#### Input reference

| Input | What it does |
|---|---|
| `searchQueries` | Keywords, each searched in every chosen country |
| `countries` | pl, pt, ro, bg, ua, kz, uz, in |
| `startUrls` | OLX search pages or listing pages |
| `listingIds`, `sellerIds` | Numeric listing ids; numeric seller ids (OLX Europe) |
| `categoryId`, `location`, `radiusKm` | Category, city / region, radius (applied by OLX) |
| `priceMin`, `priceMax`, `condition`, `sellerType`, `sortBy` | Applied by OLX (condition and seller type: OLX Europe) |
| `extraFilters` | Any OLX `filter_*` parameter of a category |
| `maxItems`, `maxItemsPerSearch`, `maxPages` | Caps (default 100 listings in total) |
| `splitLargeSearches` | Read past OLX's 1,000-listing window (default on) |
| `postedWithinDays`, `postedAfter` | Only recent listings |
| `includeKeywords`, `excludeKeywords`, `strictMatch` | Text filters on title and description |
| `withPhotosOnly`, `withPriceOnly`, `priceDropOnly`, `deliveryOnly` | Row filters |
| `monitorMode`, `emitPriceChanges`, `emitUnchanged`, `emitExpired`, `monitorKey`, `resetMonitor` | Monitor |
| `webhookUrl`, `telegramBotToken`, `telegramChatId` | Notifications (Slack and Discord webhooks get their own format) |
| `includeDescription`, `descriptionMaxLength`, `descriptionFormat`, `photoSize`, `compact`, `deduplicate` | Output |
| `maxConcurrency`, `proxyConfiguration` | Advanced: no proxy is needed |

Every filter is applied before anything is charged: listings a filter removes are never billed.

### Pricing

**$0.90 per 1,000 listings** ($0.0009 per listing), pay per event. No start fee, no charge for runs that find nothing, filtered listings, duplicates, or listings a monitor already delivered unchanged. Set a maximum charge on the run and it stops cleanly at that amount.

### Data limits

- OLX Europe shows at most 1,000 listings per search; with `splitLargeSearches` on, larger searches are read in price slices (listings with no number price, e.g. "free" or "exchange", are only reached in the first 1,000).
- OLX Brazil (olx.com.br) is a separate company's site and refuses every plain request with a Cloudflare block, so it is not covered.
- Phone numbers are shown by OLX only to signed-in users and are not included.
- Some fields exist on one platform only (e.g. `previousPrice`, `sellerIsOnline` on OLX Europe; `favoritesCount`, `sellerKycVerified` on OLX India) and are `null` on the other.

# Actor input Schema

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

What to search on OLX, one keyword per line (e.g. "iphone 15", "bmw x5", "mieszkanie"). Each keyword runs in every country chosen below. Leave empty to read a category or a location without a keyword.

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

OLX sites to search with the keywords: pl = olx.pl, pt = olx.pt, ro = olx.ro, bg = olx.bg, ua = olx.ua, kz = olx.kz, uz = olx.uz, in = olx.in. Links below carry their own country.

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

Paste OLX search pages with your filters set on the site (e.g. https://www.olx.pl/elektronika/telefony/warszawa/q-iphone/?search\[order]=created_at:desc) or listing pages (https://www.olx.pt/d/anuncio/...-IDJI0bP.html, https://www.olx.in/item/...-iid-1861582746). Category, location, keyword, price and every search\[filter\_...] in the link are applied.

## `listingIds` (type: `array`):

Numeric OLX listing ids (read on the first country chosen above).

## `sellerIds` (type: `array`):

Numeric OLX user ids (the sellerId field of a row) - every active listing of that seller on the first country chosen above. OLX Poland, Portugal, Romania, Bulgaria, Ukraine, Kazakhstan and Uzbekistan.

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

OLX category id (e.g. 1838 = Telefony on olx.pl, 1453 = Mobile Phones on olx.in), its path as in the site's links (elektronika/telefony) or its name. Applied by OLX.

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

City or region name (e.g. "Warszawa", "Lisboa", "Mumbai"). Resolved with OLX's own location search and applied by OLX.

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

Also listings up to this many km from the city (OLX Europe sites; OLX offers 2, 5, 10, 15, 30, 50, 75, 100).

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

In the site's currency. Applied by OLX.

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

In the site's currency. Applied by OLX.

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

New or used items (OLX Europe sites, categories that have a condition). Applied by OLX.

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

Private sellers or businesses only (OLX Europe sites). Applied by OLX.

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

Order OLX returns the listings in.

## `extraFilters` (type: `object`):

Any filter the OLX site offers in a category, by its OLX parameter name, e.g. {"filter_float_year:from": "2015", "filter_enum_fuel_type": \["diesel"], "filter_float_m:from": "40"} (cars, real estate, jobs...). The easiest way is to set the filters on olx and paste the link above.

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

Stops after this many listings in total. 0 = no limit.

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

Cap for each keyword x country / link. Empty = only the total cap.

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

Pages of 50 listings (OLX Europe) or 40 (OLX India) per search. Empty = as many as the caps want.

## `splitLargeSearches` (type: `boolean`):

OLX Europe shows at most 1,000 listings per search. On: a larger search is split into price slices, each read to its end, so a 15,000-listing search can be read whole (listings without a number price are only in the first 1,000).

## `postedWithinDays` (type: `integer`):

Only listings created in the last N days (combine with Sort = Newest first to stop reading at the first older one).

## `postedAfter` (type: `string`):

Only listings created on or after this date (YYYY-MM-DD).

## `includeKeywords` (type: `array`):

Keep a listing only if its title or description contains one of these words.

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

Drop a listing whose title or description contains one of these words (e.g. "etui", "case", "uszkodzony").

## `strictMatch` (type: `boolean`):

Keep only listings whose title or description contains every word of the search keyword (OLX also returns looser matches).

## `withPhotosOnly` (type: `boolean`):

Drop listings without photos.

## `withPriceOnly` (type: `boolean`):

Drop listings priced "to agree", free or for exchange.

## `priceDropOnly` (type: `boolean`):

Only listings OLX shows with a lowered price (previousPrice above price).

## `deliveryOnly` (type: `boolean`):

Only listings with OLX delivery or courier shipping (OLX Europe).

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

Remember what earlier runs delivered for the same input and deliver only new listings (and listings whose price changed, see below). Schedule the run to get new OLX listings as they appear. An empty poll costs almost nothing and is not charged.

## `emitPriceChanges` (type: `boolean`):

Deliver a listing again (changeType price-changed, with previousSeenPrice) when its price differs from the price an earlier run delivered.

## `emitUnchanged` (type: `boolean`):

Deliver every listing found again, marked changeType unchanged (charged).

## `emitExpired` (type: `boolean`):

After a search read to its end, add one free row (changeType expired) for each listing an earlier run delivered that OLX no longer shows.

## `monitorKey` (type: `string`):

Keeps separate memories for monitors with the same input. Letters, numbers and dashes.

## `resetMonitor` (type: `boolean`):

Forget what earlier runs delivered: this run delivers everything it finds and starts a new memory.

## `webhookUrl` (type: `string`):

POSTs a summary with the first listings when a run delivers rows. Slack and Discord webhook links get a message in their format; any other URL gets JSON.

## `telegramBotToken` (type: `string`):

With a chat id: a Telegram message when a run delivers rows.

## `telegramChatId` (type: `string`):

The chat (or channel) id the bot sends to.

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

Off: rows carry no description (smaller rows).

## `descriptionMaxLength` (type: `integer`):

0 = full text.

## `descriptionFormat` (type: `string`):

Plain text (default) or the HTML OLX stores.

## `photoSize` (type: `string`):

Width x height of the photo links (OLX Europe), e.g. 1000x1000 or 400x300.

## `compact` (type: `boolean`):

Only the main fields (id, url, title, price, condition, category, city, date, seller, photo, attributes), empty fields dropped.

## `deduplicate` (type: `boolean`):

A listing found by several keywords or links is delivered once.

## `maxConcurrency` (type: `integer`):

OLX requests in flight at once.

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

Not needed: the run starts on its own connection and moves to Apify datacenter, then Apify residential in the site's country, only when OLX refuses it.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone"
  ],
  "countries": [
    "pl"
  ],
  "condition": "any",
  "sellerType": "any",
  "sortBy": "relevance",
  "maxItems": 20,
  "splitLargeSearches": true,
  "strictMatch": false,
  "withPhotosOnly": false,
  "withPriceOnly": false,
  "priceDropOnly": false,
  "deliveryOnly": false,
  "monitorMode": false,
  "emitPriceChanges": true,
  "emitUnchanged": false,
  "emitExpired": false,
  "resetMonitor": false,
  "includeDescription": true,
  "descriptionMaxLength": 0,
  "descriptionFormat": "text",
  "photoSize": "1000x1000",
  "compact": false,
  "deduplicate": true,
  "maxConcurrency": 6
}
```

# Actor output Schema

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

One item per OLX listing.

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

Per-search counts (total on OLX, read, delivered, price slices), filters and egress statistics (written for Console runs, large runs and runs with a problem).

# 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"
    ],
    "countries": [
        "pl"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("topapi/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"],
    "countries": ["pl"],
    "maxItems": 20,
}

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

```

## MCP server setup

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