# 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:** 1 total users, 0 monthly users, 93.2% 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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. 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

### 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"
  }
}
```

# 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("💾 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": "лаптоп",
  "maxResults": 5,
  "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

Download the OpenAPI definition: https://api.apify.com/v2/acts/Yqp0f01pX5M9vZdXS/builds/SaTiD185fr8KD0iFb/openapi.json
