# Otomoto.pl 0.33$/1K Fast Car Scraper (250K+ Poland) 🇵🇱 (`kthesat/otomoto-scraper`) Actor

Ultra-fast scraper for Otomoto.pl covering 250,000+ active Polish car listings. Extract prices (PLN/EUR), full 15–30 HD photo albums, specs, VIN, and dealer details in seconds without blocks.

- **URL**: https://apify.com/kthesat/otomoto-scraper.md
- **Developed by:** [KTHESAT STUDIO](https://apify.com/kthesat) (community)
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.33 / 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

## Otomoto.pl Poland Car Scraper (250K+ Cars) 🇵🇱

Ultra-fast, production-ready scraper for **Otomoto.pl**, Poland's undisputed #1 automotive portal covering **over 250,000+ active vehicle listings**.

Extract vehicle prices (PLN & EUR), specifications, mileage, engine power, gearbox, fuel type, locations across Poland, and full HD photo galleries in seconds without blocks.

***

### ⚡ Features

- **250,000+ Active Polish Listings**: Complete access to Poland's largest car marketplace.
- **Zero Bot Blocks**: Native TLS fingerprinting (`Chrome 124`) bypasses Cloudflare security seamlessly.
- **Lightning Speed**: Extracts 32 vehicles per search page in sub-second response times.
- **Dual Mode (Fast Search vs. Full HD Enrichment)**:
  - *Standard Mode*: Rapidly harvest thousands of cars with core specs, price, mileage, and primary photos.
  - *Enrichment Mode* (`enrichDetails: true`): Fetches complete 15–30 photo galleries, seller addresses, full descriptions, and VINs.
- **Comprehensive Fields**: Brand, model, version, PLN & EUR prices, year, mileage (km), engine capacity (cm³), horsepower (HP), fuel type, transmission, body type, color, seller type (Dealer/Private), city, and region (Voivodeship).
- **Flexible Targeting**: Filter by brand, model, price range, year range, max mileage, or direct Otomoto search and listing URLs.

***

### 🏎️ How to Use

#### 1. Brand & Model Filtering

Search by manufacturer and model directly:

- **`make`**: `bmw`, `audi`, `volkswagen`, `mercedes-benz`, `toyota`, `skoda`, etc.
- **`model`**: `3-series`, `a4`, `golf`, `octavia`, `corolla`, etc.

#### 2. Custom Filter Queries

Combine any numeric filters:

- **`minPrice` / `maxPrice`**: Vehicle price in Polish Złoty (PLN) (e.g. `30000` to `80000`).
- **`minYear` / `maxYear`**: Registration year (e.g. `2018` to `2024`).
- **`maxMileage`**: Maximum odometer reading in km (e.g. `120000`).
- **`enrichDetails`**: Toggle `true` to extract full 15-30 HD photo galleries, descriptions, and seller details.
- **`maxItems`**: Maximum number of listings to return (e.g. `50`, `500`, `10000`).

#### 3. Otomoto Search or Listing URLs

Paste any Otomoto.pl URL into `startUrls`:

- **Search URL**: `https://www.otomoto.pl/osobowe/bmw/seria-3?search[filter_float_price:to]=100000`
- **Direct Listing URL**: `https://www.otomoto.pl/osobowe/oferta/bmw-seria-3-ID6Ihh02.html`

***

### 📊 Sample Output (JSON)

```json
{
  "id": "oto_6126294719",
  "car_id": "6126294719",
  "title": "BMW Seria 3 320d xDrive M Sport",
  "url": "https://www.otomoto.pl/osobowe/oferta/bmw-seria-3-ID6Ihh02.html",
  "make": "BMW",
  "model": "Seria 3",
  "version": "320d xDrive M Sport",
  "price_pln": 149900,
  "price_eur": 34860.47,
  "currency": "PLN",
  "year": 2020,
  "mileage_km": 87500,
  "power_hp": 190,
  "engine_capacity": 1995,
  "fuel_type": "Diesel",
  "transmission": "Automatyczna",
  "body_type": "Sedan",
  "color": "Czarny",
  "main_image": "https://ireland.apollo.olxcdn.com/v1/files/08a.../image;s=1000x700",
  "images": [
    "https://ireland.apollo.olxcdn.com/v1/files/08a.../image;s=1000x700",
    "https://ireland.apollo.olxcdn.com/v1/files/09b.../image;s=1000x700"
  ],
  "images_count": 24,
  "seller": {
    "name": "Auto Salon Warszawa",
    "type": "Dealer",
    "city": "Warszawa",
    "region": "Mazowieckie"
  },
  "vin": "WBA5V71090F******",
  "country": "PL"
}
```

***

### 💰 Pricing

Priced at just **$0.33 per 1,000 results** ($0.00033 per car).
Only pay for results actually delivered to your dataset.

# Actor input Schema

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

List of Otomoto.pl URLs to scrape (search result pages or direct vehicle detail URLs).

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

Vehicle brand (e.g., BMW, Audi, Volkswagen, Mercedes-Benz, Toyota, Skoda).

## `model` (type: `string`):

Specific vehicle model (e.g., 3-series, golf, a4, octavia, c-klasa).

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

Minimum vehicle price in Polish Złoty (PLN).

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

Maximum vehicle price in Polish Złoty (PLN).

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

Earliest vehicle production/registration year (e.g., 2018).

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

Latest vehicle production/registration year (e.g., 2024).

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

Maximum odometer reading in KM (e.g., 80000).

## `enrichDetails` (type: `boolean`):

Extracts complete 15-30 HD photo gallery, full description, and VIN for each car.

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

Maximum number of car listings to extract and return in the dataset.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.otomoto.pl/osobowe/bmw"
    }
  ],
  "make": "bmw",
  "enrichDetails": true,
  "maxItems": 50
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing scraped Otomoto.pl Polish vehicles

# 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"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kthesat/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" }] }

# Run the Actor and wait for it to finish
run = client.actor("kthesat/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"
    }
  ]
}' |
apify call kthesat/otomoto-scraper --silent --output-dataset

```

## MCP server setup

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