# OLX.ro Scraper | Romania Listings, Prices & Seller Data (`stippled_starfish/olx-ro-listings`) Actor

Extract public OLX.ro classifieds to JSON: title, price, location, category, seller type, promoted flag and listing URL. Filter by keyword, category path or start URL, with pagination and in-run dedupe. Built for Romania classifieds monitoring.

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

## Pricing

$1.50 / 1,000 listings

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

## OLX.ro Scraper | Romania Listings, Prices & Seller Data

Scrape **public OLX.ro classifieds** into a clean JSON/CSV dataset: title, price text, location, date text, promoted flag, category, seller type and listing URL. Start from a **keyword**, a **category path**, a **search URL**, or a mix of these. The Actor paginates result pages until it reaches `maxItems` or there is no next page, and it deduplicates by listing URL inside the run.

It reads list/search cards only. It does not open individual ad pages, so it does not collect phone numbers, descriptions, photos or seller names.

**Store page:** https://apify.com/stippled_starfish/olx-ro-listings

### What you can do with it

- Monitor a keyword (phones, laptops, furniture, jobs, pets — any public OLX.ro category) on a schedule and append results to Google Sheets.
- Track promoted vs organic ads and the public price text for a product class.
- Filter by `sellerType` (`all`, `business`, `private`, `unknown`). The label comes from the public list-page payload field `isBusiness` (boolean): `true` → `business`, `false` → `private`. `unknown` is used only when that field is missing.
- Feed an automation or your own pipeline via the Apify API (see Integrations and API).

### What this Actor does not do

- It does **not** scrape other OLX countries (`.pl`, `.bg`, `.pt`, `.ua`, …). It is built for **olx.ro**.
- It does **not** log in, bypass CAPTCHAs, or open the chat/phone reveal on an ad page.
- It does **not** download image galleries or the full ad description.
- It does **not** parse `price` into a numeric field; you get the card text (`"4 299 lei"`). Convert it in your pipeline if you need a number.
- It does **not** guess seller type from card text, and it does **not** use `user.sellerType` (that field was `null` on every ad in the 30 November 2026 list-page samples). Labelling uses `isBusiness` from the public list payload.

### Quick start

1. Open the Actor and keep the prefilled example (`keyword`: `iphone`, `maxItems`: 10) or set your own keyword.
2. Leave **Proxy** off unless you see blocks.
3. Click **Start** (or **Try for free**).
4. When the run succeeds, open the **Dataset** tab and export JSON or CSV.

On 30 November 2026 this prefill finished in **39 seconds** with **10 listings** (run `lB06JoHwUbJ76VBbB`, build 1.0.3).

### Input

No field is strictly required in the schema, but the Actor throws `Provide startUrls and/or keyword` if it cannot build at least one start URL. Provide a `keyword`, or `startUrls`, or a `category` (optionally with a keyword).

| Field | Type | Required | Default / prefill | Description |
| --- | --- | --- | --- | --- |
| `keyword` | string | if you have no `startUrls` | prefill `iphone` | Search phrase. The Actor builds `https://www.olx.ro/oferte/q-{keyword}/` (spaces become `-`). Combined with `category` it becomes `https://www.olx.ro/{category}/q-{keyword}/`. |
| `category` | string | no | — | OLX path without leading/trailing slashes, for example `electronice-si-electrocasnice/telefoane-mobile` or `auto-masini-moto-ambarcatiuni/autoturisme`. Copy it from the address bar after you browse OLX. |
| `startUrls` | array of URLs | no, if `keyword` is set | — | Public OLX.ro search or category pages. You can paste URLs that already contain filters (price, location, sort) from your browser. |
| `sellerType` | enum | no | `all` | `all` (no filter), `business`, `private`, or `unknown`. Applied after each ad is labelled from the list payload (`isBusiness`). On real 30 November 2026 list pages that boolean was present on every ad, so `private` and `business` both returned items and `unknown` kept 0 rows. |
| `maxItems` | integer ≥ 1 | no | default 50, prefill 10 | Stop after this many **kept** rows (after URL dedupe and seller filter). |
| `proxyConfiguration` | proxy object | no | `useApifyProxy: false` | Direct connection by default. Enable Apify Proxy only if OLX blocks the run. |

#### How start URLs are built

If you set `keyword` and/or `category`, the Actor **prepends** a built URL and still crawls any `startUrls` you added:

- keyword only → `https://www.olx.ro/oferte/q-iphone/`
- category only → `https://www.olx.ro/electronice-si-electrocasnice/telefoane-mobile/`
- both → `https://www.olx.ro/electronice-si-electrocasnice/telefoane-mobile/q-iphone/`

#### Example inputs

Keyword only (same as the Store prefill):

