# Pazaruvaj Scraper - Bulgarian Price Comparison (`studio-amba/pazaruvaj-scraper`) Actor

Scrape product prices and merchant offers from Pazaruvaj.com, Bulgaria's largest price comparison site with 2M+ monthly visits and 1.5M+ products from 400+ shops. Extract product names, price ranges, merchant lists, ratings, and more. No login required.

- **URL**: https://apify.com/studio-amba/pazaruvaj-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result 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

## Pazaruvaj Scraper

Scrape product prices, merchant offers, and comparison data from Pazaruvaj.com — Bulgaria's largest price comparison engine with 2M+ monthly visits, aggregating prices from over 400 Bulgarian online shops across 1.5M+ products.

### How to scrape Pazaruvaj data

Pazaruvaj is Bulgaria's leading price comparison platform, part of the Heureka Group (alongside Arukereso.hu and Compari.ro). It aggregates product prices from 400+ online retailers across all major product categories. This actor lets you extract structured product and pricing data from Pazaruvaj search results, category pages, and individual product pages without any login or cookies.

1. Go to the actor's input page.
2. Enter a search query in Bulgarian (e.g., "лаптоп", "телевизор", "iPhone 16") or provide a category URL.
3. Set the maximum number of results you want.
4. Click "Start" and wait for the run to finish.
5. Download your data in JSON, CSV, or Excel format.

The actor searches Pazaruvaj just like a regular user would, extracts product data from search results and product pages, and returns clean, structured data ready for analysis.

### Features

- Search by keyword across all Pazaruvaj product categories
- Browse specific category pages for targeted scraping
- Extract lowest price and number of offering shops in BGN
- Extract brands, ratings, review counts, and product images
- Automatic pagination to collect large result sets
- No cookies or login required
- Bypasses Pazaruvaj's Cloudflare protection automatically — no proxy configuration needed

### Input options

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `searchQuery` | String | Product search term (e.g., "лаптоп", "телевизор") | `"лаптоп"` |
| `categoryUrl` | String | Optional Pazaruvaj category URL to scrape directly | — |
| `maxResults` | Integer | Maximum number of products to return (1-10,000) | `100` |

#### Example input

```json
{
    "searchQuery": "лаптоп",
    "maxResults": 50
}
```

#### Category URL example

You can scrape a specific Pazaruvaj category page directly:

```json
{
    "categoryUrl": "https://www.pazaruvaj.com/c/prenosimi-kompjutri-c3100/",
    "maxResults": 200
}
```

### Output format

Each product in the output dataset contains the following fields:

| Field | Type | Description |
|-------|------|-------------|
| `productName` | String | Full product name |
| `lowestPrice` | Number | Lowest price across all merchants |
| `currency` | String | Currency code (BGN) |
| `numberOfOffers` | Integer | Number of shops offering this product |
| `brand` | String | Brand or manufacturer name |
| `imageUrl` | String | Product image URL |
| `url` | String | Full Pazaruvaj product page URL |
| `scrapedAt` | String | ISO 8601 timestamp of data collection |

#### Example output

```json
{
    "productName": "ASUS ROG Strix G17 G713PV-LL053W",
    "lowestPrice": 2199.00,
    "currency": "BGN",
    "numberOfOffers": 5,
    "brand": "ASUS",
    "imageUrl": "https://img-cdn.heureka.group/v1/example.jpg",
    "url": "https://www.pazaruvaj.com/p/rog-strix-g17-g713pv-ll053w-pP963975192/",
    "scrapedAt": "2026-07-21T12:00:00.000Z"
}
```

### Use cases

- **Price monitoring** — Track product prices across Bulgarian online shops over time
- **Competitive intelligence** — Monitor competitor pricing strategies in the Bulgarian market
- **Market research** — Analyze product availability, pricing trends, and brand presence in Bulgaria
- **E-commerce analytics** — Compare your prices against the Bulgarian market average
- **Lead generation** — Find merchants selling specific product categories
- **Product catalog enrichment** — Enhance your product database with Bulgarian market pricing

### Cost estimate

This actor is billed $0.02 per run plus $0.002 per result — **1,000 results cost about $2.02**. Usage cost only settles once a run reports **SUCCEEDED** — reading a dataset mid-run will show a cost far below the real total.

### Tips for best results

- Use Bulgarian search terms for best results (e.g., "лаптоп" instead of "laptop")
- Category URLs give more focused results than broad search queries
- Start with a small `maxResults` to test your query before scaling up

### Technical details

Pazaruvaj.com runs an active Cloudflare Managed Challenge on the entire domain, so this actor fetches every page through Bright Data's Web Unlocker rather than a direct HTTP request or a headless browser — Web Unlocker clears the Cloudflare challenge server-side and returns the fully server-rendered listing HTML in one request, which is then parsed with Cheerio for product cards, prices, and images. Requests are paced adaptively (slower after a failure, faster after a clean run) to stay under Cloudflare's rate limits.

### Integrations

You can connect the Pazaruvaj Scraper with other Apify actors and services:

- Use [Apify API](https://docs.apify.com/api/v2) to trigger runs programmatically
- Export data to Google Sheets, Slack, or webhooks
- Schedule regular runs for ongoing price monitoring
- Connect with [Apify integrations](https://apify.com/integrations) for automated workflows

### Limitations

- Search queries work best in Bulgarian language
- Very large result sets (10,000+) may take longer due to pagination and Cloudflare-safe request pacing

# Actor input Schema

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

Search term to find products on Pazaruvaj (e.g., 'лаптоп', 'iPhone 16', 'телевизор'). If empty, defaults to 'лаптоп'.

## `categoryUrl` (type: `string`):

Optional: a Pazaruvaj category page URL to scrape instead of searching. Example: https://www.pazaruvaj.com/c/prenosimi-kompjutri-c3100/

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

Maximum number of products to return.

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

Not used by the fetch layer (Bright Data Web Unlocker handles all requests) — kept only for input-schema compatibility.

## Actor input object example

```json
{
  "searchQuery": "лаптоп",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BG"
  }
}
```

# 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": "лаптоп",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "BG"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/pazaruvaj-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": "лаптоп",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "BG",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/pazaruvaj-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": "лаптоп",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BG"
  }
}' |
apify call studio-amba/pazaruvaj-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/pazaruvaj-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/Yqp0f01pX5M9vZdXS/builds/BTtufgJJtzWThrdJq/openapi.json
