# Otomoto Scraper — Poland Cars, Prices & CEPiK (`crawloop/otomoto-scraper`) Actor

Scrape Otomoto car listings in Poland. Each row has PLN price, year, mileage, fuel, city, seller type, price evaluation, and CEPiK from the public search card. Filter by make, or paste a search URL.

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

## Pricing

from $0.70 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

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

## Otomoto Scraper

> **Disclaimer:** Unofficial tool — not affiliated with, sponsored by, or endorsed by Grupa OLX sp. z o.o. or its affiliates. Data is read from publicly accessible search and category pages only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

**Otomoto scraper** for car listings in Poland. Each row is a public search card: asking price in PLN, year, mileage, fuel, gearbox, city, seller type (private or dealer), price evaluation, and the CEPiK flag when the card includes it. Use it as an **Otomoto API alternative** from **Python**, **Node.js**, **cURL**, or **Apify MCP**.

**Best for:** dealer comps on one make, a price-band check, and a scheduled run that saves only new ads and price changes.

| Actor | Role |
| :--- | :--- |
| Otomoto Scraper ◄── you are here | Poland car listings, price evaluation, CEPiK, price monitor |
| [Allegro Scraper](https://apify.com/crawloop/allegro-scraper) | Poland marketplace products |
| [mobile.de Scraper](https://apify.com/crawloop/mobile-de-scraper) | Germany vehicle listings |

### When to use this Actor

- **One make** — Set Make to Volkswagen, BMW, Toyota, or another brand. Leave Search URLs empty.
- **A filtered search you already built** — Paste the search URL. Make and the price, year, and mileage fields are ignored when Search URLs is set.
- **Price versus the site’s evaluation** — `priceEvaluation` is the code on the card (for example `IN`). Cards with no evaluation omit the field.
- **New ads and price cuts** — Turn on monitor mode and schedule the same search. The first run stores a baseline and saves nothing. Later runs save new listing ids and price changes.

### When not to use this Actor

- **Seller phone numbers** — Those are not read. The row is the search card, not the listing page.
- **A national dump in one run** — Cap `maxItems` (320, ten pages of 32). Split by make or price.
- **German inventory** — Use [mobile.de Scraper](https://apify.com/crawloop/mobile-de-scraper). For Polish marketplace products, use [Allegro Scraper](https://apify.com/crawloop/allegro-scraper).

### Key features

- **Search cards** — One request returns up to 32 listings. Default **256 MB**. No browser.
- **Price evaluation and CEPiK on the card** — Kept when the search payload includes them.
- **Make, or a pasted URL** — Price, year, and mileage filters are optional.
- **Private versus dealer** — `sellerType` is `private` or `dealer`.
- **Monitor** — Named key-value store of listing id and last price for that search.

### Input

| Field | Required | Default | What it does |
| :--- | :--- | :--- | :--- |
| Search URLs | No | Volkswagen cars | Search or category page. Wins over the filters below. |
| Make | No | — | Brand when Search URLs is empty. |
| Min / max price | No | — | Asking price in PLN. |
| Min / max year | No | — | Model year. Minimum year is the `/od-YEAR` path. |
| Max mileage | No | — | Kilometers. |
| Maximum listings | No | 32 | Cards to read, up to 320. |
| Monitor mode | No | off | Baseline first, then new ids and price changes. |
| Monitor state store | No | otomoto-monitor | Named store for the baseline. |
| Proxy | Yes | Poland residential | Datacenter IPs are blocked. |

```json
{
  "make": "Volkswagen",
  "minYear": 2018,
  "maxYear": 2024,
  "maxPrice": 80000,
  "maxItems": 32,
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "PL"
  }
}
```

### Output

| Field | Meaning |
| :--- | :--- |
| `id` | Listing id |
| `url` | Public listing page |
| `title` | Card title |
| `make`, `model`, `version` | Brand, model, trim |
| `year` | Model year |
| `mileage` | Kilometers |
| `fuel`, `gearbox` | Fuel and transmission |
| `engineCapacity`, `enginePower` | Cubic centimeters and horsepower |
| `price` | Asking price in PLN |
| `priceEvaluation` | Site evaluation code. Omitted when the card has none |
| `priceDropPercent` | Drop versus the previous price, when the card shows one |
| `cepikVerified` | CEPiK flag from the card |
| `sellerType` | `private` or `dealer` |
| `city`, `region` | City and voivodeship |
| `photo` | First photo |
| `changeType` | `new` or `price_change` on monitor runs |
| `previousPrice` | Prior asking price when `changeType` is `price_change` |
| `scrapedAt` | UTC timestamp |

```json
{
  "id": "6150828396",
  "url": "https://www.otomoto.pl/osobowe/oferta/volkswagen-up-ID6IgfrC.html",
  "title": "Volkswagen up! eco",
  "make": "Volkswagen",
  "model": "up!",
  "version": "eco",
  "year": 2020,
  "mileage": 74000,
  "fuel": "Benzyna+CNG",
  "gearbox": "Manualna",
  "price": 29500,
  "currency": "PLN",
  "priceEvaluation": "IN",
  "cepikVerified": false,
  "sellerType": "private",
  "city": "Gliwice",
  "region": "Śląskie"
}
```

### Use cases

- Compare asking prices for one make inside a year and price band, and keep rows whose `priceEvaluation` is present.
- Split a dealer watchlist by make and export city, seller type, and mileage to a sheet.
- Schedule monitor mode each morning and export only listings whose price moved.
- For German asking prices on the same makes, run [mobile.de Scraper](https://apify.com/crawloop/mobile-de-scraper). For parts and products in Poland, run [Allegro Scraper](https://apify.com/crawloop/allegro-scraper).

### Integration examples

Replace `APIFY_TOKEN`. The slug below is the Store name.

#### Node.js

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("crawloop/otomoto-scraper").call({
  make: "Volkswagen",
  minYear: 2018,
  maxItems: 32,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("crawloop/otomoto-scraper").call(run_input={
    "make": "BMW",
    "maxPrice": 60000,
    "maxMileage": 150000,
    "maxItems": 32,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(len(items))
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/crawloop~otomoto-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"make":"Volkswagen","minYear":2018,"maxItems":32}'
```

### MCP and AI assistants

Use this Actor from AI tools via [Apify MCP](https://docs.apify.com/platform/integrations/mcp).
Connect your Apify account, then call this Actor by its Store name `crawloop/otomoto-scraper`.

Example prompts:

- "Run Otomoto Scraper for Volkswagen from 2018 and return the top 20 rows as JSON"
- "Scrape BMW listings under 60,000 PLN and summarize price, mileage, and price evaluation"
- "Run Otomoto Scraper in monitor mode for Toyota, then use mobile.de Scraper when the next market is Germany"

### Suite next step

This Actor covers Poland car search cards. For German vehicle listings, run [mobile.de Scraper](https://apify.com/crawloop/mobile-de-scraper). For products on the Polish marketplace, run [Allegro Scraper](https://apify.com/crawloop/allegro-scraper).

### FAQ

**Does this open every listing page?**
No. Rows are the search cards. Phone numbers are not requested.

**What if the run is blocked?**
Datacenter IPs receive HTTP 403. The input proxy must be Apify residential in Poland.

**What does monitor mode skip?**
Listing ids already stored for that same search, unless the asking price changed. A quiet tick writes zero rows. The first run only fills the baseline.

**Is price evaluation always present?**
No. Some cards leave it empty or mark it as none. Those rows omit `priceEvaluation`.

# Actor input Schema

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

Otomoto search or category URLs. When this list is set, the make and filter fields below are ignored. Do not paste a single listing page.

## `make` (type: `string`):

Brand used when Search URLs is empty. Example: Volkswagen, BMW, Toyota.

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

Lowest asking price in Polish zloty.

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

Highest asking price in Polish zloty.

## `minYear` (type: `integer`):

Earliest model year. Sent as the /od-YEAR path.

## `maxYear` (type: `integer`):

Latest model year.

## `maxMileage` (type: `integer`):

Highest odometer reading in kilometers.

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

How many search cards to read. One page has 32 cards. Monitor mode examines this many cards and saves only new ids and price changes.

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

The first run for a search stores a baseline and saves nothing. Later runs save new listings and price changes only.

## `monitorStateStore` (type: `string`):

Named key-value store that keeps the baseline between scheduled runs.

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

Poland residential proxy. Datacenter IPs are blocked before the search cards load.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.otomoto.pl/osobowe/volkswagen"
    }
  ],
  "maxItems": 32,
  "monitorMode": false,
  "monitorStateStore": "otomoto-monitor",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "PL"
  }
}
```

# Actor output Schema

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

Default dataset items — one listing per row.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.otomoto.pl/osobowe/volkswagen"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "PL"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawloop/otomoto-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 = {
    "startUrls": [{ "url": "https://www.otomoto.pl/osobowe/volkswagen" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "PL",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crawloop/otomoto-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 '{
  "startUrls": [
    {
      "url": "https://www.otomoto.pl/osobowe/volkswagen"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "PL"
  }
}' |
apify call crawloop/otomoto-scraper --silent --output-dataset

```

## MCP server setup

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