# OLX Listings Scraper · Poland ads, price filters · $0.8/1K (`mlg14/olx-scraper`) Actor

Scrape OLX Poland listings by keyword or category URL for price research, market monitoring and lead generation. Filters by price range, business sellers and sort order. Returns prices, descriptions, photos, locations, categories and posting dates. $0.8/1K listings.

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

## Pricing

$0.80 / 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.

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

Scrape public OLX Poland listings by keyword or search URL and export prices, descriptions, photos, locations, categories, and posting dates to CSV or JSON. This OLX API alternative is built for repeatable collection of Polish classified ads, with source filters and stable listing identifiers for later comparison.

### What data can you extract from OLX?

Each dataset row represents one unique listing. The scraper reads search results and the public listing data behind them. Descriptions, seller display details, and photo links are already present in that result data, so they do not require a separate request for each advertisement. Fields may still be empty when the seller or category did not provide them.

| Field | Description | Example |
| --- | --- | --- |
| `listingId` | Stable listing identifier for deduplication | `1100244565` |
| `title` | Public advertisement headline | `Rower damski srebrny` |
| `description` | Listing description with markup removed | `Rower damka srebrny 2 koszyki...` |
| `url` | Direct public listing link | `https://www.olx.pl/d/oferta/...` |
| `price` | Numeric asking price | `500` |
| `priceDisplay` | Price label shown to visitors | `500 zł` |
| `currency` | Currency of the asking price | `PLN` |
| `isNegotiable` | Whether the asking price is negotiable | `true` |
| `city` | City shown for the listing | `Ostrów Wielkopolski` |
| `region` | Polish region or voivodeship | `Wielkopolskie` |
| `district` | District where available | `Wrzosowiak` |
| `locationDisplay` | Combined public location label | `Ostrów Wielkopolski, Wielkopolskie` |
| `categoryId` | Numeric category identifier as text | `1650` |
| `categoryName` | Specific category label | `Rowery miejskie` |
| `parentCategoryName` | Broad parent category | `Sport i Hobby` |
| `photos` | Array of public image URLs | `[...]` |
| `thumbnailUrl` | First image URL for a preview | `https://.../image;s=918x1632` |
| `imageCount` | Number of image links returned | `2` |
| `properties` | Category attributes as name and value pairs | `[{"name":"Stan","value":"Używane"}]` |
| `seller.name` | Public seller display name, when present | A display name |
| `seller.type` | Business or private seller classification | `private` |
| `seller.id` | Public seller identifier, when present | A numeric ID |
| `seller.phoneAvailable` | Whether a phone contact option is shown | `true` |
| `isBusiness` | Business advertisement flag | `false` |
| `isFeatured` | Highlighted or promoted advertisement flag | `true` |
| `postedAt` | Original posting time with timezone | `2026-09-23T13:16:25+02:00` |
| `postedAtTimestamp` | Same posting time as Unix seconds | `1790162185` |
| `lastRefreshAt` | Last public refresh time | `2026-09-25T13:21:32+02:00` |
| `validUntil` | Published expiry time, if available | `2026-10-23T13:21:29+02:00` |
| `latitude` | Approximate public map latitude | `50.78` |
| `longitude` | Approximate public map longitude | `19.14` |
| `searchUrl` | Search page that produced this row | `https://www.olx.pl/sport-hobby/rowery/` |
| `searchQuery` | Plain text query, if one was supplied | `rower` |
| `scrapedAt` | Collection timestamp in UTC | `2026-09-26T17:31:08+00:00` |

The location coordinates are the approximate map coordinates supplied with the public result. They should not be treated as an exact collection or delivery address. The `photos` field contains image URLs, not downloaded image files. The `seller.phoneAvailable` flag indicates that a contact option exists; the dataset does not contain a phone number. Category properties differ substantially between bicycles, vehicles, homes, electronics, and other sections. Keeping them as name and value pairs makes the main output columns stable while preserving details relevant to each category.

### How to scrape OLX

1. Paste a public OLX Poland search or category URL into `searchUrls`, add one or more terms to `searchQueries`, or use both. A URL copied after filtering on the site can carry its selected category, location, price range, and ordering.
2. Set `maxResults` to the number of unique advertisements you want. Start with 30 to 100 to inspect whether the selected search matches your research question.
3. Optionally choose a sort order, a minimum or maximum PLN price, or business sellers only. Explicit price fields override price limits in a pasted URL. A sort order already embedded in a pasted URL takes precedence over `sortBy`.
4. Run the scraper. Results from multiple sources are combined, and repeated listing IDs are emitted once.
5. Download the dataset as JSON, CSV, or a spreadsheet compatible format. Keep `listingId` when joining repeated runs so the same advertisement can be tracked across time.

