# Otomoto.pl Scraper - Poland Used Cars (`haketa/otomoto-scraper`) Actor

Scrape Otomoto.pl, Poland's #1 used-car marketplace: make, model, version, price, mileage, year, fuel, gearbox, engine, location, seller (dealer name & website) and Otomoto's price evaluation. Paste any Otomoto listing URL. No login, no API key, no browser.

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

## Pricing

from $3.00 / 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?

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.pl Scraper — Poland's #1 Used-Car Marketplace 🚗

Scrape **used-car listings from [Otomoto.pl](https://www.otomoto.pl)** (OLX Group) — Poland's largest car marketplace. For every advert you get **make, model, price, mileage, year, fuel, gearbox, engine, location, seller (dealer name & website) and Otomoto's price evaluation**. Paste any Otomoto URL and the scraper paginates automatically.

No login, no API key, no browser extension. Pure HTTP — fast and cheap. Export to **JSON, CSV, Excel, HTML or XML** or pull from the API.

***

### What you get

For every car advert:

- **Make, model, version**, **year**, **mileage**
- **Price** + currency + gross/net flag, and **Otomoto price evaluation** (deal indicator)
- **Fuel type, gearbox, engine capacity & power, body type, colour, doors, country of origin**
- **Location** (city, region)
- **Seller**: dealer vs private, **dealer name and website** (lead generation)
- Title, short description, listing URL, image, creation date, and a full `specs` object of every parameter

***

### Use cases

- **Used-car price & market analysis** — track asking prices by make, model, year and mileage; use Otomoto's `priceEvaluation` to spot good deals.
- **Dealer lead generation** — collect car dealers active on Otomoto with their **name and website**.
- **Inventory & competitor monitoring** — watch what's listed, at what price, by whom.
- **Reselling / arbitrage** — find under-priced cars and cross-border opportunities.
- **Market research & datasets** — build Polish used-car datasets over time.

***

### Input

Paste **Otomoto listing URLs** in `startUrls` — the scraper paginates each automatically.

| Field | Type | Description |
|-------|------|-------------|
| `startUrls` | array | Otomoto.pl URLs: a category (`/osobowe`), a make (`/osobowe/bmw`), a make+model (`/osobowe/audi/a4`) or any filtered search URL. |
| `maxItems` | integer | Max adverts per URL. |
| `proxyConfiguration` | object | Optional. Defaults to Apify Proxy. |

#### Example input

```json
{
  "startUrls": [
    { "url": "https://www.otomoto.pl/osobowe/bmw" },
    { "url": "https://www.otomoto.pl/osobowe/audi/a4" }
  ],
  "maxItems": 500
}
```

> **Tip:** filter on Otomoto (price, year, mileage, fuel, location, body type…) and paste the resulting URL — all filters are respected.

***

### Output

One row per advert.

#### Example record

```json
{
  "id": "6151124220",
  "title": "BMW X3 xDrive30i xLine",
  "shortDescription": "BMW X3 G01 2019 xLine",
  "url": "https://www.otomoto.pl/osobowe/oferta/bmw-x3-ID6IhuoY.html",
  "createdAt": "2026-10-13T14:27:24Z",
  "price": 64800,
  "currency": "PLN",
  "isGross": true,
  "make": "BMW",
  "model": "X3",
  "version": "xDrive30i xLine",
  "year": 2019,
  "mileage": 79800,
  "fuelType": "Benzyna",
  "gearbox": "Automatyczna",
  "engineCapacity": 1998,
  "enginePower": 252,
  "bodyType": "SUV",
  "color": "Czarny",
  "city": "Warszawa",
  "region": "Mazowieckie",
  "sellerType": "dealer",
  "sellerName": "WINCARS",
  "sellerWebsite": "https://WINCARS.otomoto.pl",
  "priceEvaluation": "GOOD",
  "thumbnail": "https://…",
  "scrapedAt": "2026-10-14T13:00:00.000Z"
}
```

#### Fields

| Field | Description |
|-------|-------------|
| `id` / `title` / `url` | Advert id, title and link. |
| `price` / `currency` / `isGross` | Asking price and gross/net flag. |
| `priceEvaluation` | Otomoto's deal indicator (e.g. GOOD, VERY_GOOD, NONE). |
| `make` / `model` / `version` / `year` | Vehicle identity. |
| `mileage` / `fuelType` / `gearbox` / `engineCapacity` / `enginePower` | Key specs. |
| `bodyType` / `color` / `doorCount` / `countryOrigin` | More specs. |
| `city` / `region` | Location. |
| `sellerType` / `sellerName` / `sellerWebsite` | Dealer vs private + dealer contact (lead gen). |
| `specs` | Full map of every Otomoto parameter. |
| `scrapedAt` | ISO timestamp. |

***

### How it works

Otomoto renders its listing pages with Next.js and embeds the results in the page. The actor fetches each page over fast HTTP (no browser), reads the embedded listing data, maps it to a clean schema, and pages through the results — de-duplicating by advert id.

***

### FAQ

**Do I need an Otomoto account?** No — no login or API key.

**Which URLs work?** Any Otomoto.pl listing URL: categories, makes, make+model and filtered searches.

**Dealer or private?** Both — `sellerType` marks each, and dealer listings include `sellerName` and `sellerWebsite`.

**What's `priceEvaluation`?** Otomoto's own assessment of whether the price is good relative to the market.

**How fresh is the data?** Scraped live on each run.

***

### Legal & ethical use

This actor collects **publicly available** listing data from Otomoto.pl. Listings may contain personal data — use the output responsibly and in line with Otomoto's/OLX's Terms and applicable Polish/EU law. You are responsible for how you use the data.

# Actor input Schema

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

Otomoto.pl listing URLs — a category (<b>/osobowe</b>), a make (<b>/osobowe/bmw</b>), a make+model (<b>/osobowe/audi/a4</b>) or any filtered search URL. Filter on Otomoto and paste the URL; the scraper paginates automatically.

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

Maximum adverts to collect per URL.

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

Optional. Defaults to Apify Proxy (datacenter).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.otomoto.pl/osobowe/bmw"
    }
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `adverts` (type: `string`):

Scraped Otomoto used-car adverts.

# 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/bmw"
        }
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/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/bmw" }],
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/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/bmw"
    }
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/otomoto-scraper --silent --output-dataset

```

## MCP server setup

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