# 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
- **Stats:** 2 total users, 1 monthly users, 42.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# 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. Optionally enable "Include Merchant Offers" to get all individual store prices for each product.
5. Click "Start" and wait for the run to finish.
6. 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 and highest prices across all merchants in BGN
- Get individual merchant offers with store names, prices, and links
- Extract brands, ratings, review counts, and number of offers
- Automatic pagination to collect large result sets
- Multi-strategy extraction: JSON-LD structured data, Schema.org microdata, and DOM fallback
- No cookies or login required
- Residential proxy support for reliable access with Bulgarian IP

### 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` |
| `includeOffers` | Boolean | Visit product pages to extract all merchant offers | `false` |
| `proxyConfiguration` | Object | Proxy settings — Bulgarian residential proxies recommended | BG residential |

#### Example input

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

#### Category URL example

You can scrape a specific Pazaruvaj category page directly:

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

### 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 |
| `highestPrice` | Number | Highest price across all merchants |
| `currency` | String | Currency code (BGN) |
| `numberOfOffers` | Integer | Number of shops offering this product |
| `brand` | String | Brand or manufacturer name |
| `category` | String | Product category from Pazaruvaj |
| `rating` | Number | Average user rating (0-5 scale) |
| `reviewCount` | Integer | Number of user reviews |
| `imageUrl` | String | Product image URL |
| `url` | String | Full Pazaruvaj product page URL |
| `merchants` | Array | Merchant offers (when includeOffers is enabled) |
| `scrapedAt` | String | ISO 8601 timestamp of data collection |

#### Example output

```json
{
    "productName": "ASUS ROG Strix G17 G713PV-LL053W",
    "lowestPrice": 2199.00,
    "highestPrice": 2899.00,
    "currency": "BGN",
    "numberOfOffers": 5,
    "brand": "ASUS",
    "category": "Преносими компютри",
    "rating": 4.5,
    "reviewCount": 12,
    "imageUrl": "https://www.pazaruvaj.com/images/product/123.jpg",
    "url": "https://www.pazaruvaj.com/p/rog-strix-g17-g713pv-ll053w-pP963975192/",
    "merchants": [
        {
            "merchantName": "Laptop.bg",
            "price": 2199.00,
            "merchantUrl": "https://www.laptop.bg/product/..."
        },
        {
            "merchantName": "Ardes.bg",
            "price": 2349.00,
            "merchantUrl": "https://www.ardes.bg/product/..."
        }
    ],
    "scrapedAt": "2026-06-09T12: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

### 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
- Enable "Include Merchant Offers" when you need per-shop pricing data
- Bulgarian residential proxies are recommended for reliable access
- Start with a small `maxResults` to test your query before scaling up

### Technical details

This actor uses Playwright for browser-based scraping with multiple extraction strategies:

1. JSON-LD structured data (most reliable when available)
2. Schema.org microdata extraction
3. DOM-based extraction with CSS selectors as fallback

The scraper handles cookie consent dialogs, pagination, and anti-bot measures automatically.

### 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

### Proxy configuration

For best results, use Apify's residential proxies with a Bulgarian IP address. The default configuration uses `RESIDENTIAL` proxy group with country set to `BG`. This ensures the site serves Bulgarian content and prices in BGN.

### Limitations

- Requires residential proxies for reliable access (the site may block datacenter IPs)
- Search queries work best in Bulgarian language
- Rate of extraction depends on proxy quality and site responsiveness
- Very large result sets (10,000+) may take longer due to pagination

# 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.

## `includeOffers` (type: `boolean`):

When enabled, visits each product detail page to extract all individual merchant offers (name, price, URL). Slower but gives full price comparison data.

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

Proxy settings. Residential proxies with Bulgarian IP are recommended for best results.

## Actor input object example

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

# 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": "лаптоп",
    "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": "лаптоп",
    "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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": "лаптоп",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "BG"
  }
}' |
apify call studio-amba/pazaruvaj-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/pazaruvaj-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Pazaruvaj Scraper - Bulgarian Price Comparison",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "R27NLczNq90cjxw3j"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~pazaruvaj-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-pazaruvaj-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~pazaruvaj-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-pazaruvaj-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~pazaruvaj-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-pazaruvaj-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search term to find products on Pazaruvaj (e.g., 'лаптоп', 'iPhone 16', 'телевизор'). If empty, defaults to 'лаптоп'."
                    },
                    "categoryUrl": {
                        "title": "Category URL",
                        "type": "string",
                        "description": "Optional: a Pazaruvaj category page URL to scrape instead of searching. Example: https://www.pazaruvaj.com/c/prenosimi-kompjutri-c3100/"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of products to return.",
                        "default": 100
                    },
                    "includeOffers": {
                        "title": "Include Merchant Offers",
                        "type": "boolean",
                        "description": "When enabled, visits each product detail page to extract all individual merchant offers (name, price, URL). Slower but gives full price comparison data.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. Residential proxies with Bulgarian IP are recommended for best results."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
