# Allegro Scraper (`unfenced-group/allegro-scraper`) Actor

Extract product listings from Allegro (allegro.pl, .cz, .sk) by keyword or category. Returns title, price, currency, image, rating, and delivery.

- **URL**: https://apify.com/unfenced-group/allegro-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.59 / 1,000 product results

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

## Allegro Scraper

Extract product listings from Allegro — Central Europe's largest online marketplace — across the Polish (allegro.pl), Czech (allegro.cz), and Slovak (allegro.sk) sites. Search by keyword or category and get clean, structured product data you can use straight away.

### Why this scraper?

- Covers **allegro.pl**, **allegro.cz**, and **allegro.sk**
- 20+ data fields per product, including popularity, super-seller status, and specs
- Filter by price range, free delivery, or Super Seller
- Search by keyword or browse a specific category
- Reliable access to a heavily protected site — you never deal with blocks or captchas
- Pay only for the products you successfully retrieve

### Input parameters

| Parameter | Type | Description |
|---|---|---|
| `searchQuery` | string | Keyword(s) to search for. |
| `market` | string | Marketplace: `pl`, `cz`, or `sk`. PL supports keyword search; CZ/SK require a category. |
| `category` | string | Optional category slug (e.g. `smartfony-165`). Overrides keyword browsing. |
| `maxResults` | integer | Maximum number of products to return. |
| `sortBy` | string | Result ordering: relevance, price, newest, or popularity. |
| `startUrls` | array | Optional list of specific Allegro listing URLs to scrape. |
| `minPrice` | integer | Only return products at or above this price. |
| `maxPrice` | integer | Only return products at or below this price. |
| `freeDeliveryOnly` | boolean | Only return products with free delivery. |
| `superSellerOnly` | boolean | Only return products from Super Sellers. |

### Output schema

Every product returns the following fields:

| Field | Type | Description |
|---|---|---|
| `offerId` | string \| null | Allegro offer or product identifier. |
| `offerType` | string \| null | `offer` (single seller listing) or `product` (aggregated product page). |
| `title` | string | Product title. |
| `url` | string | Direct link to the offer or product. |
| `productUrl` | string \| null | Link to the aggregated product page, when available. |
| `price` | number \| null | Numeric price. |
| `currency` | string | ISO currency code (PLN, CZK, EUR). |
| `imageUrl` | string \| null | Main product image. |
| `rating` | number \| null | Average product rating (out of 5), if shown. |
| `reviewCount` | integer \| null | Number of product reviews, if shown. |
| `delivery` | string \| null | Delivery information. |
| `seller` | string \| null | Seller or store name. |
| `superSeller` | boolean \| null | Whether the seller is an Allegro Super Seller. |
| `sellerFeedbackPercent` | number \| null | Seller's positive feedback percentage. |
| `popularity` | integer \| null | Recent purchase count (buyers in the last 30 days). |
| `offersCount` | integer \| null | Number of sellers offering this product. |
| `priceWithDelivery` | number \| null | Price including the cheapest delivery option. |
| `freeDelivery` | boolean \| null | Whether free delivery is offered. |
| `parameters` | object \| null | Product specification attributes (key-value). |
| `sponsored` | boolean | Whether the listing is a paid/promoted result. |
| `market` | string | Marketplace the product came from. |
| `source` | string | Source domain. |
| `scrapedAt` | string | ISO timestamp of extraction. |

#### Example output

