# Otomoto.pl Scraper | Poland Vehicle Listings, Prices & Specs (`stippled_starfish/otomoto-pl`) Actor

Extract public Otomoto.pl vehicle listings to JSON: make, model, year, mileage, fuel, price, city, region and listing URL. Point it at any public Otomoto search URL. For the Polish used-car market. No seller contacts.

- **URL**: https://apify.com/stippled_starfish/otomoto-pl.md
- **Developed by:** [Corina Florea](https://apify.com/stippled_starfish) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 vehicles

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/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 Vehicle Listings, Prices & Specs

Scrape **public Otomoto.pl vehicle listings** into JSON/CSV: make, model, year, mileage, fuel, price, currency, city, region and listing URL. Pass one or more **public Otomoto search URLs** (passenger cars, a given make, or any filtered search you built on otomoto.pl). The Actor paginates with `?page=` until `maxItems` and deduplicates by vehicle id/URL inside the run.

It does **not** extract phone numbers or seller contacts. It is a list/search scraper for public Polish vehicle ads.

**Store page:** https://apify.com/stippled_starfish/otomoto-pl

### What you can do with it

- Monitor asking prices for a make/model on the Polish market.
- Build a structured table of year, mileage, fuel, city and price for analysis.
- Run several Otomoto search URLs together (different makes or body types).
- Combine with the Autovit.ro Actor if you also follow the Romanian market.

### What this Actor does not do

- **No contacts** (phone, email, dealer name).
- **No VIN, photos, description, or equipment lists.**
- **No dedicated `make` input** — put the make in the URL (`/osobowe/bmw`).
- **Not Autovit, mobile.de or OLX.** See Related Actors.

### Quick start

1. On [otomoto.pl](https://www.otomoto.pl) open a search (for example BMW passenger cars) and copy the URL.
2. Paste it into `startUrls`. The prefill is `https://www.otomoto.pl/osobowe/bmw`.
3. Leave proxy off, keep `maxItems=10` for a trial, and start.
4. Export the dataset.

On 30 November 2026 the prefill finished in **62 seconds** with **10 vehicles** (run `fBXbnEqCwA6KVo0h3`, build 1.0.3). In the same test series, **proxy on** produced a succeeded run with **0 results** on this Actor — keep the default (proxy off).

### Input

`startUrls` is required.

| Field | Type | Required | Default / prefill | Description |
| --- | --- | --- | --- | --- |
| `startUrls` | array of URLs | yes | BMW passenger-car search | Public Otomoto.pl result pages. |
| `maxItems` | integer ≥ 1 | no | default 50, prefill 10 | Stop after this many unique vehicles. |
| `proxyConfiguration` | proxy object | no | `useApifyProxy: false` | Direct connection by default. Prefer off unless you are blocked; proxy-on was empty in the 30 November 2026 probe. |

#### How to build Otomoto start URLs

Use otomoto.pl filters and copy the address bar. Examples (verify they still resolve):

- BMW cars: `https://www.otomoto.pl/osobowe/bmw`
- All passenger cars: `https://www.otomoto.pl/osobowe`
- A filtered search (year, fuel, price): apply filters on the site; the Actor keeps the query string.
- Other vehicle types: use the corresponding Otomoto section path (for example vans/moto if you need them) and paste that URL.

Two makes in one run:

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

Prefill:

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

#### Pagination and limits

The Actor increments the `page` query parameter while `maxItems` is not reached. Cap `maxItems` to avoid walking empty pages at the end of a small result set.

### Output

Each dataset item is a flat JSON object (one row per record). The examples below are **real rows** from a succeeded test run on 30 November 2026 (build 1.0.3). `scrapedAt` is stored as UTC ISO-8601.

```json
{
  "id": "6151969533",
  "title": "BMW Seria 2 M240i xDrive sport",
  "price": 65000,
  "currency": "PLN",
  "url": "https://www.otomoto.pl/osobowe/oferta/bmw-seria-2-ID6Il2j3.html",
  "make": "BMW",
  "model": "Seria 2",
  "year": "2018",
  "mileage": "90000 km",
  "fuel": "Benzyna",
  "city": "Wrocław",
  "region": "Dolnośląskie",
  "scrapedAt": "2026-11-30T21:09:38.330Z"
}
```

```json
{
  "id": "6151932766",
  "title": "BMW Seria 3 330i xDrive M Sport sport",
  "price": 32300,
  "currency": "PLN",
  "url": "https://www.otomoto.pl/osobowe/oferta/bmw-seria-3-ID6IkSK2.html",
  "make": "BMW",
  "model": "Seria 3",
  "year": "2024",
  "mileage": "55733 km",
  "fuel": "Benzyna",
  "city": "Warszawa",
  "region": "Mazowieckie",
  "scrapedAt": "2026-11-30T21:09:39.044Z"
}
```

```json
{
  "id": "6151937123",
  "title": "BMW X1 xDrive25i M Sport sport",
  "price": 19800,
  "currency": "PLN",
  "url": "https://www.otomoto.pl/osobowe/oferta/bmw-x1-ID6IkTSj.html",
  "make": "BMW",
  "model": "X1",
  "year": "2017",
  "mileage": "54925 km",
  "fuel": "Benzyna",
  "city": "Warszawa",
  "region": "Mazowieckie",
  "scrapedAt": "2026-11-30T21:09:39.346Z"
}
```

#### Field reference

| Field | Meaning |
| --- | --- |
| `id` | Ad id (string). |
| `title` | Ad title. |
| `price` | Numeric price (for example `65000`). |
| `currency` | Currency code, typically `PLN`. |
| `url` | Public Otomoto listing URL. |
| `make` | Make (for example `BMW`). |
| `model` | Model (for example `Seria 2`). |
| `year` | Year as a string (`year` or `first_registration_year` from the ad parameters). |
| `mileage` | Mileage text as returned by the site, often with a unit (`"90000 km"`). |
| `fuel` | Fuel type (for example `Benzyna`). |
| `city` | City (for example `Wrocław`, `Warszawa`). |
| `region` | Voivodeship (for example `Dolnośląskie`, `Mazowieckie`). |
| `scrapedAt` | UTC ISO-8601 timestamp. |

### Pricing

Pay per event: you are charged **$0.0015 per vehicle** written to the dataset (≈ **$1.50 per 1,000 vehicles**).

- The event name is `vehicle`.
- Duplicates **inside a single run** (same listing/offer id or URL, depending on the Actor) are skipped and are **not** charged again.
- Duplicates **across different runs** are charged again, because each run is independent. Use `maxItems` and your own id store if you want to limit this.
- Platform compute for paying users is covered by the Actor’s pricing model as configured (you pay the `vehicle` events; you do not set a separate compute tariff in the input). Users on the Apify **free** plan spend their included credits according to Apify’s platform rules and do not generate payout for the developer.
- Set **Max items** to cap the cost of a run. A run of 100 vehicles costs $0.15; 1,000 vehicles cost $1.50, plus any unused start if you abort early.

A 10-vehicle trial lets you check PLN prices and mileage formatting before you scale.

### Use cases

1. **Polish market price band** for a make/model, scheduled daily.
2. **City / voivodeship view** — group by `city` or `region`.
3. **RO vs PL comparison** together with Autovit.ro (convert PLN/EUR in your pipeline; this Actor does not convert).
4. **New ads** — diff `id` across runs yourself.

### Scheduling and monitoring

This Actor is built for repeated runs, not only one-off exports. It does **not** have a built-in “only new items” mode: each run scrapes the current public result pages up to `maxItems`. To monitor a market daily:

1. In Apify Console, open the Actor → **Schedules** (or create a **Task** with a saved input, then schedule the Task).
2. Use a cron such as `0 6 * * *` (every day at 06:00 UTC) or a morning slot in your timezone.
3. Keep `maxItems` at a level that covers the first pages of your search (for example 50–200) so a daily run stays cheap and finishes quickly.
4. Add a webhook or a Google Sheets / Make integration on success.
5. Deduplicate **across runs** on your side using `id` and/or `url`. A simple approach is to store seen ids in a Sheet, a database, or an Apify Key-Value Store, and keep only ids you have not seen before. That gives you a practical “new listings” feed without a special Actor event.

Memory defaults to **1024 MB**. Direct connection (Apify Proxy off) is the default and was used in the 30 November 2026 test runs. Enable Apify Proxy in the input only if the site starts blocking your runs (timeouts, empty datasets, or HTTP blocks in the log).

### Integrations and API

Results land in the run’s default dataset as a flat table. Download JSON, JSONL, CSV or Excel from the Dataset tab.

Actor name: `stippled_starfish/otomoto-pl`. Prefill used in the examples below (Otomoto BMW passenger cars, 10 vehicles, proxy off):

```bash
curl "https://api.apify.com/v2/acts/stippled_starfish/otomoto-pl/runs?token=YOUR_TOKEN" \
  -X POST -H "Content-Type: application/json" \
  -d '{"startUrls":[{"url":"https://www.otomoto.pl/osobowe/bmw"}],"maxItems":10,"proxyConfiguration":{"useApifyProxy":false}}'
```

Then read the dataset from the run’s `defaultDatasetId`:

```bash
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json&clean=true&token=YOUR_TOKEN"
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('stippled_starfish/otomoto-pl').call({
  startUrls: [{ url: 'https://www.otomoto.pl/osobowe/bmw' }],
  maxItems: 10,
  proxyConfiguration: { useApifyProxy: false },
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Python:

```python
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("stippled_starfish/otomoto-pl").call(run_input={
    "startUrls": [{"url": "https://www.otomoto.pl/osobowe/bmw"}],
    "maxItems": 10,
    "proxyConfiguration": {"useApifyProxy": False},
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

To run this every day, save the input as an Actor Task and attach an [Apify Schedule](https://docs.apify.com/platform/schedules). To append rows to a spreadsheet, use Apify’s Google Sheets integration on that Task and keep `id` as the unique key. For your own system, add a webhook on `ACTOR.RUN.SUCCEEDED` and fetch `/datasets/{id}/items`.

### Limitations (please read)

- **No seller contacts.**
- **Mileage and year are strings**; mileage often includes `km`.
- **Search payload only**, not a full detail page.
- **Proxy on may yield 0 items** (observed 30 November 2026). Leave it off unless direct connection starts failing.
- Pagination may request an extra empty page at the end.
- Polish site layout/payload changes can break parameter mapping (`make`, `fuel_type`, location). Check the log for `No Otomoto ads on …`.

### Troubleshooting

| Symptom | What to check |
| --- | --- |
| Error `startUrls required` | Paste an Otomoto search URL. The prefill is valid. |
| Succeeded with 0 items | Turn **proxy off** and retry. Confirm the URL still opens in a browser without a login wall. |
| Need a dealer phone | Not provided by this Actor. |
| Currency is PLN | Expected for this market. Convert downstream if you need EUR. |
| Characters in city names (`Wrocław`) | Stored as Unicode. Export CSV as UTF-8. |

### FAQ

**Does it work for Otomoto.ro or Autovit?** This Actor is for **otomoto.pl**. Use the Autovit.ro Actor for Romania.

**Are the sample rows real?** Yes — 30 November 2026 prefill run, BMW search, 10 vehicles (three shown above).

**Can I filter by fuel in the input?** Not as a dedicated field. Apply the filter on Otomoto and paste the URL.

**Is it legal to store these ads?** The Actor only reads public pages. You are the controller for your own use of the data; see the legal section below.

### Public data, legal use and GDPR

This Actor only reads **publicly available pages**. It does not log in, it does not bypass paywalls or CAPTCHAs, and it does not attempt to open non-public seller or user accounts.

You (the person or company that starts the run) are the **data controller** for each run under the GDPR. Some fields may contain or relate to personal data (for example an agency name, a city, or a public listing URL). You need a lawful basis for your own use — typically legitimate interest for B2B market research, or a contract if you process data for a client — and you must not use the dataset for spam, unsolicited marketing to private individuals, or any purpose that violates the site’s terms or applicable law.

This is not legal advice. If you process personal data at scale, document your purpose and retention period.

### Related Actors

| Actor | Store page | Typical use |
| --- | --- | --- |
| OLX.ro Scraper | https://apify.com/stippled_starfish/olx-ro-listings | Romania classifieds (all categories) |
| Storia.ro Scraper | https://apify.com/stippled_starfish/storia-ro | Romania real-estate listings |
| Autovit.ro Scraper | https://apify.com/stippled_starfish/autovit-ro | Romania used-car listings |
| Otomoto.pl Scraper | https://apify.com/stippled_starfish/otomoto-pl | Poland vehicle listings |
| Idealo.de Scraper | https://apify.com/stippled_starfish/idealo-de | Germany price comparison offers |

### Version and test status

Current published build: **1.0.3** (30 November 2026).

- Input `prefill` and `exampleRunInput` are set, so **Try for free** and Apify’s daily Store test have a small, valid example.
- Default memory is 1024 MB. Default proxy is **off** (direct connection), because on 30 November 2026 some sites returned an empty dataset with Apify Proxy left on.
- The same prefill was run as a Store-style test on 30 November 2026: status `SUCCEEDED`, non-empty dataset, under 5 minutes.

### Support

Something broken, a selector drift, or a field you need that the list page already exposes? Open an issue on the Actor’s **Issues** tab in Apify Console or on the Store page. Issues are monitored and fixes are prioritised.

Please include: the start URL or keyword you used, `maxItems`, whether proxy was on, the run id, and a short description of the expected vs actual result. Do not paste API tokens.

# Actor input Schema

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

Listing/search/product pages to scrape (public pages only).

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

Stop after this many dataset items.

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

Direct connection by default (tested 2026-11-30). Enable Apify Proxy only if the site blocks requests.

## Actor input object example

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

# 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 = {
    "startUrls": [
        {
            "url": "https://www.otomoto.pl/osobowe/bmw"
        }
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("stippled_starfish/otomoto-pl").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": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("stippled_starfish/otomoto-pl").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": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call stippled_starfish/otomoto-pl --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stippled_starfish/otomoto-pl"
        }
    }
}
```

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/1T87xPIa7ZqYKdngh/builds/Vxap8nVKsTUZPjxew/openapi.json
