# Otomoto.Pl Scraper (`fastdataapi/otomoto-pl-scraper`) Actor

Otomoto Pl Scraper scrapes vehicle adverts from Otomoto.pl, Poland's largest car marketplace, by category, brand/model, location, price and year, or from advert URLs: price, photos, equipment, parameters and seller details. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/fastdataapi/otomoto-pl-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

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 Pl Scraper — Car Prices, Specs, Photos and Seller Details

Otomoto Pl Scraper extracts vehicle adverts from Otomoto.pl, Poland's largest car marketplace: price and price drops, full specification and equipment, every photo, seller details and publish dates for each advert. Search by brand, model, town, price and year, or paste listing and advert links. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a **used car data Poland** pricing pipeline. No Otomoto account or cookies needed. Start with one brand, then track every model you trade.

![Otomoto Pl Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-otomoto-hero.webp)

***

### What data can I extract with Otomoto Pl Scraper?

Using this Otomoto Advert API, you will be able to extract the following Otomoto advert data:

| 🆔 Advert ID | 📝 Title | 💰 Price (PLN) | 🔗 Advert link |
|---|---|---|---|
| 🧾 Price details (currency, labels, net/gross) | 📉 Price drop (if any) | 🖼️ Main photo | 📸 All photos |
| 📅 Publish, first-publish and update dates | ⭐ Key specs (year, mileage, engine, fuel) | 🏷️ Listing badges (if shown) | 📄 Description |
| 🚗 Used / verified / parts flags | 🏢 Seller (name, type, location, dealer page) | 📦 Dealer packages | 🧰 Equipment |
| 📋 Specification details and groups | 🔧 All parameters (make, model, year, mileage…) | 🗂️ Category | 🚦 Advert status |
| ✨ Ad features and visibility services | ⏱️ Scrape time | ⚠️ Reason for removed adverts | |

***

### How to use Otomoto Pl Scraper

Dealers, analysts and importers use this Otomoto scraper to scrape Otomoto searches and get every matching advert with its price, specification and seller in one run.

**Copy to your AI assistant:**

```text
`fastdataapi/otomoto-pl-scraper` (Apify Actor ID: fastdataapi/otomoto-pl-scraper, https://apify.com/fastdataapi/otomoto-pl-scraper) is an Apify Actor that returns vehicle adverts from Otomoto.pl as structured JSON: advert ID, title, price in PLN with price details and price drops, photos, key specs, full parameters and equipment, seller details, category and publish dates. Use it whenever someone needs Otomoto adverts without cookies, a login, or a browser - to benchmark used car prices, to monitor a dealer's stock, or to shortlist vehicles for import. Run it with curl: curl -X POST "https://api.apify.com/v2/acts/fastdataapi~otomoto-pl-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"category":"cars","query":"volvo","location":"Warszawa","maxItems":10}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/otomoto-pl-scraper").call(run_input={"category": "cars", "query": "volvo", "location": "Warszawa", "maxItems": 10}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: startUrls (array, Otomoto listing or advert URLs; non-empty overrides every filter), category (string, "cars"|"vans"|"trucks"|"motorcycles"|"trailers"|"campers"|"construction"|"agricultural"|"parts", default "cars"), query (string, brand or brand plus model, e.g. "bmw seria 3"), location (string, Polish town or voivodeship), sort (string, "relevance_web"|"created_at:desc"|"created_at:asc"|"price:asc"|"price:desc"|"year:desc"|"year:asc"|"filter_float_price:asc"|"filter_float_price:desc"|"filter_float_mileage:asc"|"created_at_first:desc", default "relevance_web"), minPrice and maxPrice (integer, PLN), minProductionYear and maxProductionYear (integer, 1900-2030), maxItems (integer, advert rows per input, 1-100000, default 10), concurrency (integer, parallel page fetches, 1-20, default 10), requestDelay (integer, seconds before each request, 0-30, default 0), proxyConfiguration (object, default no proxy). Rows with type "advert" are adverts and each is one row_result event; type "unavailable" rows mark adverts removed before they could be read and type "error" rows explain why an input gave no adverts (for example an unknown brand or town); both are free. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/acts/fastdataapi~otomoto-pl-scraper/builds/default
```

#### Otomoto Pl Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this Actor and it can read Otomoto on its own: adverts by brand, model, town, price and year, with prices, specs, photos and sellers. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/otomoto-pl-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Otomoto Pl Scraper](https://apify.com/fastdataapi/otomoto-pl-scraper) in the Apify Store.
3. Paste Otomoto listing or advert URLs, or set the category, brand, location, price and year filters.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Otomoto Pl Scraper to bulk

