# Bolha.com Scraper - Slovenia Classifieds (`gmpsignal/bolha-scraper`) Actor

Scrape bolha.com, the largest classifieds site in Slovenia. Search by keyword or paste category URLs. Prices are parsed to numeric EUR, sellers are flagged as private or dealer, locations are split into city and municipality, and promoted ads are marked.

- **URL**: https://apify.com/gmpsignal/bolha-scraper.md
- **Developed by:** [GMPSignal](https://apify.com/gmpsignal) (community)
- **Categories:** E-commerce, Real estate, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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.
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

## Bolha.com Scraper — Slovenia Classifieds Listings

Scrapes **bolha.com**, Slovenia's largest classifieds site, and returns clean rows for every ad on a search or category page — with prices already parsed to numbers in **EUR**, the seller flagged as **private or dealer**, and the location split into city and municipality.

### Output

```json
{
  "id": 16251189,
  "title": "Iphone 15 pro (128 GB)",
  "url": "https://www.bolha.com/apple-iphone/iphone-15-pro-128-gb-oglas-16251189",
  "priceEUR": 530,
  "priceText": "530 €",
  "priceNegotiable": false,
  "category": "apple-iphone",
  "city": "Ptuj",
  "municipality": "Ptuj",
  "location": "Ptuj, Ptuj",
  "sellerType": "private",
  "promoted": false,
  "publishedAt": "2026-08-14T11:23:07.000Z",
  "image": "https://www.bolha.com/image-200x150/...jpg"
}
```

### Input

- **searchQuery** — keyword, e.g. `iphone`, `golf 7`, `kolo`
- **startUrls** — or paste any bolha.com search/category URLs; pagination is followed automatically
- **priceMin / priceMax** — numeric bounds in EUR
- **sellerType** — all, private, or dealer (*trgovec*)
- **location** — substring filter, e.g. `Ljubljana`, `Maribor`, `Koper`
- **maxItems / maxPages** — run size limits

### Why this one

- **Numeric prices, not strings.** `530 €` becomes `530`, and "Cena po dogovoru" is flagged as `priceNegotiable` instead of being lost.
- **Seller type included.** Filter dealers out of your price research, or filter *for* them when prospecting.
- **Promoted ads flagged.** Boosted listings are marked so they don't skew your median price.
- **Duplicate-free.** The same ad appearing on several pages is stored once.

### Use cases

- **Price research** for the Slovenian market, comparable directly with eurozone data
- **Dealer and shop prospecting** — build a list of professional sellers per category
- **Inventory monitoring** — schedule the run and diff `id` values to catch new ads
- **Market analysis** — listing volume, median price and private/dealer mix by category and city

### Notes

Reads publicly visible listing pages. Data is provided as published by sellers; bolha.com does not verify listing content. Use Apify Proxy for larger runs, and respect the site's terms and applicable data protection rules.

# Actor input Schema

## `searchQuery` (type: `string`):

Keyword to search on bolha.com, e.g. "iphone", "golf 7", "kolo". Ignored when Start URLs are provided.

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

Optional list of bolha.com search or category URLs to scrape instead of the keyword search. Pagination is followed automatically.

## `priceMin` (type: `string`):

Skip listings priced below this amount. Listings without a numeric price are also skipped when set.

## `priceMax` (type: `string`):

Skip listings priced above this amount. Listings without a numeric price are also skipped when set.

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

Keep only private sellers, only dealers (trgovec), or everything.

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

Optional filter on the listing location, e.g. "Ljubljana", "Maribor", "Koper". Case-insensitive substring match.

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

Maximum number of listings to store in the dataset.

## `maxPages` (type: `integer`):

Maximum number of result pages to follow per start URL.

## `proxy` (type: `object`):

Proxy settings. Apify Proxy is used by default and is recommended for larger runs.

## Actor input object example

```json
{
  "searchQuery": "iphone",
  "sellerType": "all",
  "maxItems": 100,
  "maxPages": 20,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchQuery": "iphone",
    "maxItems": 100,
    "maxPages": 20,
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("gmpsignal/bolha-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 = {
    "searchQuery": "iphone",
    "maxItems": 100,
    "maxPages": 20,
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("gmpsignal/bolha-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 '{
  "searchQuery": "iphone",
  "maxItems": 100,
  "maxPages": 20,
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call gmpsignal/bolha-scraper --silent --output-dataset

```

## MCP server setup

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