# OLX Scraper — Listings, Prices & Sellers (`bovi/olx-listings`) Actor

Scrape OLX classifieds listings by keyword across Poland, Ukraine, Bulgaria and 20+ OLX country domains. Returns title, price, currency, location, seller, photos, category and listing URL. No proxy needed. Pay per result.

- **URL**: https://apify.com/bovi/olx-listings.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 — 20+ Country Classifieds | from $1.50/1K | PL UA BG RO PT

Built for cross-border classified arbitrage traders (cars, electronics, real estate), market researchers comparing prices across Eastern Europe, and lead-gen agencies collecting seller contact data.

**Pricing:** Pay per listing — $1.50/1K. First 10 results free.

**No proxy. No login. Official OLX API.**

Scrape OLX marketplace listings by keyword across Poland, Ukraine, Bulgaria, Romania, Portugal and other OLX country sites. Returns structured data including price, location, photos, seller info, and delivery availability.

### What you get

Each result includes:
- `offer_id` — numeric OLX offer ID
- `title` — listing title
- `description` — full description (HTML stripped)
- `price`, `currency`, `negotiable` — price flattened out of the OLX params array
- `city`, `region` — seller location
- `category_id` — OLX category ID
- `seller_id`, `seller_name`, `seller_last_seen`
- `url` — canonical listing URL
- `photo_url` — first photo (400×400)
- `photos` — all photos as resolved URLs (400×400)
- `created_time`, `last_refresh_time` — ISO 8601 timestamps
- `delivery_available` — whether OLX Delivery (Rock) is enabled
- `domain` — which OLX country domain was scraped
- `parse_confidence`, `warnings` — data quality signal

### Supported domains

`olx.pl` (Poland), `olx.ua` (Ukraine), `olx.bg` (Bulgaria), `olx.ro` (Romania), `olx.pt` (Portugal) — and any other OLX country site that uses the same `/api/v1/offers/` endpoint.

### How it works

Uses the OLX public internal API (`GET /api/v1/offers/?query=<q>&offset=N&limit=50`). No authentication, no proxy required from Apify cloud IPs. The response is JSON with `data[]`, `metadata`, and `links.next` for pagination.

### Pricing

Pay per result (PPE). You only pay for listings actually returned.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `searchQuery` | string | — | Keyword(s) to search (required) |
| `domain` | string | `olx.pl` | OLX country domain |
| `maxItems` | integer | 100 | Max listings to return (0 = unlimited) |
| `minPrice` | integer | 0 | Skip listings below this price |
| `maxPrice` | integer | 0 | Skip listings above this price |
| `proxyConfiguration` | object | — | Optional Apify proxy |

### Example output