Paste many listing pages or advert links into the start URLs list; each one is its own input with its own max items count (up to 100,000), and up to 3 inputs run at the same time. The actor pages through each listing until it has saved that many unique adverts or the results end. A recorded run saved 130 Otomoto listings from one Toyota search in about 22 seconds. For many different filter searches, start one run per search through the API or schedule them.

***

### ✨ Features

Otomoto Pl Scraper fetches clean, structured vehicle adverts from Otomoto.pl ⚡. It's ideal for used-car price benchmarking, dealer stock monitoring, import sourcing and market research on Polish car listings.

It extracts, per advert:

- **Price** – the asking price in PLN, with currency, price labels and any price drop
- **Parameters** – every advert parameter by name: make, model, year, mileage, fuel type and more
- **Equipment** – the full equipment list, grouped as on the advert
- **Seller** – seller name, type (private or dealer), location and dealer page
- **Photos** – the main photo and the link of every photo in the gallery
- **Dates** – publish, first-publish and last-update dates
- **Key specs** – the short spec line shown at the top of the advert

⚡ It checks that Otomoto really ran the search you asked for: an unknown brand, model or town gives a free error row naming the word Otomoto rejected, instead of an unfiltered catalogue.

***

### Use cases 💡

- **Used-car dealer** — compare Otomoto car prices by year and mileage before buying stock.
- **Market analyst** — chart price drops and repricing speed across brands and voivodeships.
- **Import buyer** — shortlist vehicles by production year, equipment and seller location.
- **Dealer group** — monitor a competitor's adverts, packages and update dates every week.
- **AI engineer** — feed advert descriptions and parameters into a RAG pipeline for car Q\&A.