### Input

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `searchUrls` | string array | Empty | Public search or category pages on `olx.pl`. Add several narrow URLs to cover a large market. |
| `searchQueries` | string array | Empty | Plain text terms searched across Poland. At least one URL or query is required. |
| `maxResults` | integer | `100` | Maximum unique rows across all sources. `0` asks for all available rows, with an internal safety limit of 50,000. |
| `sortBy` | select | `relevance` | `relevance`, `newest`, `price_asc`, or `price_desc`; applies when the URL has no sort selected. |
| `minPrice` | integer | Empty | Minimum asking price in PLN. Overrides a URL minimum. |
| `maxPrice` | integer | Empty | Maximum asking price in PLN. Overrides a URL maximum. |
| `includeBusinessOnly` | boolean | `false` | Restricts results to advertisements marked as business listings. |
| `proxyConfiguration` | object | Enabled | Connection configuration. The default starts with datacenter access and escalates if blocked. |

The simplest category run is `{"searchUrls":["https://www.olx.pl/sport-hobby/rowery/"],"maxResults":100}`. For a term with an asking price limit, use:

```json
{
  "searchQueries": ["rower"],
  "minPrice": 100,
  "maxPrice": 1000,
  "sortBy": "newest",
  "maxResults": 100
}
```

For a regional study, browse to the desired region on the OLX website and copy its filtered search URL. Put several such URLs in `searchUrls` to collect each region in one run. If the same advertisement appears in overlapping categories or queries, it is retained only once. The first source that returns the listing determines its `searchUrl` value. Run separate jobs when you need independent counts for overlapping market segments.

### Output example

This selected portion of one row came from a successful 60 listing bicycle category run on 26 September 2026. Long arrays and seller display details are omitted from the example; the values shown are from the collected row.

```json
{
  "listingId": "1100244565",
  "title": "Rower damski srebrny",
  "description": "Rower damka srebrny 2 koszyki koła 28\n\nNie zniszczony",
  "url": "https://www.olx.pl/d/oferta/rower-damski-srebrny-CID767-ID1cswS5.html",
  "price": 500,
  "priceDisplay": "500 zł",
  "currency": "PLN",
  "isNegotiable": true,
  "city": "Ostrów Wielkopolski",
  "region": "Wielkopolskie",
  "categoryId": "1650",
  "categoryName": "Rowery miejskie",
  "parentCategoryName": "Sport i Hobby",
  "imageCount": 2,
  "isBusiness": false,
  "isFeatured": true,
  "postedAt": "2026-09-23T13:16:25+02:00",
  "searchUrl": "https://www.olx.pl/sport-hobby/rowery/"
}
```

The example illustrates why `price` and `priceDisplay` are both useful. Numeric price supports filtering and statistics, while the display label preserves the site presentation. `postedAt` records when the advertisement was created, while `lastRefreshAt` captures later refresh activity. A promoted listing can appear near the top even when an ordering option is selected, so use timestamps for strict chronological analysis.

### Use cases

- **Resale pricing:** Collect a specific used goods category, group results by condition in `properties`, and compare asking prices by city. Repeat the run to see which price bands are gaining new inventory.
- **Housing inventory:** Paste separately filtered sale or rental URLs for several Polish regions. Compare public asking prices and advertisement counts by location, while keeping each region in an independent source URL.
- **Vehicle monitoring:** Search model terms or category URLs, then preserve the category attributes for mileage, year, and other fields when the advertisement provides them.
- **Retail assortment research:** Filter to business advertisements and compare product categories, listing counts, and visible prices without mixing in private sellers.
- **Change detection:** Schedule a repeated query, match rows on `listingId`, and use `postedAt`, `lastRefreshAt`, and `price` to identify newly posted or refreshed ads and possible price changes.
- **Regional market maps:** Aggregate city and region labels for a broad category. Approximate coordinates can support a coarse map, while the public listing URL remains the source for manual review.

These workflows use public advertisement data. A listed price is an asking price, not a confirmed transaction price. Some sellers describe bundles, negotiable terms, or conditions in text that cannot be inferred from the numeric field alone. Review descriptions and category properties before making financial comparisons.

### How much does it cost to scrape OLX?

The result charge is **$0.80 per 1,000 delivered listings**, or $0.0008 for each row pushed to the dataset. A run with 100 unique listings has a result charge of $0.08. A run with 1,000 unique listings has a result charge of $0.80. A study that combines narrower category or location searches into 5,000 unique listings has a result charge of $4.00. These examples describe the listed result price; any separate account charges depend on your account settings.

The `maxResults` setting is a hard output cap, so a 100 result run does not keep collecting and charging after it reaches 100. If several sources contain the same listing ID, only the first emitted copy counts as a result. A source that returns no advertisements contributes no rows. Price filters are sent with the source request, which avoids collecting rows outside the requested price range.

