# Allegro Product Scraper - PL, CZ, SK & HU (`mrdoe/allegro-product-scraper`) Actor

Extracts Allegro product search results and full offer detail pages across Poland, Czech Republic, Slovakia and Hungary - title, price, brand, rating, images, specs, shipping and more, anonymously, no login required.

- **URL**: https://apify.com/mrdoe/allegro-product-scraper.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

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

![Allegro Product Scraper - Poland, Czech Republic, Slovakia & Hungary - product search and offer detail data from every Allegro marketplace in one Actor.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/allegro-product-scraper--1-search.png)

### What it does

Allegro Product Scraper turns any Allegro search or offer page into clean, structured data - across **all four Allegro marketplaces**: Poland (allegro.pl), Czech Republic (allegro.cz), Slovakia (allegro.sk) and Hungary (allegro.hu). Two modes, one run each:

- **Product Search** - give it a keyword (`laptop`) and a country, and it returns one row per result: title, price, currency, rating, image, and the key specs shown on the card.
- **Product/Offer Details** - give it a full Allegro offer URL and it returns the complete offer record: brand, SKU, price, condition, availability, rating, breadcrumb category, shipping options, image gallery and seller.

No account, no login, no Allegro API key to request.

### Why use it

- **One Actor, four countries** - run Poland, Czech Republic, Slovakia and Hungary side by side instead of building four separate scrapers.
- **Real structured data, not guessed text** - prices, ratings and specs are read from Allegro's own page data, not pattern-matched off rendered pixels.
- **Honest nulls** - a field Allegro doesn't show for a given offer comes back `null`, never guessed.
- **Built for repeat runs** - batch many keywords or offer URLs, across one or several countries, in a single run.

### What makes this different

Allegro's storefront sits behind bot protection that blocks plain HTTP requests outright. This Actor drives a real, fingerprint-clean browser through a residential proxy matched to the target country to get past that reliably, then reads the page's own structured product data rather than scraping visible text - so prices, ratings and specs come back exactly as Allegro itself renders them, for every one of the four markets.

### Data you get

| Group | Fields |
| --- | --- |
| Identity | `country`, `offerId`, `title`, `brand`, `sku`, `offerUrl` |
| Price | `price`, `currency` |
| Reviews | `rating`, `reviewCount` |
| Availability | `condition`, `availability` |
| Content (details mode) | `description`, `breadcrumb`, `shipping` |
| Specs (search mode) | `specs` |
| Media | `image`, `images` |
| Seller | `sellerUsername` |

