# OLX Scraper — Listings, Prices & Seller Leads (3 Countries) (`logiover/olx-scraper`) Actor

Scrape OLX Ukraine classifieds: title, price, condition, category, city and region, seller name, business-seller flag, shop URL, phone availability and photos. Keyless, no login, thousands of rows. JSON, CSV or Excel.

- **URL**: https://apify.com/logiover/olx-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## OLX Scraper — Listings, Prices & Seller Leads (3 Countries)

Export OLX classifieds — price, condition, location, seller and phone availability — to JSON, CSV or Excel. Keyless, no login.

### What does this Actor do?

OLX is the largest classifieds marketplace in Ukraine, the selected country and Portugal. This Actor reads its public offers API directly — the same endpoint the website itself calls — so there is no API key, no account and no cookie to supply.

Each request returns a page of live offers with the **seller attached**: display name, whether the account is a registered business, when it was created, whether a shop page exists and whether a phone number is published. That seller layer is what separates a lead list from a plain price list.

A single query stops at 1 000 offers. When you ask for more, the Actor pulls OLX's top-level category tree and paginates each category separately, de-duplicating on offer ID — which is how one run reaches tens of thousands of unique rows.

### Who is it for?

- **Marketplace and pricing analysts** tracking real asking prices across the selected country.
- **B2B sales teams** prospecting the business sellers and shops that trade on OLX.
- **Resellers and arbitrage buyers** hunting underpriced stock by category and city.
- **Automotive and property portals** benchmarking a competing inventory.
- **Market researchers** measuring supply, condition mix and regional spread.

### Use cases

- Pull every business-seller listing in a category and build a supplier call list.
- Track weekly asking-price movement for a model or product line.
- Find listings in one region priced below the national median.
- Monitor how many new offers a competitor shop publishes per week.
- Export a category snapshot with photos and coordinates for a mapping dashboard.

### Why use this Actor?

- **Keyless** — no account, no token, no login.
- **41 structured fields**, including a full seller block and geo coordinates.
- **Business-seller filter** — isolate the accounts worth contacting.
- **Phone-available filter** — keep only listings with a published number.
- **Passes the 1000-offer ceiling** by slicing on category automatically.
- **One Actor, three countries** — pick Ukraine, Bulgaria or Portugal from a dropdown.
- **Residential in-country proxy by default**, which is what OLX expects.

### What data can you extract?

| Field | Type | Description |
|---|---|---|
| `offerId` | string | Unique offer ID |
| `title` | string | Listing title |
| `description` | string | Listing body text |
| `url` | string | Public offer URL |
| `priceAmount` | number | Numeric price |
| `priceLabel` | string | Price as displayed |
| `currency` | string | Currency of the selected country |
| `negotiable` | boolean | Price negotiable flag |
| `condition` | string | New / used, where stated |
| `categoryId` | string | Category ID |
| `categoryType` | string | Category type |
| `city` / `district` / `region` | string | Location breakdown |
| `cityId` / `regionId` | string | Location IDs for re-querying |
| `latitude` / `longitude` | number | Approximate coordinates |
| `sellerId` | string | Seller account ID |
| `sellerName` | string | Seller display name |
| `sellerIsBusiness` | boolean | Registered business seller |
| `sellerRegisteredAt` | string | Account creation date |
| `sellerOtherAdsEnabled` | boolean | Seller has other listings |
| `sellerCompanyName` | string | Company name, when published |
| `sellerAbout` | string | Seller description |
| `sellerBannerUrl` | string | Shop banner image |
| `shopUrl` | string | Seller shop page |
| `phoneAvailable` | boolean | Phone published on the listing |
| `chatAvailable` | boolean | In-app chat enabled |
| `courierAvailable` / `deliveryAvailable` | boolean | Shipping options |
| `promoted` | boolean | Paid promotion active |
| `photoCount` | number | Number of photos |
| `photoUrls` | string | Up to 10 full-size image URLs |
| `createdTime` | string | First posted |
| `lastRefreshTime` | string | Last bumped |
| `validToTime` | string | Listing expiry |
| `country` | string | Country name |
| `countryCode` | string | Two-letter country code |
| `source` | string | Origin marker |
| `scrapedAt` | string | Run timestamp (ISO 8601) |

### How to use it

1. Enter a keyword, or leave it empty to browse the newest offers site-wide.
2. Optionally filter by category, region, city or price band.
3. Switch on **Business sellers only** or **Only offers with a phone** to shape a lead list.
4. Set **Maximum results** — above 1 000 the Actor slices by category automatically.
5. Run, then export JSON, CSV or Excel.

### Input example

```json
{
  "query": "",
  "businessOnly": true,
  "withPhoneOnly": true,
  "maxResults": 5000
}
```

### Notes and limits