```json
{
  "offer_id": 1069106343,
  "title": "Nike Jordan 4 retro rozmiar 42 Nowe Orginalne",
  "description": "Nowe oryginalne buty Nike Jordan 4 retro w rozmiarze 42...",
  "price": 380.0,
  "currency": "PLN",
  "negotiable": false,
  "city": "Warszawa",
  "region": "Mazowieckie",
  "category_id": 2955,
  "seller_id": 689893,
  "seller_name": "Mateusz",
  "seller_last_seen": "2026-05-30T19:38:07+02:00",
  "url": "https://www.olx.pl/d/oferta/nike-jordan-4-retro-rozmiar-42-nowe-orginalne-CID87-ID1alRoH.html",
  "photo_url": "https://ireland.apollo.olxcdn.com:443/v1/files/n43jjt22k4co-PL/image;s=400x400",
  "photos": ["https://ireland.apollo.olxcdn.com:443/v1/files/n43jjt22k4co-PL/image;s=400x400"],
  "created_time": "2026-04-24T08:11:33+02:00",
  "last_refresh_time": "2026-05-30T08:57:58+02:00",
  "delivery_available": true,
  "domain": "olx.pl",
  "parse_confidence": 1.0,
  "warnings": []
}
````

### vs. competitors

| Feature | This actor | epctex/olx-scraper |
|---|---|---|
| Country coverage | 20+ OLX domains | Usually 1 (olx.pl) |
| Official API (not HTML) | Yes | No |
| delivery\_available flag | Yes | No |
| Multi-photo array | Yes | No |
| parse\_confidence signal | Yes | No |
| Price | $1.50/1K | $3–5/1K |

### Use with AI agents (MCP)

This actor is tagged `MCP_SERVERS` — compatible with Claude, GPT-4o, and other MCP-aware agents:

```
https://mcp.apify.com/?tools=bovi/olx-listings
```

### CEE data stack

Bundle with the **Allegro Scraper** (`bovi/allegro-offers`) for full Poland/CEE ecom coverage: OLX = classifieds (cars, electronics, real estate, second-hand), Allegro = structured retail marketplace. Together they cover the two largest Polish platforms.

### Limitations

- OLX caps search results at 1000 items per query (`metadata.total_elements` may show up to 1000). Run multiple targeted queries for larger datasets.
- Promoted/sponsored listings appear on every page — de-duplication is handled automatically by the actor.
- Category filtering via `category_id` is not supported by the OLX search API (returns 400). Use `searchQuery` and client-side `minPrice`/`maxPrice` filters instead.

### Pricing example

| Volume | Cost |
|---|---|
| 100 listings | $0.15 |
| 1,000 listings | $1.50 |
| 10,000 listings | $15.00 |

First 10 results are free. You pay only for offers actually returned.

### FAQ

**Do I need a proxy or OLX account?**
No. The OLX public API works from Apify cloud IPs without authentication or proxy. A proxy input is available as a fallback for unusual IP blocks.

**Which countries are supported?**
Any OLX country domain that uses the same `/api/v1/offers/` endpoint — confirmed: `olx.pl`, `olx.ua`, `olx.bg`, `olx.ro`, `olx.pt`. Set the `domain` input accordingly.

**What output formats are available?**
JSON (default), CSV, and Excel — via the Apify dataset export or API.

**What if results come back empty?**
OLX search is language-specific. Use local-language keywords for the domain (e.g. Polish keywords for `olx.pl`). Also note OLX caps results at ~1,000 per query — run multiple targeted queries for large datasets.

### Integrations

Built for cross-border arbitrage traders and market researchers comparing classified listings across Eastern Europe — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

## `searchQuery` (type: `string`):

Keyword(s) to search for on OLX (e.g. 'nike air max', 'iphone 13', 'laptop'). Required.

## `domain` (type: `string`):

OLX country domain to search. Examples: olx.pl (Poland), olx.ua (Ukraine), olx.bg (Bulgaria), olx.ro (Romania), olx.pt (Portugal). Default: olx.pl.

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

Maximum number of listings to return (0 = no limit, fetches all pages). Default 100.

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

Skip listings with price below this value (in the local currency). 0 = no minimum.

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

Skip listings with price above this value (in the local currency). 0 = no maximum.

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

Optional Apify proxy. The OLX public API works without a proxy from Apify cloud IPs. Only needed if you observe 403 errors.

## Actor input object example

```json
{
  "searchQuery": "nike",
  "domain": "olx.pl",
  "maxItems": 100,
  "proxyConfiguration": {}
}
```

# Actor output Schema

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

Dataset containing OLX listing records (offer\_id, title, price, currency, city, region, seller\_name, url, photo\_url, created\_time, etc.)

# 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 = {
    "searchQuery": "nike",
    "domain": "olx.pl",
    "maxItems": 100,
    "minPrice": 0,
    "maxPrice": 0,
    "proxyConfiguration": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/olx-listings").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQuery": "nike",
    "domain": "olx.pl",
    "maxItems": 100,
    "minPrice": 0,
    "maxPrice": 0,
    "proxyConfiguration": {},
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/olx-listings").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "nike",
  "domain": "olx.pl",
  "maxItems": 100,
  "minPrice": 0,
  "maxPrice": 0,
  "proxyConfiguration": {}
}' |
apify call bovi/olx-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/olx-listings",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "OLX Scraper — Listings, Prices & Sellers",
        "description": "Scrape OLX classifieds listings by keyword across Poland, Ukraine, Bulgaria and 20+ OLX country domains. Returns title, price, currency, location, seller, photos, category and listing URL. No proxy needed. Pay per result.",
        "version": "0.1",
        "x-build-id": "x6tjFL4kJA7arixdK"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~olx-listings/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-olx-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~olx-listings/runs": {
            "post": {
                "operationId": "runs-sync-bovi-olx-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~olx-listings/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-olx-listings",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchQuery"
                ],
                "properties": {
                    "searchQuery": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keyword(s) to search for on OLX (e.g. 'nike air max', 'iphone 13', 'laptop'). Required."
                    },
                    "domain": {
                        "title": "OLX domain",
                        "type": "string",
                        "description": "OLX country domain to search. Examples: olx.pl (Poland), olx.ua (Ukraine), olx.bg (Bulgaria), olx.ro (Romania), olx.pt (Portugal). Default: olx.pl."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of listings to return (0 = no limit, fetches all pages). Default 100."
                    },
                    "minPrice": {
                        "title": "Min price filter",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Skip listings with price below this value (in the local currency). 0 = no minimum."
                    },
                    "maxPrice": {
                        "title": "Max price filter",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Skip listings with price above this value (in the local currency). 0 = no maximum."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional Apify proxy. The OLX public API works without a proxy from Apify cloud IPs. Only needed if you observe 403 errors."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
