# DOZ.pl Scraper — Polish Online Pharmacy Products & Prices (`studio-amba/doz-pl-scraper`) Actor

Scrape product data from doz.pl, Poland's largest online pharmacy network. Extract names, prices, unit prices, and images for medicines, supplements, and health products.

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

## Pricing

from $1.20 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## DOZ.pl Scraper

Collect product data from doz.pl, Poland's largest online pharmacy network with over 1,700 physical stores. Covers over-the-counter medications, vitamins, supplements, skincare, and personal care products.

### How to use it

Point the scraper at doz.pl using a search keyword (Polish works best) or direct search/category URLs. It crawls the listing pages and paginates automatically, extracting product data straight from the page markup.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `searchQuery` | String | No | Product keyword, e.g. `"witamina"`, `"ibuprofen"`, `"krem na dzień"` |
| `categoryUrls` | Array | No | Direct search or category page URLs from doz.pl |
| `maxResults` | Integer | No | Result limit (default: 100) |
| `proxyConfiguration` | Object | No | Proxy settings for better reliability |

Defaults to searching `"witamina"` if nothing is provided.

### Output

| Field | Type | Example |
|-------|------|---------|
| `name` | String | `"Doppelherz Aktiv Vital Tonik Okazjonalny, płyn, 1000 ml"` |
| `brand` | String | `"Doppelherz Aktiv Vital Tonik Okazjonalny"` |
| `price` | Number | `28.99` |
| `currency` | String | `"PLN"` |
| `pricePerUnit` | String | `"100 ml = 2,90 zł"` |
| `productId` | String | `"181060"` |
| `sku` | String | `"181060"` |
| `inStock` | Boolean | `true` |
| `imageUrl` | String | Product image |

```json
{
    "name": "Doppelherz Aktiv Vital Tonik Okazjonalny, płyn, 1000 ml",
    "brand": "Doppelherz Aktiv Vital Tonik Okazjonalny",
    "price": 28.99,
    "currency": "PLN",
    "url": "https://www.doz.pl/p/doppelherz-aktiv-vital-tonik-okazjonalny-plyn-1000-ml-181060",
    "scrapedAt": "2026-08-07T09:06:14.566Z",
    "pricePerUnit": "100 ml = 2,90 zł",
    "productId": "181060",
    "sku": "181060",
    "inStock": true,
    "imageUrl": "https://azcdn.doz.pl/image/d/product/a0cbd265-scale-180x180.webp"
}
```

### Cost

CheerioCrawler with no browser overhead, no anti-bot on the target — cheapest possible profile. Cost estimate: roughly **$0.0005 per result** (about $0.50 per 1,000 products) including default Apify proxy usage. Usage cost only settles once a run reports SUCCEEDED — reading the dataset mid-run will undercount cost, so check the final run status before comparing spend.

### Things to keep in mind

- Polish-language content throughout
- Prices are in PLN (Polish złoty)
- `brand` is derived from the leading segment of the product title before the first comma — doz.pl doesn't expose a separate brand field on listing pages, so this is an approximation, not a normalized manufacturer name
- Pagination follows `/szukaj_{page}?search=...` links automatically, up to 50 pages per run

### How to scrape DOZ.pl data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Configure your search query or URL, set the maximum number of results, and adjust proxy settings if needed.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, Excel, or connect it to your workflow via API.

You can also schedule regular runs, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

### Tips and tricks

- **Start small**: test with `maxResults: 5` before running large scrapes.
- **Use native Polish keywords**: search results are far more relevant than translated English terms.
- **Schedule runs**: set up recurring runs to keep your pricing data fresh automatically.
- **Integrate via API**: use the [Apify API](https://docs.apify.com/api) or [client libraries](https://docs.apify.com/api/client) to fetch results programmatically.
- **No login required**: this actor scrapes publicly available data without needing an account.

### Limitations

- Data is scraped from the public website and may change without notice.
- `brand` is a best-effort approximation from the product title, not a normalized field.
- Very large scraping jobs may be slower due to pagination limits.
- Respect the website's terms of service and use responsibly.

### Features

- **No login required** — scrapes publicly available data from DOZ.pl without needing credentials or cookies.
- **Structured output** — results are returned as clean JSON objects, ready for processing.
- **Pagination handling** — automatically follows multiple pages of results.
- **Proxy support** — configurable proxy settings for reliable, large-scale scraping.
- **Flexible input** — search by keyword or provide specific search/category URLs.
- **Scheduled runs** — run on a schedule to keep your dataset up to date automatically.
- **API access** — integrate results into your workflow using the Apify API or webhooks.

### Related Scrapers

- [Rossmann Scraper](https://apify.com/studio-amba/rossmann-scraper) — German/Polish drugstore chain
- [Aponeo Scraper](https://apify.com/studio-amba/aponeo-scraper) — German online pharmacy
- [DM Scraper](https://apify.com/studio-amba/dm-scraper) — German drugstore chain
- [DocMorris Scraper](https://apify.com/studio-amba/docmorris-scraper) — European online pharmacy
- [Drmax Scraper](https://apify.com/studio-amba/drmax-scraper) — Central European pharmacy chain

### FAQ

**Is it legal to scrape DOZ.pl?**
Web scraping of publicly available data is generally permitted. This actor only accesses information that is publicly visible to any website visitor. Always review the website's terms of service before scraping.

**How often should I run this scraper?**
For price monitoring or competitive intelligence, daily or weekly runs are common. Set up a [schedule](https://docs.apify.com/schedules) in Apify Console to automate this.

**Can I export the data to Google Sheets or Excel?**
Yes. After each run, you can download results in CSV, JSON, or Excel format directly from Apify Console. You can also connect results to Google Sheets using Apify integrations.

**What if the scraper stops working?**
Websites change their structure occasionally. If you notice issues, please open an issue on the actor's page. We actively maintain this scraper and fix issues promptly.

# Actor input Schema

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

Search term to find products on doz.pl (Polish keywords work best)

## `categoryUrls` (type: `array`):

List of doz.pl search or category URLs to scrape instead of a search query

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

Maximum number of products to scrape

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

Apify proxy configuration

## Actor input object example

```json
{
  "searchQuery": "witamina",
  "categoryUrls": [
    {
      "url": "https://www.doz.pl/szukaj?search=witamina&encoding=utf-8"
    }
  ],
  "maxResults": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": "witamina",
    "categoryUrls": [
        {
            "url": "https://www.doz.pl/szukaj?search=witamina&encoding=utf-8"
        }
    ],
    "maxResults": 3,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/doz-pl-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": "witamina",
    "categoryUrls": [{ "url": "https://www.doz.pl/szukaj?search=witamina&encoding=utf-8" }],
    "maxResults": 3,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/doz-pl-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": "witamina",
  "categoryUrls": [
    {
      "url": "https://www.doz.pl/szukaj?search=witamina&encoding=utf-8"
    }
  ],
  "maxResults": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/doz-pl-scraper --silent --output-dataset

```

## MCP server setup

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