```json
{
    "offerId": "15083459632",
    "offerType": "offer",
    "title": "Apple iPhone 15 Pro 128GB",
    "url": "https://allegro.pl/oferta/iphone-15-pro-128gb-15083459632",
    "productUrl": "https://allegro.pl/produkt/apple-iphone-15-pro-128gb-ea295e54",
    "price": 5499.00,
    "currency": "PLN",
    "imageUrl": "https://a.allegroimg.com/...",
    "rating": 4.84,
    "reviewCount": 318,
    "delivery": "Free delivery",
    "seller": "KrainaGSM",
    "sponsored": true,
    "market": "pl",
    "source": "allegro.pl",
    "scrapedAt": "2026-06-21T15:30:00.000Z"
}
````

### Examples

**Search Polish marketplace for a keyword**

```json
{ "searchQuery": "iphone 15", "market": "pl", "maxResults": 100 }
```

**Browse a category, cheapest first**

```json
{ "category": "smartfony-165", "market": "pl", "sortBy": "p", "maxResults": 500 }
```

**Czech marketplace keyword search**

```json
{ "searchQuery": "lego", "market": "cz", "maxResults": 200 }
```

**Scrape specific listing URLs**

```json
{ "startUrls": ["https://allegro.pl/kategoria/smartfony-165"], "maxResults": 300 }
```

### 💰 Pricing

**$4.00 per 1,000 results** — you only pay for successfully retrieved products.
Failed retries are never charged.

| Results | Cost |
|---------|------|
| 100 | ~$0.40 |
| 1,000 | ~$4.00 |
| 10,000 | ~$40.00 |
| 100,000 | ~$400.00 |

> Flat-rate alternatives typically charge $29–$49/month regardless of usage.

Use the **Max results** cap in the input to control your spend exactly.

### Performance

| Run size | Typical time |
|---|---|
| 100 products | under 1 minute |
| 1,000 products | 2–4 minutes |
| 10,000 products | 20–35 minutes |

### Known limitations

- Returns product listing data only; full product descriptions and seller pages are not retrieved.
- Category browsing requires the Allegro category slug.
- Result counts depend on what Allegro shows for a given search.

### Technical details

- **Source:** allegro.pl / allegro.cz / allegro.sk — Central European marketplace
- **Memory:** 512 MB
- **Retry:** Automatic retry on network errors, exponential backoff

***

### Need a custom scraper?

**[Unfenced Group](https://www.unfencedgroup.nl)** builds Apify actors for any website — for free.

If the site you need isn't in our portfolio yet, just ask. We scope, build, and publish it at no cost to you. You only pay for results — we absorb the compute and proxy costs ourselves. Same pay-per-result pricing, same quality, same standards as every actor in this portfolio.

**Get in touch:** [www.unfencedgroup.nl](https://www.unfencedgroup.nl)

# Actor input Schema

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

Keyword(s) to search for on Allegro.

## `market` (type: `string`):

Allegro marketplace. PL supports global keyword search; CZ and SK require a category slug (keyword then filters within it).

## `category` (type: `string`):

Category slug, e.g. smartfony-165 (PL) or telefony-a-prislusenstvi-4 (CZ). REQUIRED for CZ and SK markets; optional for PL.

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

Maximum number of products to return.

## `sortBy` (type: `string`):

Result ordering.

## `startUrls` (type: `array`):

Optional list of specific Allegro listing URLs to scrape.

## `minPrice` (type: `integer`):

Only return products at or above this price (in the market's currency).

## `maxPrice` (type: `integer`):

Only return products at or below this price.

## `freeDeliveryOnly` (type: `boolean`):

Only return products offering free delivery.

## `superSellerOnly` (type: `boolean`):

Only return products sold by Allegro Super Sellers.

## Actor input object example

```json
{
  "searchQuery": "laptop",
  "market": "pl",
  "category": "",
  "maxResults": 5,
  "sortBy": "relevance",
  "startUrls": [],
  "freeDeliveryOnly": false,
  "superSellerOnly": false
}
```

# 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": "laptop"
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/allegro-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": "laptop" }

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/allegro-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": "laptop"
}' |
apify call unfenced-group/allegro-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Allegro Scraper",
        "description": "Extract product listings from Allegro (allegro.pl, .cz, .sk) by keyword or category. Returns title, price, currency, image, rating, and delivery.",
        "version": "0.0",
        "x-build-id": "nLOme3yzITseRSw1B"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/unfenced-group~allegro-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-unfenced-group-allegro-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/unfenced-group~allegro-scraper/runs": {
            "post": {
                "operationId": "runs-sync-unfenced-group-allegro-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/unfenced-group~allegro-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-unfenced-group-allegro-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": "Keyword(s) to search for on Allegro.",
                        "default": ""
                    },
                    "market": {
                        "title": "Marketplace",
                        "enum": [
                            "pl",
                            "cz",
                            "sk"
                        ],
                        "type": "string",
                        "description": "Allegro marketplace. PL supports global keyword search; CZ and SK require a category slug (keyword then filters within it).",
                        "default": "pl"
                    },
                    "category": {
                        "title": "Category slug",
                        "type": "string",
                        "description": "Category slug, e.g. smartfony-165 (PL) or telefony-a-prislusenstvi-4 (CZ). REQUIRED for CZ and SK markets; optional for PL.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of products to return.",
                        "default": 5
                    },
                    "sortBy": {
                        "title": "Sort order",
                        "enum": [
                            "relevance",
                            "p",
                            "pd",
                            "qd",
                            "m"
                        ],
                        "type": "string",
                        "description": "Result ordering.",
                        "default": "relevance"
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Optional list of specific Allegro listing URLs to scrape.",
                        "default": [],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "minPrice": {
                        "title": "Minimum price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products at or above this price (in the market's currency)."
                    },
                    "maxPrice": {
                        "title": "Maximum price",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return products at or below this price."
                    },
                    "freeDeliveryOnly": {
                        "title": "Free delivery only",
                        "type": "boolean",
                        "description": "Only return products offering free delivery.",
                        "default": false
                    },
                    "superSellerOnly": {
                        "title": "Super Seller only",
                        "type": "boolean",
                        "description": "Only return products sold by Allegro Super Sellers.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