- Phone numbers are behind a click on OLX itself. This Actor reports **whether** a number is published (`phoneAvailable`) and returns the seller and shop identity; it does not dial through to the number.
- Paging on one query is capped at 1 000 offers by the API. Larger exports are sliced by category automatically.
- Listing bodies are seller-written and may be in the local language.
- You are responsible for how you use seller data, including under GDPR.

### FAQ

**Do I need an OLX account?**
No. The offers API is public and this Actor needs nothing from you.

**Can I get more than 1 000 listings?**
Yes — raise the maximum and the run is split across categories.

**Can I filter to shops and dealers only?**
Yes, switch on **Business sellers only**.

**Why a residential proxy?**
OLX serves in-country traffic reliably and answers datacenter ranges unevenly, so residential BG IPs are the default.

**How am I charged?**
Pay per result — you pay for the offers delivered.

# Actor input Schema

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

Which OLX national site to scrape. Only the domains that answer their public API are listed — OLX Poland, Romania and Kazakhstan block automated access entirely.

## `query` (type: `string`):

Free-text search across listings. Leave empty to browse the newest offers across the whole site.

## `categoryIds` (type: `array`):

Restrict to specific OLX category IDs. Leave empty and the Actor discovers top categories automatically when a large export needs slicing.

## `regionId` (type: `string`):

Optional OLX region ID filter.

## `cityId` (type: `string`):

Optional OLX city ID filter.

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

Only return offers at or above this price in the country's currency. 0 disables the filter.

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

Only return offers at or below this price. 0 disables the filter.

## `businessOnly` (type: `boolean`):

Return only listings from registered business sellers — the segment worth prospecting.

## `withPhoneOnly` (type: `boolean`):

Keep only listings where the seller published a phone number.

## `maxResults` (type: `integer`):

Stop after this many offers. Above 1000 the Actor slices by category to pass the API's paging ceiling.

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

OLX expects in-country traffic; residential IPs for the selected country are used by default.

## Actor input object example

```json
{
  "country": "ua",
  "query": "iphone",
  "categoryIds": [],
  "minPrice": 0,
  "maxPrice": 0,
  "businessOnly": false,
  "withPhoneOnly": false,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `offerId` (type: `string`):

No description

## `title` (type: `string`):

No description

## `description` (type: `string`):

No description

## `url` (type: `string`):

No description

## `priceAmount` (type: `string`):

No description

## `priceLabel` (type: `string`):

No description

## `currency` (type: `string`):

No description

## `negotiable` (type: `string`):

No description

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

No description

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

No description

## `categoryType` (type: `string`):

No description

## `city` (type: `string`):

No description

## `district` (type: `string`):

No description

## `region` (type: `string`):

No description

## `cityId` (type: `string`):

No description

## `regionId` (type: `string`):

No description

## `latitude` (type: `string`):

No description

## `longitude` (type: `string`):

No description

## `sellerId` (type: `string`):

No description

## `sellerName` (type: `string`):

No description

## `sellerIsBusiness` (type: `string`):

No description

## `sellerRegisteredAt` (type: `string`):

No description

## `sellerOtherAdsEnabled` (type: `string`):

No description

## `sellerCompanyName` (type: `string`):

No description

## `sellerAbout` (type: `string`):

No description

## `sellerBannerUrl` (type: `string`):

No description

## `shopUrl` (type: `string`):

No description

## `phoneAvailable` (type: `string`):

No description

## `chatAvailable` (type: `string`):

No description

## `courierAvailable` (type: `string`):

No description

## `deliveryAvailable` (type: `string`):

No description

## `promoted` (type: `string`):

No description

## `photoCount` (type: `string`):

No description

## `photoUrls` (type: `string`):

No description

## `createdTime` (type: `string`):

No description

## `lastRefreshTime` (type: `string`):

No description

## `validToTime` (type: `string`):

No description

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

No description

## `countryCode` (type: `string`):

No description

## `source` (type: `string`):

No description

## `scrapedAt` (type: `string`):

No description

# 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 = {
    "country": "ua",
    "query": "iphone",
    "categoryIds": [],
    "regionId": "",
    "cityId": "",
    "minPrice": 0,
    "maxPrice": 0,
    "businessOnly": false,
    "withPhoneOnly": false,
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/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 = {
    "country": "ua",
    "query": "iphone",
    "categoryIds": [],
    "regionId": "",
    "cityId": "",
    "minPrice": 0,
    "maxPrice": 0,
    "businessOnly": False,
    "withPhoneOnly": False,
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/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 '{
  "country": "ua",
  "query": "iphone",
  "categoryIds": [],
  "regionId": "",
  "cityId": "",
  "minPrice": 0,
  "maxPrice": 0,
  "businessOnly": false,
  "withPhoneOnly": false,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call logiover/olx-scraper --silent --output-dataset

```

## MCP server setup

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