Connection cost and run time can rise when a public endpoint blocks datacenter traffic and requires residential access. The scraper first tries the less expensive connection route and changes route after repeated blocks. Long descriptions and photo URLs are available in search results, so collecting them does not require one extra page request per listing.

### Tips for best results

Start with a broad category URL to verify the output shape, then narrow by location or subcategory when you need deeper coverage. For bicycles, a single `rowery` page combines many specialized categories. The `categoryName` field distinguishes them. For a narrower comparison, use the specific subcategory URL from the site rather than trying to infer category from a title.

Use `searchQueries` for text discovery and `searchUrls` when you need the exact filters shown in the site interface. Search URLs are especially useful for region and category restrictions. The actor reads the page's own search parameters and then walks the corresponding result pages, so a pasted URL can preserve filters beyond the simple fields in the input form.

Pair price filters with a category or term. A maximum price of 1,000 PLN across every category can mix many unrelated products; the same cap within a bicycle category yields a more comparable set. When a category can contain free offers or negotiable listings, inspect `priceDisplay` and `isNegotiable` along with the numeric price. Avoid assuming that zero means every item is available at no cost.

Results are deduplicated across all input sources. This is useful for a combined feed, but it changes how separate source totals should be interpreted. If you need a count for each region or each query, run them separately. If you need one catalog without duplicates, combine them in a single run. Put the most important source first when overlapping sources might return the same advertisement.

For repeated collection, keep the exact same input and compare `listingId` across runs. The site can reshuffle promoted advertisements, refresh older ads, or change search relevance. An advertisement disappearing from the first few pages does not prove that it was removed. Narrow inputs and a consistent collection limit give more reliable comparisons than a broad query sampled at different times.

### Limits

OLX exposes roughly the first 1,000 organic search positions for one broad query or URL. The tested offers endpoint returned a `total_elements` value of 1,000 even when its `visible_total_count` was far higher, and stopped supplying a next page around that boundary. The scraper stops at the site's pagination boundary. To get more coverage, divide a broad market into nonoverlapping categories, locations, or price ranges and provide those filtered URLs as separate sources. Several narrow URLs can be processed in one run and deduplicated by listing ID.

Promoted advertisements appear alongside organic results and can repeat across pages. They are deduplicated. This means the count of output rows from a page can be lower than the count of raw advertisements returned by the source. Promoted placements also mean price and date sorting should not be treated as a strict monotonic order across every row.

The public result data does not guarantee a price, district, photograph, seller display name, or category attribute for every advertisement. The actor emits `null` or an empty array when a value is unavailable. The `seller.phoneAvailable` field reports only availability; no private contact details are collected. Approximate map coordinates are unsuitable for routing to an exact address. Expiry dates can change if an advertisement is refreshed.