```json
{
  "keyword": "iphone",
  "maxItems": 10,
  "sellerType": "all",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Category + keyword, cap at 100 ads:

```json
{
  "keyword": "iPhone 15",
  "category": "electronice-si-electrocasnice/telefoane-mobile",
  "sellerType": "all",
  "maxItems": 100,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

A search URL you already filtered in the browser (price, city, sort):

```json
{
  "startUrls": [
    { "url": "https://www.olx.ro/auto-masini-moto-ambarcatiuni/autoturisme/q-toyota/" }
  ],
  "maxItems": 50,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

Useful category paths you can paste (always check that the path still exists on olx.ro):

- Cars: `auto-masini-moto-ambarcatiuni/autoturisme`
- Mobile phones: `electronice-si-electrocasnice/telefoane-mobile`
- Laptops: `electronice-si-electrocasnice/laptopuri`
- Apartments: paths under `imobiliare/` (rent or sale — copy from the site)
- Jobs: `locuri-de-munca`

#### Pagination and limits

The crawler follows the “next page” control (`pagination-forward`) while `maxItems` is not reached. `maxRequestsPerCrawl` is `max(startUrls × 8, 10)`, so a single start URL can fetch up to 10 pages in one run (typically enough for a few hundred cards, depending on page size). If you need more, raise `maxItems` and split the work across several filtered start URLs (by city or price band) in one run or in parallel tasks.

Inside a run, a listing URL is stored only once.

### 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
{
  "title": "Iphone 16 pro max, 100% baterie,256GB  Black ca NOU  FULL BOX",
  "price": "4 299 lei",
  "url": "https://www.olx.ro/d/oferta/iphone-16-pro-max-100-baterie-256gb-black-ca-nou-full-box-IDl3yet.html?search_reason=search%7Cpromoted",
  "location": "Targoviste",
  "dateText": "Reactualizat la 28 noiembrie 2026",
  "promoted": true,
  "category": "oferte",
  "sellerType": "unknown",
  "keyword": "iphone",
  "scrapedAt": "2026-11-30T21:09:06.621Z"
}
```

```json
{
  "title": "iPhone 18 Pro Max 256Gb Burgundy Nou-Sigilat 3 ani garanție, Telefoane",
  "price": "8 300 lei",
  "url": "https://www.olx.ro/d/oferta/iphone-18-pro-max-256gb-burgundy-nou-sigilat-3-ani-garantie-telefoane-IDl6pV8.html?search_reason=search%7Cpromoted",
  "location": "Targu-Mures",
  "dateText": "Reactualizat la 28 noiembrie 2026",
  "promoted": true,
  "category": "oferte",
  "sellerType": "unknown",
  "keyword": "iphone",
  "scrapedAt": "2026-11-30T21:09:07.041Z"
}
```

```json
{
  "title": "iPhone  / Garantie / iDROID",
  "price": "1 800 lei",
  "url": "https://www.olx.ro/d/oferta/iphone-garantie-idroid-IDl4JUA.html?search_reason=search%7Cpromoted",
  "location": "Timisoara",
  "dateText": "Reactualizat la 29 noiembrie 2026",
  "promoted": true,
  "category": "oferte",
  "sellerType": "unknown",
  "keyword": "iphone",
  "scrapedAt": "2026-11-30T21:09:07.235Z"
}
```

The three sample rows above are **unchanged output from build 1.0.3** (run `lB06JoHwUbJ76VBbB`), including `sellerType: "unknown"`. Under the patched labelling, the same list payload marks for example the “iPhone 18 Pro Max 256Gb Burgundy … Telefoane” ad as `business` (`isBusiness: true`, company name “Telefoane Mures”) and ordinary private ads as `private` (`isBusiness: false`). This patched behaviour is in the local source only; it has **not** been pushed to Apify yet.

#### Field reference

| Field | Meaning |
| --- | --- |
| `title` | Ad title as shown on the card. |
| `price` | Price text from the card, as a string (for example `"4 299 lei"`). Not parsed into a number — formatting follows the site (spaces, currency word). |
| `url` | Public listing URL. |
| `location` | Location text from the card (usually a city). |
| `dateText` | Date / refresh text from the card, in the site’s language (for example `Reactualizat la 28 noiembrie 2026`). |
| `promoted` | `true` if the card looks promoted (`Promovat` or a promoted URL parameter). |
| `category` | Best-effort category: your `category` input, otherwise the last breadcrumb, otherwise a path segment of the search URL. On a generic `/oferte/q-…` search this is often just `oferte`. |
| `sellerType` | `business` when the list payload has `isBusiness === true`, `private` when `isBusiness === false`, `unknown` only if the field is missing. Not taken from `user.sellerType`. DOM business badges are a fallback only when the list payload is absent. |
| `keyword` | The `keyword` you passed in, or `null`. |
| `scrapedAt` | UTC timestamp when the row was saved. |

### Pricing

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

- The event name is `listing`.
- 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 `listing` 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 listings costs $0.15; 1,000 listings cost $1.50, plus any unused start if you abort early.

The prefill run of 10 listings is a cheap way to verify the output before you scale `maxItems`.

### Use cases

1. **Price check for a product keyword.** Schedule `keyword=iphone 15` every morning, export CSV, and chart the distribution of `price` after you parse the lei amount. Promoted ads are flagged so you can analyse them separately.
2. **Lead research for business sellers.** Set `sellerType=business` and a category path (for example cars or electronics). You get public listing URLs and cities — not phone numbers. Contact must go through the public ad, in line with the law and the site’s rules.
3. **Market coverage by city.** OLX location filters live in the URL. Build one start URL per city in the OLX UI, paste them all into `startUrls`, and set a shared `maxItems`.
4. **Daily “what is new”.** Run the same input daily and diff `url` against yesterday’s dataset (Sheet or database). The Actor itself does not emit a `new-listing` event.
5. **Downstream enrichment.** Use the listing `url` as a key in your own system. This Actor stays on the card so it stays fast and cheap; if you need the description, fetch it in a separate, lawful process.

### 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 `url` 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/olx-ro-listings`. Prefill used in the examples below (`keyword`: `iphone`, 10 listings, proxy off):

```bash
curl "https://api.apify.com/v2/acts/stippled_starfish/olx-ro-listings/runs?token=YOUR_TOKEN" \
  -X POST -H "Content-Type: application/json" \
  -d '{"keyword": "iphone", "maxItems": 10, "sellerType": "all", "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/olx-ro-listings').call({
  keyword: 'iphone',
  maxItems: 10,
  sellerType: 'all',
  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/olx-ro-listings").call(run_input={
    "keyword": "iphone",
    "maxItems": 10,
    "sellerType": "all",
    "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 `url` as the unique key. For your own system, add a webhook on `ACTOR.RUN.SUCCEEDED` and fetch `/datasets/{id}/items`.

### Limitations (please read)

- **List cards only.** No description, images, seller name, phone, or delivery options.
- **`sellerType` on build 1.0.3 was often `unknown`.** The 30 November 2026 `iphone` sample rows below were all `unknown` because that build only looked at DOM business badges and never assigned `private`. The patched source (not yet published) labels the same list payload with `isBusiness`: `true` → `business`, `false` → `private`. On four live list pages tested the same day (260 ads) the boolean was always present, so `unknown` did not appear. Do not assume `unknown` means private if you still see it.
- **`category` can be coarse.** A generic oferte search labelled the sample rows `oferte`. Use a `category` path if you need a tighter label.
- **`price` is a string**, with a space as thousands separator and a currency word (`lei`). It can also be empty or a non-price phrase if the card has no price.
- **`dateText` is not parsed** into an ISO date.
- Site layout changes can break card selectors. If a run succeeds with 0 items, check the log for `No OLX cards on …` and open an issue with the run id.
- Public pages only; logged-in or region-gated views are out of scope.
- Very large crawls in one run may hit the request cap; split by filter URLs.

### Troubleshooting

| Symptom | What to check |
| --- | --- |
| Error `Provide startUrls and/or keyword` | The input was empty. Set `keyword` or `startUrls`. The Store prefill should already do this. |
| Succeeded with 0 items | The URL may be wrong, blocked, or the layout changed. Open the log. Try the prefill. Keep proxy off first (proxy-on was slower or empty on related Actors in our 30 November 2026 tests). |
| Almost all `sellerType=unknown` | Expected on published build **1.0.3** (DOM badges only). After the patched build is published, this usually means the list payload was missing `isBusiness`, or you are still on 1.0.3. |
| Run stops before `maxItems` | No further pagination, or `maxRequestsPerCrawl` was reached. Split filters or raise the number of start URLs. |
| Duplicate ads in two runs | Expected. Deduplicate on `url` in your store. |
| Prices look like text | Expected. Parse in your pipeline. |

### FAQ

**Can I scrape OLX Poland or Bulgaria with this Actor?** No. This Actor is for olx.ro only.

**Do I need a keyword if I already have a search URL?** No. Paste the URL into `startUrls`.

**Does it return seller phone numbers or emails?** No. Only public card fields listed above.

**Is the example data above live production data?** Yes — it is from a real succeeded run on 30 November 2026 with the public prefill, not a mock.

**How do I keep costs predictable?** Set `maxItems`. You are charged $0.0015 per unique listing URL in that run.

**Can I run it every hour?** Yes, via Schedules. Use a modest `maxItems` and deduplicate on `url`. Be a good citizen: do not hammer the site with huge concurrent runs.

**What memory should I use?** The default 1024 MB is enough for the tested prefill and for typical list crawls.

### 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`):

Public OLX.ro search or category pages. Optional if keyword is set.

## `keyword` (type: `string`):

Search keyword (builds an oferte/q-… URL when startUrls are empty).

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

OLX path segment, e.g. electronice-si-electrocasnice/telefoane-mobile

## `sellerType` (type: `string`):

Filter listings by seller type. Labels come from the public list payload field isBusiness (true = business, false = private). unknown is used only when that field is missing. DOM business badges are a fallback only if the list payload is absent.

## `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
{
  "keyword": "iphone",
  "sellerType": "all",
  "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 = {
    "keyword": "iphone",
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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

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/Elu0Nmgku4ATpCZ1V/builds/OhETRUjdSubMcnR40/openapi.json
