# Otomoto Car Scraper: Used and New Car Listings in Poland (`santamaria-automations/otomoto-car-scraper`) Actor

Get car listings from Otomoto.pl search result pages: make, model, version, year, mileage, fuel, gearbox, engine size, power, price with currency and gross or net, location, dates, seller type and dealer details for dealers, photos and badges. Paste a search address and get structured rows.

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

## Pricing

from $1.00 / 1,000 otomoto car listing scrapeds

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 Car Scraper: Used and New Car Listings in Poland

Get car listings from Otomoto.pl search result pages as clean rows. Set your filters on otomoto.pl, copy the address of the result page, paste it into the actor and run. Each row has the make, model, version, year, mileage, fuel, gearbox, engine size, power, price, location, dates, seller type, dealer details and photos. No login is needed.

### What you get

- One row per car listing, in the order the site shows them.
- Prices as numbers, with the currency (PLN), whether the price is gross or net, price labels such as "invoice issued", the site's price indicator and the price drop when a listing has one.
- Technical data: make, model, version, year, mileage in km, fuel, gearbox, engine capacity in cc and power in hp where the listing gives them.
- Location: city and region.
- Dates: when the listing was created and when it was last refreshed to the top of the results.
- Seller data: seller type (dealer or private). For dealers: name, dealer number, the dealer's page on Otomoto, logo, join date and public badges. A private seller's name is never part of the result.
- Listing flags: promoted, highlighted, premium top ad, paid services, manufacturer program, register check mark and badges such as low mileage.
- The main photo in two sizes, the short description line and every attribute the result carries in a `parameters` object.

### Input

| Field | Description |
| --- | --- |
| `startUrls` | One or more search result addresses from `otomoto.pl`. Required. |
| `maxResults` | Most listings to return for each address. Default 50. |
| Connection settings | Leave the default. The actor picks the connection it needs. |

Filters are set on otomoto.pl itself: choose make, model, price, year, mileage, fuel, place and more there, then copy the address from the browser. The actor does not build filter addresses from separate input fields.

Example:

```json
{
  "startUrls": [
    "https://www.otomoto.pl/osobowe/toyota/corolla",
    "https://www.otomoto.pl/osobowe/volkswagen/golf"
  ],
  "maxResults": 40
}
```

The actor starts at the first page of each address (or at the page given by `page` in it) and moves on to the next pages until it has `maxResults` listings for that address or the search has no more pages.

Addresses under paths that the site's robots.txt rules do not allow (for example `/api/`, `/ajax/` or `/catalog/`) are not read. The run says so in its status message, and if none of your addresses can be read it stops with an error and charges nothing.

### Output

One row per listing. A sample row:

```json
{
  "id": "6151526392",
  "url": "https://www.otomoto.pl/osobowe/oferta/toyota-corolla-ID6Ijb1C.html",
  "title": "Toyota Corolla 1.8 Hybrid GR Sport",
  "make": "Toyota",
  "model": "Corolla",
  "version": "1.8 Hybrid GR Sport",
  "year": 2021,
  "mileage_km": 27750,
  "fuel": "Hybryda",
  "gearbox": "Automatyczna",
  "engine_capacity_cc": 1798,
  "power_hp": 122,
  "price": 52900,
  "currency": "PLN",
  "price_type": "gross",
  "price_evaluation": "NONE",
  "location_city": "Warszawa",
  "location_region": "Mazowieckie",
  "created_at": "2026-11-04T14:15:22Z",
  "seller_type": "private",
  "dealer_name": null,
  "thumbnail_url": "https://ireland.apollo.olxcdn.com/v1/files/cept9cgyy2dc1-OTOMOTOPL/image;s=640x480",
  "position": 1,
  "page": 1
}
```

Fields the page does not show are `null`. Lists that are empty are `[]`.

### Pricing

You pay per run start and per listing delivered.

| Event | Price |
| --- | --- |
| Actor start (`actor-start`) | $0.001 |
| Car listing scraped (`otomoto-car-result`) | $1.00 / 1,000 |

The start event is charged once per run, together with the first delivered rows. A run that delivers nothing is not charged. If you set a maximum cost per run, the actor stops cleanly when the limit is reached and reports how many listings it delivered.

### Limitations

- Only data that the search result page shows is returned. Details that exist only on the single car page (full description, equipment list, VIN, all photos, seller phone number) are not part of this actor.
- The result carries one photo per listing, in two sizes. The number of photos a listing has is not shown, so there is no photo count.
- Body type, colour, condition (new or used), damaged flag and negotiable flag are returned when the result carries them. In the pages checked they were usually missing, so expect `null` for these fields.
- A private seller's name is not shown on the result, so `dealer_name` is `null` for private listings. Dealer details are returned for dealers only.
- Fuel and gearbox are the Polish texts the site shows. The machine values (for example `petrol`, `manual`) are in `parameters`.
- If an address contains a make or model the site does not know, the site shows a wider search instead. The actor detects this, reads nothing for that address and says so in the status message.
- Sponsored and top listings can repeat between pages. The actor returns each listing once per run.
- Pages are large, so a run takes a few seconds per page. A run of 80 listings takes about a minute.
- The site can change its page layout. If a page cannot be read, the run stops with a clear status message and nothing is charged for it.
- Only the Polish site (`otomoto.pl`) is supported.

### FAQ

**Do I need an Otomoto account?** No. The actor reads public search result pages.

**How do I filter by make, price or location?** Set the filters on otomoto.pl, copy the address from the browser and paste it into `startUrls`.

**How many listings can I get from one search?** The actor keeps reading pages until it reaches `maxResults` for the address or the search ends. Use narrower searches (for example by year or price range) to cover a large market in parts.

**Why are some fields empty?** The result shows different details for different cars. Some fields, such as body type or colour, are usually not part of the result at all.

**Is a listing returned twice?** No. Each listing id is returned once per run, even when it appears on several pages or in several addresses.

**What happens if the run is stopped and restarted?** The actor saves its progress after every batch. A restarted run continues where it stopped and does not charge twice for rows it already delivered.

**Can I get the price as a number?** Yes. `price` is a number and `currency` is a separate field.

# Actor input Schema

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

Search result pages from otomoto.pl. Set your filters on otomoto.pl, copy the address from the browser and paste it here, for example https://www.otomoto.pl/osobowe/toyota/corolla. The actor reads page after page (about 32 listings each) until it has Max Results listings for each address. Addresses under /api/, /ajax/ or /catalog/ are not read because the site's robots.txt rules do not allow them.

## `maxResults` (type: `integer`):

Most listings to return for each address. 0 or empty uses 50.

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

Connection settings. The default works for most runs; the actor chooses the level it needs and reads the Polish site from a Polish location.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.otomoto.pl/osobowe/toyota/corolla",
    "https://www.otomoto.pl/osobowe/volkswagen/golf"
  ],
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset with one row per car listing

# 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": [
        "https://www.otomoto.pl/osobowe/toyota/corolla",
        "https://www.otomoto.pl/osobowe/volkswagen/golf"
    ],
    "maxResults": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/otomoto-car-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": [
        "https://www.otomoto.pl/osobowe/toyota/corolla",
        "https://www.otomoto.pl/osobowe/volkswagen/golf",
    ],
    "maxResults": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/otomoto-car-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": [
    "https://www.otomoto.pl/osobowe/toyota/corolla",
    "https://www.otomoto.pl/osobowe/volkswagen/golf"
  ],
  "maxResults": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/otomoto-car-scraper --silent --output-dataset

```

## MCP server setup

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