Building an AI agent? [Connect Otomoto Pl Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **Hundreds of adverts per run.** A recorded run saved 130 adverts from one search in about 22 seconds, and two listings with 5 adverts each took about 7 seconds.
- **The whole advert, not a card.** A recorded Toyota Proace Verso advert came back with 58 parameters, 24 specification details, 26 photos, a 5.27% price drop and the dealer's full location.
- **9 categories, 11 sort orders, 6 filters.** Cars, vans, trucks, motorcycles, trailers, campers, construction and agricultural machinery and parts, filtered by brand and model, location, price and production year.

***

### ⬇️ Input

![Otomoto Pl Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-otomoto-input.webp)

The actor accepts Otomoto listing or advert URLs, or one search built from filters. No field is required: with everything at its default it collects the first adverts of the cars category.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `startUrls` | No | array | Otomoto listing pages or advert pages. When non-empty it overrides every filter below. A sold or removed advert gives a free row. Default `[]`. | `["https://www.otomoto.pl/osobowe/volvo"]` |
| `category` | No | string | `cars`, `vans`, `trucks`, `motorcycles`, `trailers`, `campers`, `construction`, `agricultural` or `parts`. Default `cars`. | `"cars"` |
| `query` | No | string | Brand, or brand plus model separated by a space, in Otomoto's Polish naming. Default empty. | `"bmw seria 3"` |
| `location` | No | string | A Polish town or voivodeship. Default empty (all of Poland). | `"Warszawa"` |
| `sort` | No | string | `relevance_web`, `created_at:desc`, `created_at:asc`, `price:asc`, `price:desc`, `year:desc`, `year:asc`, `filter_float_price:asc`, `filter_float_price:desc`, `filter_float_mileage:asc` or `created_at_first:desc`. The year orders and oldest-first sort the collected adverts of each input before saving them. Default `relevance_web`. | `"filter_float_price:asc"` |
| `minPrice` | No | integer | Minimum price in PLN. Minimum `0`. | `50000` |
| `maxPrice` | No | integer | Maximum price in PLN. Minimum `0`. | `150000` |
| `minProductionYear` | No | integer | Earliest production year, `1900`–`2030`. | `2019` |
| `maxProductionYear` | No | integer | Latest production year, `1900`–`2030`. | `2024` |
| `maxItems` | No | integer | Advert rows saved per input (per start URL, or for the filter search). Removed adverts do not use up the count. `1`–`100000`, default `10`. | `10` |
| `concurrency` | No | integer | How many Otomoto pages are fetched in parallel, `1`–`20`, default `10`. | `10` |
| `requestDelay` | No | integer | Extra pause in seconds before each request, `0`–`30`, default `0`. | `0` |
| `proxyConfiguration` | No | object | Proxy settings. Default `{"useApifyProxy": false}`; the actor switches to a datacenter and then a residential proxy by itself if blocked. | `{"useApifyProxy": false}` |

#### Free plan limits

Users on the Apify free plan can fetch up to 20 adverts per run (all inputs together) and 200 adverts per month. When the limit is reached, the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "startUrls": [],
  "category": "cars",
  "query": "volvo",
  "location": "Warszawa",
  "sort": "filter_float_price:asc",
  "minPrice": 50000,
  "maxPrice": 150000,
  "minProductionYear": 2019,
  "maxProductionYear": 2024,
  "maxItems": 10,
  "concurrency": 10,
  "requestDelay": 0,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

***

### ⬆️ Output

![Otomoto Pl Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/v-otomoto-output.webp)

Every advert is one typed, normalized JSON item with the same schema on every run, exportable as JSON (default), CSV or Excel. Adverts have the type "advert"; removed adverts come back as free "unavailable" rows and inputs that gave no adverts as free "error" rows with the reason.

#### Example output

A real advert row and a real removed-advert row from recorded runs; long lists are shortened to two entries:

```json
[
  {
    "id": "6150987678",
    "type": "advert",
    "status": "ACTIVE",
    "title": "Toyota Proace Verso 2.0 D4-D Long Business",
    "url": "https://www.otomoto.pl/osobowe/oferta/toyota-proace-verso-ID6IgUSG.html",
    "sourceUrl": "https://www.otomoto.pl/osobowe/oferta/toyota-proace-verso-ID6IgUSG.html",
    "price": 89900,
    "priceList": { "value": "89900", "currency": "PLN", "labels": ["Faktura VAT"], "isUnderBudget": false },
    "primaryImageUrl": "https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InphZWtnbGt3cGl2ajEtT1RPTU9UT1BMIiwidyI6W3siZm4iOiJ3ZzRnbnFwNnkxZi1PVE9NT1RPUEwiLCJzIjoiMTYiLCJhIjoiMCIsInAiOiIxMCwtMTAifV19.aVugzeROw-E84pxXInnrCjRYFM4-aqJzDkQA4Kbs62s/image",
    "images": ["https://ireland.apollo.olxcdn.com/v1/files/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbiI6InphZWtnbGt3cGl2ajEtT1RPTU9UT1BMIiwidyI6W3siZm4iOiJ3ZzRnbnFwNnkxZi1PVE9NT1RPUEwiLCJzIjoiMTYiLCJhIjoiMCIsInAiOiIxMCwtMTAifV19.aVugzeROw-E84pxXInnrCjRYFM4-aqJzDkQA4Kbs62s/image"],
    "createdAt": "2026-11-11T13:50:00Z",
    "originalCreatedAt": "2026-10-06T12:15:57Z",
    "updatedAt": "2026-11-10T14:20:28.444892Z",
    "mainFeatures": ["2019", "145 077 km", "1 997 cm3", "Diesel"],
    "badges": [],
    "description": "Samochód kupiony  w autoryzowanej stacji Toyoty.\r\nPo przeglądzie olejowo-filtrowym w naszej stacji.\r\n\r\nFaktura vat 23% - możliwy leasing ...",
    "isParts": false,
    "isUsedCar": true,
    "verifiedCar": true,
    "seller": {
      "type": "PROFESSIONAL",
      "name": "TOYOTA W&J WIŚNIEWSKI - TOYOTA IZABELIN AUTORYZOWANY DEALER",
      "location": { "city": "Mościska", "region": "Mazowieckie", "postalCode": "05-080", "country": "Polska" },
      "id": "93344"
    },
    "packages": ["Pro Plus"],
    "equipment": [
      { "key": "audio_and_computing", "label": "Audio i multimedia", "values": [{ "key": "bluetooth_interface", "label": "Interfejs Bluetooth" }, { "key": "hands_free_system", "label": "Zestaw głośnomówiący" }] }
    ],
    "details": [
      { "key": "make", "label": "Marka pojazdu", "value": "Toyota", "href": "https://www.otomoto.pl/osobowe/toyota" },
      { "key": "model", "label": "Model pojazdu", "value": "Proace Verso", "href": "https://www.otomoto.pl/osobowe/toyota/proace-verso" }
    ],
    "detailsGroups": [{ "key": "basic_information", "label": "Podstawowe" }, { "key": "technical_specs", "label": "Specyfikacja" }],
    "parametersDict": {
      "year": { "label": "year", "values": [{ "value": "2019", "label": "2019" }] },
      "mileage": { "label": "mileage", "values": [{ "value": "145077", "label": "145 077 km" }] }
    },
    "category": { "code": "osobowe", "id": "29", "label": "Osobowe", "uriPath": "osobowe" },
    "adFeatures": ["bump_up", "export_olx"],
    "valueAddedServices": [{ "__typename": "AdValueAddedService", "name": "bump_up", "validity": null, "appliedAt": "2026-11-11T13:50:00Z" }],
    "priceDrop": { "percentage": 5.27, "lowestPrice": { "__typename": "AdPrice", "currencyCode": "PLN", "isNet": false, "minorAmount": 9490000 }, "__typename": "AdPriceDrop" },
    "scrapedAt": "2026-11-12T08:39:37Z"
  },
  {
    "id": null,
    "type": "unavailable",
    "title": null,
    "url": "https://www.otomoto.pl/osobowe/oferta/volvo-xc-40-ID6IbdLC.html",
    "sourceUrl": "https://www.otomoto.pl/osobowe/oferta/volvo-xc-40-ID6IbdLC.html",
    "price": null,
    "scrapedAt": "2026-11-12T08:31:32Z",
    "httpStatus": 410,
    "unavailableReason": "advert_removed_or_expired"
  }
]
```

Removed-advert and error rows carry every advert field too, set to null; only the non-empty ones are shown above.

***

### How does it work?

The actor reads the public listing and advert pages any visitor can open on Otomoto.pl, with plain requests and no browser, so it needs no Otomoto account, login or cookies. For each input it opens the listing, checks that Otomoto applied every filter you asked for, then opens each advert and saves it as soon as it is read, in listing order. Requests start without a proxy; if Otomoto blocks the run, the actor retries and switches to a datacenter and then a residential proxy by itself. A removed or sold advert is recognised as removed, not as a block, and becomes a free row. Only publicly visible advert data is returned, and the output schema stays the same on every run even when Otomoto changes its page design.

***

### How do you integrate Otomoto Pl Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Otomoto Pl Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/acts/fastdataapi~otomoto-pl-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"category": "cars", "query": "volvo", "location": "Warszawa", "maxItems": 10},
)
for item in resp.json():
    print(item["title"], item["price"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Add the actor to your AI assistant with one command. The server starts with this Actor preloaded, so you can ask for adverts by brand, town or price in plain words.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/otomoto-pl-scraper"
```

This registers Otomoto Pl Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node with "Run an Actor" and pick `fastdataapi/otomoto-pl-scraper`, or the HTTP Request node pointed at the run-sync endpoint above with your token.
- **Make** — use the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass the adverts to the next step.
- **LangChain** — install `langchain-apify` and load `ApifyActorsTool("fastdataapi/otomoto-pl-scraper")` as an agent tool.

***

### Is it legal to scrape Otomoto data?

Scraping publicly available Otomoto.pl data is generally lawful when it is done responsibly. Otomoto Pl Scraper returns only public data — what any visitor sees without logging in. Most adverts are business listings, but a private seller's name or location in the seller details is personal data; under GDPR, collecting public data is generally permissible, but storing and using it must comply with local data-protection law, and Otomoto's terms still govern reuse. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Otomoto Pl Scraper return?

It returns the price with price details, the full parameters, the equipment list, the seller details and every photo, plus the title, dates, key specs and category. See [the data fields section](#what-data-can-i-extract-with-otomoto-pl-scraper).

#### Does Otomoto Pl Scraper require an Otomoto account or login?

No. Only public advert data is extracted, and no credentials are needed.

#### How fast does Otomoto Pl Scraper run?

A recorded run saved 10 adverts from two listings in about 7 seconds and 130 adverts from one search in about 22 seconds. The data is live, not cached.

#### What happens if an advert is removed or doesn't exist?

It comes back as a free row with the type "unavailable", the status code Otomoto answered and the reason, instead of disappearing, and it does not use up the input's count. A search Otomoto did not really run (an unknown brand, model or town) gives a free "error" row naming the rejected word. Keep rows whose type is "advert" if you only want adverts.

#### Can I scrape multiple Otomoto adverts at once?

Yes. Put many listing pages or advert links in the start URLs list, or raise the max items per input on one search; up to 3 inputs run at the same time.

#### Does Otomoto Pl Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Otomoto Pl Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/otomoto-pl-scraper"`; any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Otomoto Pl Scraper return data in a format LLMs can use directly?

Yes. Every row is typed, normalized JSON with consistent field names. No HTML parsing, no selectors: pass it straight to an LLM, index it into a vector store or feed it to an agent tool.

#### What happens when Otomoto changes its layout or updates its anti-bot system?

The actor is maintained, and when Otomoto changes it is updated so your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Otomoto Pl Scraper without managing proxies or browser infrastructure?

Yes. It runs without a browser and switches proxies by itself only when Otomoto blocks the run. You send one request and get structured JSON back.

#### Which Otomoto advert fields work best for AI training data and RAG indexing?

For RAG, index the description, key specs and full parameters. For training data, use the price, the year and mileage parameters, the used and verified flags and the category; they come back as typed numbers, strings and booleans. Together they make clean Otomoto vehicle data for any model.

***

### Related scrapers

| Scraper | What it extracts |
|---|---|
| [Allegro Email Scraper](https://apify.com/fastdataapi/allegro-email-scraper) | Contact emails from Allegro, Poland's largest marketplace |
| [Bayut Scraper](https://apify.com/fastdataapi/bayut-scraper-listing-and-agent) | Property listings and agents from Bayut |
| [Domain.com.au Scraper with Agents](https://apify.com/fastdataapi/domain-com-au-scraper-with-agents) | Australian property listings with agent details |
| [Alibaba Listings Scraper](https://apify.com/fastdataapi/alibaba-listings-scraper) | Product listings from Alibaba |

***

### Your feedback

Found a bug or missing a field? Let us know through the Issues tab on the actor's Apify Store page. Every report is read, and fixes ship as new versions of the actor.

# Actor input Schema

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

Full Otomoto.pl URLs. Accepts both listing pages (https://www.otomoto.pl/osobowe/volvo) and individual advert pages (https://www.otomoto.pl/osobowe/oferta/volvo-xc-40-ID6IbdLC.html). When this list is non-empty it overrides every search filter below. An advert that has been sold or removed produces a free, uncharged row with the reason instead of silently disappearing.

## `category` (type: `string`):

Otomoto section to search. Some sections have moved on Otomoto: motorcycles now include quads, trailers, construction and agricultural machinery have their own sections, and campers are searched as the camper body type inside vans.

## `query` (type: `string`):

Brand, or brand plus model separated by a space. Examples: "volvo", "bmw seria 3", "mercedes-benz c-klasa". Use Otomoto's own Polish model name. If Otomoto does not recognise the brand or the model, that input gives an error row naming the word Otomoto rejected instead of the whole catalogue.

## `location` (type: `string`):

A Polish town ("Warszawa", "Kraków", "Łódź") or a voivodeship ("Małopolskie", "Mazowieckie"). Polish characters are handled. Around a town Otomoto includes nearby localities; a voivodeship is an exact match. If Otomoto cannot resolve the name, that input gives an error row instead of national results labelled as a local search.

## `sort` (type: `string`):

Order of the adverts. "Price: low → high" and "Price: high → low" use Otomoto's price order. The two Year orders and "Oldest first" have no Otomoto equivalent, so the adverts this run collects for each input are sorted before they are saved. The run log states which order was used.

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

Minimum advert price in Polish złoty.

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

Maximum advert price in Polish złoty.

## `minProductionYear` (type: `integer`):

Earliest production year, e.g. 2019.

## `maxProductionYear` (type: `integer`):

Latest production year, e.g. 2025.

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

Maximum number of advert rows saved per input (per start URL, or for the filter search). A removed advert gives a free row and does not use up the count. Default 10. Free plan: up to 20 adverts per run (all inputs together) and 200 per month; paid plans have no limit.

## `concurrency` (type: `integer`):

How many Otomoto pages are fetched in parallel. Default is 10, maximum 20.

## `requestDelay` (type: `integer`):

Extra pause before each request, in seconds, plus a small random jitter. Default is 0 (no extra delay).

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

Leave disabled to run without a proxy. The actor still switches to a datacenter and then a residential proxy automatically if it is blocked.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.otomoto.pl/osobowe/volvo"
  ],
  "category": "cars",
  "query": "volvo",
  "location": "Warszawa",
  "sort": "relevance_web",
  "maxItems": 10,
  "concurrency": 10,
  "requestDelay": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All scraped items in the Actor's default dataset.

## `pricing` (type: `string`):

Price, price breakdown and price-drop details for each advert.

## `seller` (type: `string`):

Seller details and dealer packages for each advert.

## `equipment` (type: `string`):

Equipment, details and parameter breakdown for each advert.

## `images` (type: `string`):

Primary photo and full photo list for each advert.

## `unavailable` (type: `string`):

Free, uncharged accounting rows for adverts that were removed or expired before they could be scraped.

# 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/volvo"
    ],
    "query": "volvo",
    "location": "Warszawa",
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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