The site may block requests depending on IP reputation. In the verified run, datacenter requests met a 403 response, while a Polish residential connection accessed the search page and offers endpoint. Such access behavior can change. The actor rotates its connection after repeated blocks and reports a failed source if access remains unavailable. It does not use an account or access listings that require login.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/olx-scraper`

The actor returns one dataset item per OLX listing (price, description, photos, location, category, posting date). Keep `maxResults` small so a run finishes quickly.

**Prompt 1:** "Find the 20 newest used bicycle listings on OLX Poland and show price and city."

```json
{
  "searchUrls": ["https://www.olx.pl/sport-hobby/rowery/"],
  "sortBy": "newest",
  "maxResults": 20
}
```

**Prompt 2:** "Search OLX Poland for iPhone 13 listings between 1000 and 2500 PLN."

```json
{
  "searchQueries": ["iPhone 13"],
  "minPrice": 1000,
  "maxPrice": 2500,
  "sortBy": "price_asc",
  "maxResults": 30
}
```

**Prompt 3:** "Show 25 bicycle listings on OLX from business sellers only."

```json
{
  "searchUrls": ["https://www.olx.pl/sport-hobby/rowery/"],
  "includeBusinessOnly": true,
  "maxResults": 25
}
```

### Use with automated workflows

Input and output are regular structured data, so a scheduled or externally triggered workflow can request a category and then process the dataset. Two useful requests are: “Collect 100 used bicycle listings under 1,000 PLN, then group asking prices by city” and “Check these filtered regional housing URLs weekly and report listing IDs that appeared since the previous run.” The workflow should use the output fields directly and retain the source URL for traceability.

For more precise monitoring, store a snapshot with `listingId`, `price`, `postedAt`, and `scrapedAt` on each run. Match by identifier, not title: titles can be edited and many unrelated advertisements share similar wording. Use `lastRefreshAt` to distinguish a genuinely recent ad from an older ad moved upward in the result order. Where a category field matters, read its corresponding entry in `properties` rather than assuming it has a dedicated top-level column.

### FAQ

**Is scraping these listings legal?** This actor collects publicly visible advertisement data. Follow the site's terms, applicable law, and reasonable request rates. Do not use seller information for spam, harassment, or other misuse. Check the rules for your intended market research or commercial use.

**Do I need to configure a proxy?** The default connection setup is intended for the site. It begins with datacenter access and switches to a Polish residential route after blocks. A custom proxy setting is optional. If a route stops working, a later run may succeed after address rotation, but no access method is guaranteed.

**How fast is a run?** A 60 listing category test completed successfully in under a minute after build time. Larger jobs take longer because they request additional pages, and blocked routes add retry time. Description length and result count also affect dataset transfer time. Use a small `maxResults` value to estimate your own category.

**Can I schedule and monitor it?** Yes. Run it at a fixed interval with the same input, record the dataset for each run, and compare listing IDs. Check the run status as well as row count: a completed run with fewer rows can reflect a narrower market or a changed source response.

**Can I export to a spreadsheet?** Yes. Download the dataset in CSV or a spreadsheet compatible format. `properties` and `photos` are arrays, so a JSON export keeps their full structure. For a flat spreadsheet, choose the columns relevant to your use case or expand those arrays after export.

**What if a field is empty?** The seller may have omitted it, the category may not support it, or the public result may not expose it. A district is less common than a city; photos are optional; some asking prices may not be numeric. Check the source URL for a specific record before treating a blank as an extraction error.

**Why are there fewer than 1,000 results for a large search?** The site caps the accessible page range for a single search, and repeated promoted advertisements are removed. Your `maxResults` limit, filters, or overlap between sources can reduce the count further. Split broad searches into narrower category, location, or price URLs when you need more coverage.

### Integrations

Use the run API, scheduled runs, and webhooks to move the finished dataset into a database, analytics pipeline, or spreadsheet workflow. JSON keeps arrays and nested seller details intact; CSV is convenient for simple tables. A recurring workflow can compare the current dataset with a previous snapshot and notify a team when new listings match a saved price or location rule.

### Support

Open an issue on the Issues tab with a sample input, the affected listing URL, and the field you expected. We reply within 24 hours and consider field additions when the public source provides them.

# Actor input Schema

## `searchUrls` (type: `array`):

Public olx.pl search or category URLs; filters already in the URL are kept. Example: \["https://www.olx.pl/sport-hobby/rowery/"]. Use it for a specific category or a pre-filtered search; combine with searchQueries if needed.

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

Plain-text search terms run across all of OLX Poland. Example: \["rower", "iPhone 13"]. Use it when you have keywords instead of URLs; can be combined with searchUrls. Leave empty to use only URLs.

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

Maximum unique listings across all sources (integer). Set 0 for as many as available, up to 50,000. Example: 50. Use a small number for quick tests; broad searches hit a source pagination cap, so use narrower URLs for more coverage.

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

Ordering for sources without a sort already in their URL. Allowed values: relevance, newest, price_asc, price_desc. Example: newest. Use newest for monitoring runs; promoted listings may still appear first.

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

Only return listings priced at or above this amount in Polish zloty (PLN), integer. Example: 500. Leave empty for no lower bound. Overrides the minimum in a search URL.

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

Only return listings priced at or below this amount in Polish zloty (PLN), integer. Example: 1000. Leave empty for no upper bound. Overrides the maximum in a search URL.

## `includeBusinessOnly` (type: `boolean`):

If true, only listings marked as business advertisements are returned. Example: true to find dealers and shops. Leave false (default) to include private sellers too.

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

Apify Proxy settings. The default starts with a datacenter address and switches to a Polish residential address if blocked. Leave the default unless you need your own proxies.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.olx.pl/sport-hobby/rowery/"
  ],
  "searchQueries": [],
  "maxResults": 100,
  "sortBy": "relevance",
  "includeBusinessOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Collected listings in the default dataset.

# 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 = {
    "searchUrls": [
        "https://www.olx.pl/sport-hobby/rowery/"
    ],
    "searchQueries": [],
    "maxResults": 100,
    "sortBy": "relevance",
    "includeBusinessOnly": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/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 = {
    "searchUrls": ["https://www.olx.pl/sport-hobby/rowery/"],
    "searchQueries": [],
    "maxResults": 100,
    "sortBy": "relevance",
    "includeBusinessOnly": False,
}

# Run the Actor and wait for it to finish
run = client.actor("mlg14/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 '{
  "searchUrls": [
    "https://www.olx.pl/sport-hobby/rowery/"
  ],
  "searchQueries": [],
  "maxResults": 100,
  "sortBy": "relevance",
  "includeBusinessOnly": false
}' |
apify call mlg14/olx-scraper --silent --output-dataset

```

## MCP server setup

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