![An offer page's own title, price, rating and seller come back exactly as shown on Allegro.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/allegro-product-scraper--2-detail.png)

![The full specs table comes back in specs - ready to filter or compare on.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/allegro-product-scraper--3-specs.png)

### How to use

1. Pick an **Operation**: *Product Search* or *Product/Offer Details*.
2. Pick a **Country** (or fill **Countries** to run several markets in one go).
3. For search, fill **Search query** (or the batch list). For details, fill **Offer URL** (or the batch list) with a full Allegro offer link.
4. Set **Max items** if you want more or fewer than 20 rows.
5. Leave the residential proxy on and run.

### Input

| Field | Type | Notes |
| --- | --- | --- |
| `operation` | string | `search` or `productDetails`. Required. |
| `country` | string | `PL`, `CZ`, `SK` or `HU`. Required. Default `PL`. |
| `countries` | array | Run several countries in one go. Wins over `country`. |
| `query` | string | Search keyword. Search mode. |
| `queries` | array | Many keywords in one run. Wins over `query`. |
| `offerUrl` | string | Full Allegro offer URL. Details mode. |
| `offerUrls` | array | Many offer URLs in one run. Wins over `offerUrl`. |
| `maxItems` | integer | Total row cap across the whole run. Default 20. |
| `proxyConfiguration` | object | Residential proxy, on by default. Required - Allegro blocks unproxied requests. |

### Output

One example row from *Product/Offer Details* (Poland):

```json
{
    "country": "PL",
    "offerId": "17118603300",
    "title": "LENOVO V15 G4 RYZEN 5 7520U 16GB SSD512 FHD Win11",
    "brand": "Lenovo",
    "sku": "17118603300",
    "price": 2499,
    "currency": "PLN",
    "condition": "NewCondition",
    "availability": "InStock",
    "rating": 4.83,
    "reviewCount": 113,
    "description": "Laptop Lenovo V15 G4 15,6\" AMD Ryzen 5 16 GB / 512 GB czarny",
    "breadcrumb": ["Allegro", "Komputery", "Laptopy"],
    "image": "https://a.allegroimg.com/original/111a49/76af06114cf8980f1b9fd504edd4/LENOVO-V15-G4-RYZEN-5-7520U-16GB-SSD512-FHD-Win11",
    "images": ["https://a.allegroimg.com/original/111a49/76af06114cf8980f1b9fd504edd4/LENOVO-V15-G4-RYZEN-5-7520U-16GB-SSD512-FHD-Win11"],
    "shipping": [{ "label": "Allegro One Box, Allegro One (SMART!)", "price": 0, "currency": "PLN" }],
    "sellerUsername": "ogit_pl",
    "offerUrl": "https://allegro.pl/produkt/laptop-lenovo-v15-g4-15-6-amd-ryzen-5-16-gb-512-gb-czarny-880fe6be-3992-4532-97f2-8fd88c55889a?offerId=17118603300"
}
```

### Usage examples

**Compare a product's price across every country**

```json
{ "operation": "search", "countries": ["PL", "CZ", "SK", "HU"], "query": "iphone 16", "maxItems": 100 }
```

**Monitor the Polish market for a keyword**

```json
{ "operation": "search", "country": "PL", "query": "laptop", "maxItems": 200 }
```

**Batch pull full details for specific offers**

```json
{ "operation": "productDetails", "offerUrls": ["https://allegro.pl/produkt/...-?offerId=17118603300"] }
```

### Known limitations

- `sellerUsername` is confirmed accurate for Poland and Czech Republic. For Slovakia it is a best-effort guess (the two languages share the same word for "shop"); for Hungary it is not currently resolved and comes back `null`.
- A bare numeric offer id is not enough for *Product/Offer Details* - Allegro has no public way to look up an offer by id alone, so a full offer URL is required.
- `specs` on *Product Search* reflects whatever Allegro shows directly on the result card; the full spec table on the offer page itself is not currently included in *Product/Offer Details*.
- Very large result sets are capped by `maxItems`; raise it to go deeper, at proportional runtime.

### FAQ

**Do I need an Allegro account?** No.

**Which countries are supported?** Poland, Czech Republic, Slovakia and Hungary - Allegro's four real marketplaces. `allegro.com` just redirects to the Polish site and isn't a separate market.

**Can I run several countries in one call?** Yes - fill `countries` with any combination of `PL`, `CZ`, `SK`, `HU`.

**Why a residential proxy?** Allegro fronts its pages with bot protection and is sensitive to proxy IP reputation; a residential, country-matched proxy is required and on by default.

### Legal

Use this Actor for lawful purposes and in line with Allegro's Terms of Use and applicable law. It collects only publicly available listing information and no personal data. You are responsible for how you use the data you collect.

# Actor input Schema

## `operation` (type: `string`):

Which Allegro data to scrape. One operation per run.

## `country` (type: `string`):

Which Allegro marketplace to scrape. Use "Countries" below to run several in one go.

## `countries` (type: `array`):

Scrape several Allegro country marketplaces in one run. Wins over "Country" when filled.

## `query` (type: `string`):

A keyword to search Allegro for (e.g. "laptop"). Used by the Product Search operation. Defaults to a demo query if left blank.

## `queries` (type: `array`):

Many keywords in one run. Wins over "Search query" when filled. Duplicates and blanks are dropped.

## `offerUrl` (type: `string`):

A full Allegro offer URL, exactly as copied from the site (e.g. "https://allegro.pl/produkt/...-?offerId=17118603300"). Used by the Product/Offer Details operation. A bare numeric offerId is not enough - Allegro does not provide a public way to look up an offer by id alone.

## `offerUrls` (type: `array`):

Many full offer URLs in one run. Wins over "Offer URL" when filled.

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

Caps total rows across the whole run (across all selected countries). Defaults to 20 - raise it if you need more.

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

A residential, country-matched proxy is required - Allegro blocks every unproxied request outright, and this is on by default so you don't have to remember to enable it.

## Actor input object example

```json
{
  "operation": "search",
  "country": "PL",
  "query": "laptop",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "query": "laptop",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/allegro-product-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 = {
    "query": "laptop",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/allegro-product-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 '{
  "query": "laptop",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call mrdoe/allegro-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/allegro-product-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/uTNmdQn6WJelN0mK9/builds/0Vztb3YuzsbOcl2SN/openapi.json
