# OLX Polska Listings Scraper (`parseforge/olx-polska-scraper`) Actor

Scrapes OLX Polska listings by search query and returns each listing as a flat row with title, price, location, and URL. Export to CSV, JSON, Excel, or XML.

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

## Pricing

from $7.89 / 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/actors/running/actors-in-store.md#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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### OLX Polska Listings Scraper

**Scrape OLX Polska listings by search query, up to 100 items per run.** Each listing comes with its title, price, location, and URL. No login or API key. Export to CSV, JSON, Excel, or XML.

OLX Polska is the largest classifieds site in Poland, but browsing it manually is slow and the data is not available in a structured format. This Actor reads the public search results directly, so you can collect listings for any query, from phones to apartments, without dealing with the website's interface. It returns each listing as a flat row, ready for analysis or export.

| Who uses it | What they scrape OLX Polska for |
|---|---|
| Market researchers | Track what products are being sold in Poland and at what prices |
| E-commerce sellers | Monitor competitor listings and pricing on OLX Polska |
| Data analysts | Build datasets of Polish classifieds for trend analysis |
| Journalists | Investigate what goods are being sold in a particular region |

### What it does

This Actor collects OLX Polska listings by search query and returns each one as a flat row with title, price, location, and URL.

- 🔍 **Search query:** enter any term, such as 'telefon' or 'mieszkanie', and get matching listings
- 📊 **Structured output:** each listing is returned as a flat row with title, price, location, and URL
- ⚙️ **Max items:** set a limit from 1 to 100 listings per run to control your data volume

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with OLX Polska data

**📈 Monitor market prices.**

A market researcher runs the Actor daily for 'telefon' to track how prices of phones change over time on OLX Polska.

**🛒 Spy on competitors.**

An e-commerce seller scrapes listings for their product category to see what competitors are charging and adjust their own prices.

**📊 Build a dataset.**

A data analyst collects thousands of listings for 'mieszkanie' to analyze the Polish real estate market by region and price.

**📰 Investigate local sales.**

A journalist scrapes listings for a specific item in a particular city to uncover patterns or anomalies in the second-hand market.

### Why choose this scraper

| | What you get |
|---|---|
| **No official API needed** | OLX Polska does not offer a public API, so this Actor scrapes the public search results directly |
| **Fast and simple** | enter a search term and get structured data in minutes, no coding required |
| **Export anywhere** | Download your results as CSV, JSON, Excel, or XML for use in any tool |

### How it compares

No other Store actor targets OLX Polska the same way, so the honest comparison is with the alternatives teams actually weigh.

| | OLX Polska Listings Scraper | Build it in-house | By hand |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When OLX Polska changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |

### Configure the run

Drive the Actor with a search query and a maximum number of items. The query is required and can be any term that appears on OLX Polska, such as 'telefon' for phones or 'rower' for bicycles. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "searchQuery": "telefon"
}
```

A larger pull:

```json
{
 "searchQuery": "telefon",
 "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.00872 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.87 |
| 1,000 results | $8.72 |
| 10,000 results | $87.20 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [OLX Polska Listings Scraper](https://apify.com/parseforge/olx-polska-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to OLX Polska through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/olx-polska-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your search query is spelled correctly and is a term that exists on OLX Polska. Also ensure that maxItems is set to a positive number. If the problem persists, try a more general query.

**Why are some listings missing fields?**

OLX Polska listings may not always have all fields filled in by the seller. The Actor returns whatever data is available on the page, so some fields may be empty.

**Why does the Actor return fewer items than maxItems?**

The Actor returns up to maxItems listings, but if the search query has fewer results on OLX Polska, it will return only what is available.

**Why did the run fail with a timeout?**

OLX Polska may be slow or temporarily blocking requests. Try running the Actor again later, or reduce the maxItems to speed up the run.

### FAQ

| Question | Answer |
|---|---|
| What is OLX Polska? | OLX Polska is the Polish version of OLX, one of the largest online classifieds platforms in the world. It allows users to buy and sell a wide range of goods and services, from electronics to real estate. |
| Do I need an API key or login to use this Actor? | No, this Actor scrapes the public OLX Polska website and does not require any authentication. You only need an Apify account to run it. |
| What data does this Actor return? | Each listing is returned as a flat row with fields such as title, price, location, and URL. The exact fields are shown in the sample output below. |
| Can I scrape more than 100 listings? | The current version supports up to 100 listings per run. If you need more, you can run the Actor multiple times with different queries or contact the developer for a custom solution. |
| How do I specify the search query? | Enter any term in the 'Search Query' field, for example 'telefon' for phones or 'rower' for bicycles. The Actor will search OLX Polska for that term and return the matching listings. |
| Is this Actor affiliated with OLX? | No, this Actor is not affiliated with OLX.pl Sp. z o.o. It is an independent tool that scrapes publicly available data from the website. |
| Can I filter listings by category or location? | The current version only supports a search query. To filter by category or location, you can include those terms in your query, for example 'telefon Warszawa'. |
| What formats can I export the data to? | You can export the results to CSV, JSON, Excel, or XML directly from the Apify platform. |
| How often can I run this Actor? | You can run it as often as you like, subject to Apify's fair use policy. For regular monitoring, you can schedule runs using Apify's scheduler. |
| What if I get no results? | Make sure your search query is spelled correctly and is a term that appears on OLX Polska. Also check that you have not set maxItems to 0. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by OLX.pl Sp. z o.o. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

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

Enter the search term to find listings on OLX Polska. For example, 'telefon' for phones.

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

Maximum number of listings to scrape (default 100).

## Actor input object example

```json
{
  "searchQuery": "telefon",
  "maxItems": 100
}
```

# Actor output Schema

## `results` (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 = {
    "searchQuery": "telefon"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/olx-polska-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 = { "searchQuery": "telefon" }

# Run the Actor and wait for it to finish
run = client.actor("parseforge/olx-polska-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 '{
  "searchQuery": "telefon"
}' |
apify call parseforge/olx-polska-scraper --silent --output-dataset

```

## MCP server setup

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